Skip to content

Commit

Permalink
Test on Python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
domdfcoding committed Oct 20, 2023
1 parent 6da3e64 commit c268f4d
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 18 deletions.
9 changes: 5 additions & 4 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'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -34,10 +34,11 @@ jobs:
- {python-version: "3.9", testenvs: "py39-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.10", testenvs: "py310-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.11", testenvs: "py311-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7,8.0,8.1},build", experimental: True}
- {python-version: "3.12", testenvs: "py312-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.13.0-rc.1", testenvs: "py313-dev-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7,8.0}", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7,8.0,8.1},build", experimental: True}

steps:
Expand Down
9 changes: 5 additions & 4 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'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-rc.1,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -35,10 +35,11 @@ jobs:
- {python-version: "3.9", testenvs: "py39-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.10", testenvs: "py310-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.11", testenvs: "py311-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7,8.0,8.1},build", experimental: True}
- {python-version: "3.12", testenvs: "py312-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.13.0-rc.1", testenvs: "py313-dev-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7,8.0},build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7,8.0,8.1},build", experimental: True}

steps:
Expand Down
9 changes: 5 additions & 4 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'
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9'

strategy:
fail-fast: False
Expand All @@ -34,9 +34,10 @@ jobs:
- {python-version: "3.9", testenvs: "py39-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.10", testenvs: "py310-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.11", testenvs: "py311-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: True}
- {python-version: "3.12", testenvs: "py312-click{7,8.0,8.1},build", experimental: False}
- {python-version: "3.13.0-rc.1", testenvs: "py313-dev-click{7,8.0,8.1},build", experimental: True}
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7,8.0,8.1},build", experimental: False}
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7,8.0,8.1},build", experimental: False}
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7,8.0,8.1},build", experimental: True}

steps:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ base-classifiers = [
"Intended Audience :: Developers",
"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
3 changes: 2 additions & 1 deletion repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ python_versions:
'3.9':
'3.10':
'3.11':
3.12-dev:
'3.12':
3.13-dev:
pypy36:
matrix_exclude:
click:
Expand Down
22 changes: 18 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
# * envlists
# * testenv
# * testenv:.package
# * testenv:py313-dev
# * testenv:py312-dev
# * testenv:py312
# * testenv:docs
# * testenv:build
# * testenv:lint
Expand All @@ -26,7 +28,8 @@ envlist =
py39-click{7,8.0,8.1}
py310-click{7,8.0,8.1}
py311-click{7,8.0,8.1}
py312-dev-click{7,8.0,8.1}
py312-click{7,8.0,8.1}
py313-dev-click{7,8.0,8.1}
pypy36-click{7,8.0}
pypy37-click{7,8.0,8.1}
pypy38-click{7,8.0,8.1}
Expand All @@ -49,7 +52,8 @@ test =
py39-click{7,8.0,8.1}
py310-click{7,8.0,8.1}
py311-click{7,8.0,8.1}
py312-dev-click{7,8.0,8.1}
py312-click{7,8.0,8.1}
py313-dev-click{7,8.0,8.1}
pypy36-click{7,8.0}
pypy37-click{7,8.0,8.1}
pypy38-click{7,8.0,8.1}
Expand All @@ -76,7 +80,12 @@ setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

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

[testenv:py312]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
Expand Down Expand Up @@ -237,7 +246,12 @@ filterwarnings =
ignore:lib2to3 package is deprecated and may not be able to parse Python 3.10+:PendingDeprecationWarning
always:ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead:DeprecationWarning
[testenv:py312-dev-click{7,8.0,8.1}]
[testenv:py312-click{7,8.0,8.1}]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1
[testenv:py313-dev-click{7,8.0,8.1}]
setenv =
PYTHONDEVMODE=1
PIP_DISABLE_PIP_VERSION_CHECK=1

0 comments on commit c268f4d

Please sign in to comment.