Skip to content

Commit bda614b

Browse files
authored
support Python 3.14 (#10896)
1 parent d6fa8b6 commit bda614b

6 files changed

Lines changed: 19 additions & 5 deletions

File tree

.github/workflows/benchmarks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/setup-python@v6
1818
with:
19-
python-version: "3.13"
19+
python-version: "3.14"
2020

2121
- uses: actions/checkout@v5
2222
with:

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- uses: actions/setup-python@v6
2727
with:
28-
python-version: 3.13
28+
python-version: "3.14"
2929

3030
- uses: astral-sh/setup-uv@v7
3131

.github/workflows/plugin_tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ubuntu-latest]
22-
pyv: ["3.13"]
22+
pyv: ["3.14"]
2323
plugin: ["dvc-s3"]
2424

2525
steps:

.github/workflows/tests.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Python
3333
uses: actions/setup-python@v6
3434
with:
35-
python-version: '3.13'
35+
python-version: '3.14'
3636
- uses: astral-sh/setup-uv@v7
3737
with:
3838
enable-cache: true
@@ -55,7 +55,7 @@ jobs:
5555
fail-fast: false
5656
matrix:
5757
os: [ubuntu-latest, macos-latest]
58-
pyv: ["3.9", "3.10", "3.11", "3.12", "3.13"]
58+
pyv: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
5959
include:
6060
- os: windows-latest
6161
pyv: "3.9"
@@ -117,6 +117,18 @@ jobs:
117117
- os: windows-latest
118118
pyv: "3.13"
119119
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
120+
- os: windows-latest
121+
pyv: "3.14"
122+
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 1"
123+
- os: windows-latest
124+
pyv: "3.14"
125+
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 2"
126+
- os: windows-latest
127+
pyv: "3.14"
128+
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 3"
129+
- os: windows-latest
130+
pyv: "3.14"
131+
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
120132
steps:
121133
- uses: actions/checkout@v5
122134
with:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers = [
2929
"Programming Language :: Python :: 3.11",
3030
"Programming Language :: Python :: 3.12",
3131
"Programming Language :: Python :: 3.13",
32+
"Programming Language :: Python :: 3.14",
3233
]
3334
dynamic = ["version"]
3435

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def isolate(tmp_path_factory):
194194
monkeypatch.setenv(env_var, os.fspath(path))
195195
else:
196196
monkeypatch.setenv("HOME", str(home_dir))
197+
monkeypatch.setenv("XDG_CONFIG_HOME", str(home_dir / ".config"))
197198

198199
monkeypatch.setenv("GIT_CONFIG_NOSYSTEM", "1")
199200
contents = b"""

0 commit comments

Comments
 (0)