From b1cf0ce547160d8b8e7ea3410b3151fa11d0e25c Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 26 Oct 2023 12:50:42 -0400 Subject: [PATCH 1/2] chore: test and use 3.12 as host Signed-off-by: Henry Schreiner --- .github/workflows/test.yml | 2 +- .pre-commit-config.yaml | 6 +++--- action.yml | 2 +- setup.cfg | 1 + 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6609baf8e..bf23cfcde 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,7 +39,7 @@ jobs: strategy: matrix: os: [ubuntu-20.04, windows-latest, macos-11] - python_version: ['3.11'] + python_version: ['3.12'] include: - os: ubuntu-22.04 python_version: '3.8' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1cf49e178..368be92fe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: rev: v2.5.0 hooks: - id: setup-cfg-fmt - args: [--include-version-classifiers, --min-py-version=3.8, --max-py-version=3.11] + args: [--include-version-classifiers, --min-py-version=3.8, --max-py-version=3.12] - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.6.1 @@ -52,9 +52,9 @@ repos: - types-requests - validate-pyproject - id: mypy - name: mypy 3.11 + name: mypy 3.12 exclude: ^cibuildwheel/resources/.*py$ - args: ["--python-version=3.11"] + args: ["--python-version=3.12"] additional_dependencies: *mypy-dependencies - repo: https://github.com/shellcheck-py/shellcheck-py diff --git a/action.yml b/action.yml index cbf301548..00534f328 100644 --- a/action.yml +++ b/action.yml @@ -28,7 +28,7 @@ runs: - uses: actions/setup-python@v4 id: python with: - python-version: "3.8 - 3.11" + python-version: "3.8 - 3.12" update-environment: false # Redirecting stderr to stdout to fix interleaving issue in Actions. diff --git a/setup.cfg b/setup.cfg index 33fff0f0e..fd6a91d35 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,6 +20,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Build Tools keywords = ci,wheel,packaging,pypi,travis,appveyor,macos,linux,windows From a8963a5cb952fb95f9cd891caa77d010436d11c8 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 26 Oct 2023 22:01:12 -0400 Subject: [PATCH 2/2] chore: address feedback Signed-off-by: Henry Schreiner --- .github/workflows/update-dependencies.yml | 4 ++-- CI.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 0461bca9a..cad08a009 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -18,13 +18,13 @@ jobs: update-dependencies: name: Update dependencies if: github.repository_owner == 'pypa' || github.event_name != 'schedule' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: wntrblm/nox@2023.04.22 with: - python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12-dev" + python-versions: "3.7, 3.8, 3.9, 3.10, 3.11, 3.12" - name: "Run update: dependencies" run: nox --force-color -s update_constraints diff --git a/CI.md b/CI.md index 596a70b7d..846d39302 100644 --- a/CI.md +++ b/CI.md @@ -1,6 +1,6 @@ -This is a summary of the Python versions and platforms covered by the different CI platforms: +This is a summary of the host Python versions and platforms covered by the different CI platforms: -| | 3.8 | 3.9 | 3.10 | 3.11 | +| | 3.8 | 3.9 | 3.10 | 3.12 | |---------|--------------------------------------------------------|-----------------------|-----------|----------------| | Linux | AppVeyor¹ / Azure Pipelines / GitLab¹ / GitHub Actions | CircleCI¹ / Travis CI | Cirrus CI | GitHub Actions | | macOS | AppVeyor¹ / Azure Pipelines | CircleCI¹ / Travis CI | Cirrus CI | GitHub Actions |