chore: test and use 3.12 as host (#1650)
* 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>
This commit is contained in:
@@ -39,7 +39,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-20.04, windows-latest, macos-11]
|
os: [ubuntu-20.04, windows-latest, macos-11]
|
||||||
python_version: ['3.11']
|
python_version: ['3.12']
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-22.04
|
- os: ubuntu-22.04
|
||||||
python_version: '3.8'
|
python_version: '3.8'
|
||||||
|
|||||||
@@ -18,13 +18,13 @@ jobs:
|
|||||||
update-dependencies:
|
update-dependencies:
|
||||||
name: Update dependencies
|
name: Update dependencies
|
||||||
if: github.repository_owner == 'pypa' || github.event_name != 'schedule'
|
if: github.repository_owner == 'pypa' || github.event_name != 'schedule'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: wntrblm/nox@2023.04.22
|
- uses: wntrblm/nox@2023.04.22
|
||||||
with:
|
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"
|
- name: "Run update: dependencies"
|
||||||
run: nox --force-color -s update_constraints
|
run: nox --force-color -s update_constraints
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ repos:
|
|||||||
rev: v2.5.0
|
rev: v2.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: setup-cfg-fmt
|
- 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
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v1.6.1
|
rev: v1.6.1
|
||||||
@@ -48,9 +48,9 @@ repos:
|
|||||||
- types-requests
|
- types-requests
|
||||||
- validate-pyproject
|
- validate-pyproject
|
||||||
- id: mypy
|
- id: mypy
|
||||||
name: mypy 3.11
|
name: mypy 3.12
|
||||||
exclude: ^cibuildwheel/resources/.*py$
|
exclude: ^cibuildwheel/resources/.*py$
|
||||||
args: ["--python-version=3.11"]
|
args: ["--python-version=3.12"]
|
||||||
additional_dependencies: *mypy-dependencies
|
additional_dependencies: *mypy-dependencies
|
||||||
|
|
||||||
- repo: https://github.com/shellcheck-py/shellcheck-py
|
- repo: https://github.com/shellcheck-py/shellcheck-py
|
||||||
|
|||||||
@@ -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 |
|
| 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 |
|
| macOS | AppVeyor¹ / Azure Pipelines | CircleCI¹ / Travis CI | Cirrus CI | GitHub Actions |
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ runs:
|
|||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
id: python
|
id: python
|
||||||
with:
|
with:
|
||||||
python-version: "3.8 - 3.11"
|
python-version: "3.8 - 3.12"
|
||||||
update-environment: false
|
update-environment: false
|
||||||
|
|
||||||
# Redirecting stderr to stdout to fix interleaving issue in Actions.
|
# Redirecting stderr to stdout to fix interleaving issue in Actions.
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ classifiers =
|
|||||||
Programming Language :: Python :: 3.9
|
Programming Language :: Python :: 3.9
|
||||||
Programming Language :: Python :: 3.10
|
Programming Language :: Python :: 3.10
|
||||||
Programming Language :: Python :: 3.11
|
Programming Language :: Python :: 3.11
|
||||||
|
Programming Language :: Python :: 3.12
|
||||||
Programming Language :: Python :: Implementation :: CPython
|
Programming Language :: Python :: Implementation :: CPython
|
||||||
Topic :: Software Development :: Build Tools
|
Topic :: Software Development :: Build Tools
|
||||||
keywords = ci,wheel,packaging,pypi,travis,appveyor,macos,linux,windows
|
keywords = ci,wheel,packaging,pypi,travis,appveyor,macos,linux,windows
|
||||||
|
|||||||
Reference in New Issue
Block a user