diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index c38ea66..c428cf8 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -35,11 +35,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # 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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6ce010c..5f1d1d2 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@v5 - name: Install and configure Poetry run: | pip install poetry diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 998b118..b7ba021 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,16 +23,14 @@ jobs: strategy: matrix: python-version: - - "3.7" - - "3.8" - "3.9" - "3.10" - "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@v5 with: python-version: ${{ matrix.python-version }} - name: Install and configure Poetry diff --git a/pyproject.toml b/pyproject.toml index ba0e7da..c296810 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,17 +38,17 @@ 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" [tool.poetry.dev-dependencies] alabaster = "^0.7.12" -black = "^22" -isort = "^5.6.4" -pytest = "^6.1.2" +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"