From 1039313d064b987cb251d5c877d20393d132ebd7 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Wed, 29 May 2024 10:02:18 +0200 Subject: [PATCH 1/6] drop support for Python 3.7 and 3.8 --- .github/workflows/test.yml | 2 -- pyproject.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 998b118..a7ce935 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,8 +23,6 @@ jobs: strategy: matrix: python-version: - - "3.7" - - "3.8" - "3.9" - "3.10" - "3.11" diff --git a/pyproject.toml b/pyproject.toml index ba0e7da..ce06d63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ jwkconv = "cryptojwt.tools.keyconv:main" jwtpeek = "cryptojwt.tools.jwtpeek:main" [tool.poetry.dependencies] -python = "^3.7" +python = "^3.9" cryptography = ">=3.4.6" requests = "^2.25.1" From d15a71cf11295699b084058e6ce2a1a37a59ecba Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Wed, 29 May 2024 10:03:31 +0200 Subject: [PATCH 2/6] upgrade pytest --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ce06d63..cf330fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ requests = "^2.25.1" alabaster = "^0.7.12" black = "^22" isort = "^5.6.4" -pytest = "^6.1.2" +pytest = "^8.2.1" pytest-black = "^0.3.12" pytest-isort = "^1.2.0" pytest-cov = "^4.0.0" From ba847c37662901c1511599877de90f2f03cf5e14 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Wed, 29 May 2024 10:13:08 +0200 Subject: [PATCH 3/6] bump --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cf330fd..c296810 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,11 +44,11 @@ requests = "^2.25.1" [tool.poetry.dev-dependencies] alabaster = "^0.7.12" -black = "^22" -isort = "^5.6.4" +black = "^24.4.2" +isort = "^5.13.2" pytest = "^8.2.1" pytest-black = "^0.3.12" -pytest-isort = "^1.2.0" +pytest-isort = "^4.0.0" pytest-cov = "^4.0.0" responses = "^0.13.0" sphinx = "^3.5.2" From 2c879c3e14cd78579fa314f1305f628d536c7b80 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Wed, 29 May 2024 10:17:18 +0200 Subject: [PATCH 4/6] bump actions --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c38ea66..3a68d4c 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,7 +35,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ce010c..4fbec44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,8 +9,8 @@ jobs: name: Build with Poetry and Publish to PyPI runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v4 - name: Install and configure Poetry run: | pip install poetry diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7ce935..7ba4551 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,9 +28,9 @@ jobs: - "3.11" - "3.12" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install and configure Poetry From 20e4cdda77cf4fc0e43418be0a25116c9bb2baf7 Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Wed, 29 May 2024 10:21:40 +0200 Subject: [PATCH 5/6] bump --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3a68d4c..c428cf8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -50,7 +50,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -64,4 +64,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 From d4a778d17ccc4494fa00cd229ce0baef00ee153c Mon Sep 17 00:00:00 2001 From: Jakob Schlyter Date: Wed, 29 May 2024 10:35:04 +0200 Subject: [PATCH 6/6] bump actions/setup-python --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fbec44..5f1d1d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 - name: Install and configure Poetry run: | pip install poetry diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ba4551..b7ba021 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install and configure Poetry