Skip to content

Commit

Permalink
fix: relax packaging dependency (#109)
Browse files Browse the repository at this point in the history
* fix: relax packaging dependency

* fix CI

* fix CI

* fix CI
  • Loading branch information
dpgaspar authored Jan 26, 2024
1 parent 0bce440 commit 38a692a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
lint:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.7]
Expand All @@ -22,8 +22,6 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y python-dev
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
Expand All @@ -35,7 +33,7 @@ jobs:
run: mypy es

tests:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
Expand Down Expand Up @@ -79,8 +77,6 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y python-dev
pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements-dev.txt
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"odelasticsearch.https = es.opendistro.sqlalchemy:ESHTTPSDialect",
]
},
install_requires=["elasticsearch>7, <7.14", "packaging>=21.0, <22.0", "sqlalchemy"],
install_requires=["elasticsearch>7, <7.14", "packaging>=21.0", "sqlalchemy"],
extras_require={"opendistro": ["requests_aws4auth", "boto3"]},
author="Preset Inc.",
author_email="[email protected]",
Expand Down

0 comments on commit 38a692a

Please sign in to comment.