Skip to content

Commit 095ab1b

Browse files
committed
Test on newer Python versions
1 parent b485170 commit 095ab1b

File tree

6 files changed

+40
-17
lines changed

6 files changed

+40
-17
lines changed

.github/workflows/python_ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,9 +33,10 @@ jobs:
3333
- {python-version: "3.9", testenvs: "py39-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
3535
- {python-version: "3.11", testenvs: "py311-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
36-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
37-
- {python-version: "pypy-3.7", testenvs: "pypy37-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
38-
- {python-version: "pypy-3.8", testenvs: "pypy38-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
36+
- {python-version: "3.12", testenvs: "py312-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
37+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
38+
- {python-version: "pypy-3.7", testenvs: "pypy37-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
3940
- {python-version: "pypy-3.9", testenvs: "pypy39-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
4041

4142
steps:

.github/workflows/python_ci_linux.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1,pypy-3.7,pypy-3.8,pypy-3.9'
2727

2828
strategy:
2929
fail-fast: False
@@ -34,9 +34,10 @@ jobs:
3434
- {python-version: "3.9", testenvs: "py39-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
3535
- {python-version: "3.10", testenvs: "py310-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
37-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
38-
- {python-version: "pypy-3.7", testenvs: "pypy37-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
39-
- {python-version: "pypy-3.8", testenvs: "pypy38-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
37+
- {python-version: "3.12", testenvs: "py312-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
38+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
39+
- {python-version: "pypy-3.7", testenvs: "pypy37-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
40+
- {python-version: "pypy-3.8", testenvs: "pypy38-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
4041
- {python-version: "pypy-3.9", testenvs: "pypy39-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
4142

4243
steps:

.github/workflows/python_ci_macos.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: "macos-latest"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12.0-rc.1,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.1,pypy-3.7,pypy-3.8,pypy-3.9'
2626

2727
strategy:
2828
fail-fast: False
@@ -33,9 +33,10 @@ jobs:
3333
- {python-version: "3.9", testenvs: "py39-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
3434
- {python-version: "3.10", testenvs: "py310-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
3535
- {python-version: "3.11", testenvs: "py311-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
36-
- {python-version: "3.12.0-rc.1", testenvs: "py312-dev-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
37-
- {python-version: "pypy-3.7", testenvs: "pypy37-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
38-
- {python-version: "pypy-3.8", testenvs: "pypy38-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
36+
- {python-version: "3.12", testenvs: "py312-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
37+
- {python-version: "3.13.0-alpha.1", testenvs: "py313-dev-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
38+
- {python-version: "pypy-3.7", testenvs: "pypy37-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
39+
- {python-version: "pypy-3.8", testenvs: "pypy38-jinja2{3.1,3.0,2.11,2.10},build", experimental: False}
3940
- {python-version: "pypy-3.9", testenvs: "pypy39-jinja2{3.1,3.0,2.11,2.10},build", experimental: True}
4041

4142
steps:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ base-classifiers = [
3636
"Topic :: Documentation :: Sphinx",
3737
"Topic :: Software Development :: Documentation",
3838
]
39-
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11",]
39+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
4040
python-implementations = [ "CPython", "PyPy",]
4141
platforms = [ "Windows", "macOS", "Linux",]
4242
license-key = "MIT"

repo_helper.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ python_versions:
2626
- 3.9
2727
- "3.10"
2828
- "3.11"
29-
- 3.12-dev
29+
- "3.12"
30+
- 3.13-dev
3031
- pypy37
3132
- pypy38
3233
- pypy39

tox.ini

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# * tox
44
# * envlists
55
# * testenv:.package
6+
# * testenv:py313-dev
67
# * testenv:py312-dev
8+
# * testenv:py312
79
# * testenv:docs
810
# * testenv:build
911
# * testenv:lint
@@ -20,7 +22,8 @@ envlist =
2022
py39-jinja2{3.1,3.0,2.11,2.10}
2123
py310-jinja2{3.1,3.0,2.11,2.10}
2224
py311-jinja2{3.1,3.0,2.11,2.10}
23-
py312-dev-jinja2{3.1,3.0,2.11,2.10}
25+
py312-jinja2{3.1,3.0,2.11,2.10}
26+
py313-dev-jinja2{3.1,3.0,2.11,2.10}
2427
pypy37-jinja2{3.1,3.0,2.11,2.10}
2528
pypy38-jinja2{3.1,3.0,2.11,2.10}
2629
pypy39-jinja2{3.1,3.0,2.11,2.10}
@@ -41,7 +44,8 @@ test =
4144
py39-jinja2{3.1,3.0,2.11,2.10}
4245
py310-jinja2{3.1,3.0,2.11,2.10}
4346
py311-jinja2{3.1,3.0,2.11,2.10}
44-
py312-dev-jinja2{3.1,3.0,2.11,2.10}
47+
py312-jinja2{3.1,3.0,2.11,2.10}
48+
py313-dev-jinja2{3.1,3.0,2.11,2.10}
4549
pypy37-jinja2{3.1,3.0,2.11,2.10}
4650
pypy38-jinja2{3.1,3.0,2.11,2.10}
4751
pypy39-jinja2{3.1,3.0,2.11,2.10}
@@ -52,7 +56,12 @@ setenv =
5256
PYTHONDEVMODE=1
5357
PIP_DISABLE_PIP_VERSION_CHECK=1
5458

55-
[testenv:py312-dev]
59+
[testenv:py313-dev]
60+
setenv =
61+
PYTHONDEVMODE=1
62+
PIP_DISABLE_PIP_VERSION_CHECK=1
63+
64+
[testenv:py312]
5665
setenv =
5766
PYTHONDEVMODE=1
5867
PIP_DISABLE_PIP_VERSION_CHECK=1
@@ -153,6 +162,16 @@ unused-arguments-ignore-overload-functions = True
153162
unused-arguments-ignore-magic-methods = True
154163
unused-arguments-ignore-variadic-names = True
155164
165+
[testenv:py312-jinja2{3.1,3.0,2.11,2.10}]
166+
setenv =
167+
PYTHONDEVMODE=1
168+
PIP_DISABLE_PIP_VERSION_CHECK=1
169+
170+
[testenv:py313-dev-jinja2{3.1,3.0,2.11,2.10}]
171+
setenv =
172+
PYTHONDEVMODE=1
173+
PIP_DISABLE_PIP_VERSION_CHECK=1
174+
156175
[testenv:py312-dev-jinja2{3.1,3.0,2.11,2.10}]
157176
setenv =
158177
PYTHONDEVMODE=1

0 commit comments

Comments
 (0)