Skip to content

Commit

Permalink
Test on Python 3.12 final
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Oct 20, 2023
1 parent e735a45 commit 35ee049
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'

strategy:
fail-fast: False
Expand All @@ -34,7 +34,7 @@ jobs:
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'

strategy:
fail-fast: False
Expand All @@ -35,7 +35,7 @@ jobs:
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: "macos-latest"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'

strategy:
fail-fast: False
Expand All @@ -34,7 +34,7 @@ jobs:
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev,build", experimental: True}
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,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",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down Expand Up @@ -144,7 +145,7 @@ base-classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11",]
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
python-implementations = [ "CPython", "PyPy",]
platforms = [ "Windows", "macOS", "Linux",]
license-key = "MIT"
Expand Down
5 changes: 3 additions & 2 deletions repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ python_versions:
3.9:
"3.10":
"3.11":
"3.12-dev":
experimental: true
"3.12":
# "3.13-dev":
# experimental: true
pypy36:
pypy37:
pypy38:
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,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
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Libraries :: Python Modules
Expand Down
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
# * tox
# * envlists
# * testenv:.package
# * testenv:py313-dev
# * testenv:py312-dev
# * testenv:py312
# * testenv:docs
# * testenv:build
# * testenv:lint
Expand All @@ -25,7 +27,7 @@ envlist =
py39
py310
py311
py312-dev
py312
pypy36
pypy37
pypy38
Expand All @@ -49,7 +51,7 @@ test =
py39
py310
py311
py312-dev
py312
pypy36
pypy37
pypy38
Expand All @@ -63,7 +65,7 @@ setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

[testenv:py312-dev]
[testenv:py312]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
Expand Down

0 comments on commit 35ee049

Please sign in to comment.