diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4137b01..da9bd20 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: jobs: lint: - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 strategy: matrix: python-version: [3.7] @@ -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 @@ -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] @@ -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 diff --git a/setup.py b/setup.py index ad4d205..245c044 100644 --- a/setup.py +++ b/setup.py @@ -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="daniel@preset.io",