Skip to content

Commit 89dc16b

Browse files
authored
Declare 3.14 support (#2970)
1 parent 81d5187 commit 89dc16b

File tree

6 files changed

+19
-11
lines changed

6 files changed

+19
-11
lines changed

.github/workflows/check.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
py:
24+
- "3.14t"
25+
- "3.14"
2426
- "3.13t"
2527
- "3.13"
2628
- "3.12"
@@ -56,14 +58,14 @@ jobs:
5658
- name: 🐍 Setup Python for tox
5759
uses: actions/setup-python@v5
5860
with:
59-
python-version: "3.13"
61+
python-version: "3.14"
6062
- name: 📦 Install tox with this virtualenv
6163
shell: bash
6264
run: |
63-
if [[ "${{ matrix.py }}" == "3.13t" ]]; then
64-
uv tool install --no-managed-python --python 3.13 tox --with .
65+
if [[ "${{ matrix.py }}" == "3.13t" || "${{ matrix.py }}" == "3.14t" ]]; then
66+
uv tool install --no-managed-python --python 3.14 tox --with .
6567
else
66-
uv tool install --no-managed-python --python 3.13 tox --with tox-uv --with .
68+
uv tool install --no-managed-python --python 3.14 tox --with tox-uv --with .
6769
fi
6870
- name: 🐍 Setup Python for test ${{ matrix.py }}
6971
uses: actions/setup-python@v5
@@ -135,7 +137,7 @@ jobs:
135137
- name: 🚀 Install uv
136138
uses: astral-sh/setup-uv@v4
137139
- name: 📦 Install tox
138-
run: uv tool install --python-preference only-managed --python 3.13 tox --with tox-uv
140+
run: uv tool install --python-preference only-managed --python 3.14 tox --with tox-uv
139141
- name: 📥 Checkout code
140142
uses: actions/checkout@v4
141143
with:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
cache-dependency-glob: "pyproject.toml"
2222
github-token: ${{ secrets.GITHUB_TOKEN }}
2323
- name: 📦 Build package
24-
run: uv build --python 3.13 --python-preference only-managed --sdist --wheel . --out-dir dist
24+
run: uv build --python 3.14 --python-preference only-managed --sdist --wheel . --out-dir dist
2525
- name: 📦 Store the distribution packages
2626
uses: actions/upload-artifact@v4
2727
with:

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/python-jsonschema/check-jsonschema
8-
rev: 0.33.3
8+
rev: 0.34.0
99
hooks:
1010
- id: check-github-workflows
1111
args: ["--verbose"]
@@ -20,11 +20,11 @@ repos:
2020
- id: tox-ini-fmt
2121
args: ["-p", "fix"]
2222
- repo: https://github.com/tox-dev/pyproject-fmt
23-
rev: "v2.6.0"
23+
rev: "v2.8.0"
2424
hooks:
2525
- id: pyproject-fmt
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: "v0.13.0"
27+
rev: "v0.14.0"
2828
hooks:
2929
- id: ruff-format
3030
- id: ruff

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ classifiers = [
3333
"Programming Language :: Python :: 3.11",
3434
"Programming Language :: Python :: 3.12",
3535
"Programming Language :: Python :: 3.13",
36+
"Programming Language :: Python :: 3.14",
3637
"Programming Language :: Python :: Implementation :: CPython",
3738
"Programming Language :: Python :: Implementation :: PyPy",
3839
"Topic :: Software Development :: Libraries",
@@ -159,7 +160,7 @@ builtin = "clear,usage,en-GB_to_en-US"
159160
count = true
160161

161162
[tool.pyproject-fmt]
162-
max_supported_python = "3.13"
163+
max_supported_python = "3.14"
163164

164165
[tool.pytest.ini_options]
165166
markers = [

src/virtualenv/util/path/_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
def ensure_dir(path):
1313
if not path.exists():
14-
LOGGER.debug("create folder %s", str(path))
14+
LOGGER.debug("create folder %s", path)
1515
os.makedirs(str(path))
1616

1717

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ requires =
44
env_list =
55
fix
66
pypy3
7+
3.14
78
3.13
89
3.12
910
3.11
@@ -14,6 +15,7 @@ env_list =
1415
coverage
1516
readme
1617
docs
18+
3.14t
1719
3.13t
1820
skip_missing_interpreters = true
1921

@@ -70,6 +72,9 @@ commands =
7072
sphinx-build -d "{envtmpdir}/doctree" docs "{toxworkdir}/docs_out" --color -b html {posargs:-W}
7173
python -c 'import pathlib; print("documentation available under file://\{0\}".format(pathlib.Path(r"{toxworkdir}") / "docs_out" / "index.html"))'
7274

75+
[testenv:3.14t]
76+
base_python = {env:TOX_BASEPYTHON}
77+
7378
[testenv:3.13t]
7479
base_python = {env:TOX_BASEPYTHON}
7580

0 commit comments

Comments
 (0)