Skip to content

Commit 38a692a

Browse files
authored
fix: relax packaging dependency (#109)
* fix: relax packaging dependency * fix CI * fix CI * fix CI
1 parent 0bce440 commit 38a692a

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
1111
lint:
12-
runs-on: ubuntu-18.04
12+
runs-on: ubuntu-22.04
1313
strategy:
1414
matrix:
1515
python-version: [3.7]
@@ -22,8 +22,6 @@ jobs:
2222
python-version: ${{ matrix.python-version }}
2323
- name: Install dependencies
2424
run: |
25-
sudo apt-get update
26-
sudo apt-get install -y python-dev
2725
pip install --upgrade pip
2826
pip install -r requirements.txt
2927
pip install -r requirements-dev.txt
@@ -35,7 +33,7 @@ jobs:
3533
run: mypy es
3634

3735
tests:
38-
runs-on: ubuntu-18.04
36+
runs-on: ubuntu-22.04
3937
strategy:
4038
matrix:
4139
python-version: [3.7, 3.8, 3.9]
@@ -79,8 +77,6 @@ jobs:
7977
python-version: ${{ matrix.python-version }}
8078
- name: Install dependencies
8179
run: |
82-
sudo apt-get update
83-
sudo apt-get install -y python-dev
8480
pip install --upgrade pip
8581
pip install -r requirements.txt
8682
pip install -r requirements-dev.txt

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"odelasticsearch.https = es.opendistro.sqlalchemy:ESHTTPSDialect",
2929
]
3030
},
31-
install_requires=["elasticsearch>7, <7.14", "packaging>=21.0, <22.0", "sqlalchemy"],
31+
install_requires=["elasticsearch>7, <7.14", "packaging>=21.0", "sqlalchemy"],
3232
extras_require={"opendistro": ["requests_aws4auth", "boto3"]},
3333
author="Preset Inc.",
3434
author_email="[email protected]",

0 commit comments

Comments
 (0)