From b1854ccaf9cd62ca94e0aedafe3f2dbdc004c071 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yannick=20P=C3=89ROUX?= Date: Wed, 18 Sep 2024 01:15:35 +0200 Subject: [PATCH 1/2] Update PyJWT & loosen dependency contraint (#477) * Update PyJWT to 2.9.0 * Loosen dependency constraint for PyJWT --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 884e1d0..656f3b2 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ backoff==2.2.1 cryptography==42.0.7 flake8==3.7.9 mock==2.0.0 -PyJWT==2.8.0 +PyJWT==2.9.0 pylint==2.8.0 python-dateutil==2.8.2 requests==2.31.0 diff --git a/setup.py b/setup.py index 2cec9ff..4bfdd97 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ "requests~=2.7", "backoff~=2.1", "python-dateutil~=2.2", - "PyJWT~=2.8.0" + "PyJWT~=2.8" ] tests_require = [ From e0452976aec9bc5535cb008e33c974e9bad0760a Mon Sep 17 00:00:00 2001 From: "Shane L. Duvall" Date: Wed, 18 Sep 2024 12:21:30 -0500 Subject: [PATCH 2/2] Clean up dependabot test failures (#482) * Clean up dependabot test failures * Remove python 3.7 test due to EOL --- .github/workflows/main.yml | 2 +- .github/workflows/tests.yml | 9 --------- requirements.txt | 8 ++++---- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a17f888..3fb68af 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: - name: Install Python 3 uses: actions/setup-python@v3 with: - python-version: 3.7 + python-version: 3.8 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 257b707..792a220 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,15 +19,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Run with setup-python 3.7 - uses: actions/setup-python@v5 - with: - python-version: '3.7' - - name: Setup required modules - run: python -m pip install -r requirements.txt - - name: Run tests - run: python -m unittest discover -s segment - - name: Run with setup-python 3.8 uses: actions/setup-python@v5 with: diff --git a/requirements.txt b/requirements.txt index 656f3b2..18c9d17 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,8 @@ backoff==2.2.1 -cryptography==42.0.7 -flake8==3.7.9 +cryptography==43.0.1 +flake8==7.1.1 mock==2.0.0 +pylint==3.2.7 PyJWT==2.9.0 -pylint==2.8.0 python-dateutil==2.8.2 -requests==2.31.0 +requests==2.32.3