8000 Test on Python 3.13 · domdfcoding/domdf_python_tools@e3b2529 · GitHub
[go: up one dir, main page]

Skip to content

Commit e3b2529

Browse files
committed
Test on Python 3.13
1 parent 87671cf commit e3b2529

File tree

5 files changed

+16
-6
lines changed

5 files changed

+16
-6
lines changed

.github/workflows/python_ci.yml

Lines changed: 2 additions & 1 deletion
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.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'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
2626

2727
strategy:
2828
fail-fast: False
@@ -35,6 +35,7 @@ jobs:
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3737
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38+
- {python-version: "3.13.0-alpha.2", testenvs: "py313-dev,build", experimental: True}
3839
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
3940
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4041
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 1 deletion
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.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'
26+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.2,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
2727

2828
strategy:
2929
fail-fast: False
@@ -36,6 +36,7 @@ jobs:
3636
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3737
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3838
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
39+
- {python-version: "3.13.0-alpha.2", testenvs: "py313-dev,build", experimental: True}
3940
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
4041
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4142
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 1 deletion
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.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'
25+
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13.0-alpha.2,pypy-3.7,pypy-3.8,pypy-3.9,pypy-3.10'
2626

2727
strategy:
2828
fail-fast: False
@@ -35,6 +35,7 @@ jobs:
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3737
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38+
- {python-version: "3.13.0-alpha.2", testenvs: "py313-dev,build", experimental: True}
3839
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
3940
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4041
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}

repo_helper.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ python_versions:
2626
"3.10":
2727
"3.11":
2828
"3.12":
29-
# "3.13-dev":
30-
# experimental: true
29+
"3.13-dev":
3130
pypy36:
3231
pypy37:
3332
pypy38:

tox.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ envlist =
2828
py310
2929
py311
3030
py312
31+
py313-dev
3132
pypy36
3233
pypy37
3334
pypy38
@@ -52,6 +53,7 @@ test =
5253
py310
5354
py311
5455
py312
56+
py313-dev
5557
pypy36
5658
pypy37
5759
pypy38
@@ -65,6 +67,11 @@ setenv =
6567
PYTHONDEVMODE=1
6668
PIP_DISABLE_PIP_VERSION_CHECK=1
6769

70+
[testenv:py313-dev]
71+
setenv =
72+
PYTHONDEVMODE=1
73+
PIP_DISABLE_PIP_VERSION_CHECK=1
74+
6875
[testenv:py312]
6976
setenv =
7077
PYTHONDEVMODE=1
@@ -89,7 +96,8 @@ changedir = {toxinidir}
8996
deps =
9097
build[virtualenv]>=0.3.1
9198
check-wheel-contents>=0.1.0
92-
twine>=3.2.0
99+
twine>=3.2.0; python_version < "3.13"
100+
twine@git+https://github.com/pypa/twine; python_version >= "3.13"
93101
cryptography<40; implementation_name == "pypy" and python_version <= "3.7"
94102
commands =
95103
python -m build --sdist --wheel "{toxinidir}"

0 commit comments

Comments
 (0)
0