Skip to content

Commit

Permalink
chore: test and use 3.12 as host (#1650)
Browse files Browse the repository at this point in the history
* chore: test and use 3.12 as host

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

* chore: address feedback

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>

---------

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii authored Oct 27, 2023
1 parent 4586062 commit 89d5bd5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,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
Expand All @@ -48,9 +48,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
Expand Down
4 changes: 2 additions & 2 deletions CI.md
Original file line number Diff line number Diff line change
@@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 89d5bd5

Please sign in to comment.