From c9b9969cc2732cc043fd620ca94e6fb7cebc7d05 Mon Sep 17 00:00:00 2001 From: Chris Tran Date: Mon, 2 Dec 2024 22:09:15 +0000 Subject: [PATCH] ci: update workflows to use our minimum supported version, python 3.7 --- .github/workflows/on-pull-request.yml | 2 +- .github/workflows/release.yml | 2 +- setup.py | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index 0c65cc8..9ba57dd 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -36,7 +36,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.7" - name: Install dependencies run: pip install -e .[dev] - name: Test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f902aa..e3662ca 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-python@v5 with: - python-version: "3.x" + python-version: "3.7" if: ${{ steps.release.outputs.release_created }} - name: Install dependencies if: ${{ steps.release.outputs.release_created }} diff --git a/setup.py b/setup.py index 1519e96..4148ccd 100644 --- a/setup.py +++ b/setup.py @@ -42,10 +42,10 @@ "passageidentity.openapi_client.models": "passageidentity/openapi_client/models", }, install_requires=[ - "cryptography >= 44.0.0", # used by pyjwt - "importlib-metadata >= 8.5.0", # required for python < 3.8 - "pydantic >= 2.10.2", # used by codgen - "pyjwt >= 2.10.1", + "cryptography >= 44.0.0", # used by pyjwt + "importlib-metadata >= 6.7.0", # required for python < 3.8 + "pydantic >= 2.5.3", # used by codgen + "pyjwt >= 2.8.0", "requests >= 2.32.3", ], extras_require={