diff --git a/.github/workflows/tests-skip.yml b/.github/workflows/tests-skip.yml index 9941e0b..1328630 100644 --- a/.github/workflows/tests-skip.yml +++ b/.github/workflows/tests-skip.yml @@ -40,6 +40,7 @@ jobs: strategy: matrix: # Tests must be run on all target platforms and Python versions + # Python <3.8 is not supported in the MacOS 14 runner. os: - "ubuntu-latest" - "macos-13" @@ -48,6 +49,13 @@ jobs: - "3.7" - "3.8" - "3.9" + # Python 3.7 is not supported in the Ubuntu 24.04 runner + exclude: + - os: "ubuntu-latest" + python-version: "3.7" + include: + - os: "ubuntu-22.04" + python-version: "3.7" # Do not cancel in-progress jobs if any matrix job fails fail-fast: false runs-on: "${{ matrix.os }}" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9829ea6..0c19b13 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,6 +35,13 @@ jobs: - "3.7" - "3.8" - "3.9" + # Python 3.7 is not supported in the Ubuntu 24.04 runner + exclude: + - os: "ubuntu-latest" + python-version: "3.7" + include: + - os: "ubuntu-22.04" + python-version: "3.7" # Do not cancel in-progress jobs if any matrix job fails fail-fast: false runs-on: "${{ matrix.os }}" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6b4f6a0..3987822 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -108,7 +108,7 @@ repos: - id: "check-pre-commit-ci-config" - repo: "https://github.com/python-jsonschema/check-jsonschema" - rev: "0.29.4" + rev: "0.31.2" hooks: # Validate Dependabot Config (v2) against the schema provided by # SchemaStore. @@ -145,6 +145,8 @@ repos: - id: "rst-inline-touching-normal" - repo: "https://github.com/PyCQA/isort" + # Stay at isort version 5, because isort drops support for Python + # 3.8 in version 6. Latest 5 version is 5.13.2. rev: "5.13.2" hooks: # Sort import statements with isort @@ -176,7 +178,7 @@ repos: - "--color" - repo: "https://github.com/PyCQA/flake8" - rev: "7.1.1" + rev: "7.1.2" hooks: # Lint Python code with Flake8. - id: "flake8" @@ -195,7 +197,7 @@ repos: - "pep8-naming >=0.1, <1.0" - repo: "https://github.com/PyCQA/bandit" - rev: "1.7.10" + rev: "1.8.3" hooks: # Check code security with bandit. - id: "bandit"