support Python 3.14 (#10896)

This commit is contained in:
skshetry
2025-10-24 19:26:50 +05:45
committed by GitHub
parent d6fa8b67ff
commit bda614baa8
6 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ jobs:
steps: steps:
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
python-version: "3.13" python-version: "3.14"
- uses: actions/checkout@v5 - uses: actions/checkout@v5
with: with:
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- uses: actions/setup-python@v6 - uses: actions/setup-python@v6
with: with:
python-version: 3.13 python-version: "3.14"
- uses: astral-sh/setup-uv@v7 - uses: astral-sh/setup-uv@v7
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest] os: [ubuntu-latest]
pyv: ["3.13"] pyv: ["3.14"]
plugin: ["dvc-s3"] plugin: ["dvc-s3"]
steps: steps:
+14 -2
View File
@@ -32,7 +32,7 @@ jobs:
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v6 uses: actions/setup-python@v6
with: with:
python-version: '3.13' python-version: '3.14'
- uses: astral-sh/setup-uv@v7 - uses: astral-sh/setup-uv@v7
with: with:
enable-cache: true enable-cache: true
@@ -55,7 +55,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu-latest, macos-latest] os: [ubuntu-latest, macos-latest]
pyv: ["3.9", "3.10", "3.11", "3.12", "3.13"] pyv: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
include: include:
- os: windows-latest - os: windows-latest
pyv: "3.9" pyv: "3.9"
@@ -117,6 +117,18 @@ jobs:
- os: windows-latest - os: windows-latest
pyv: "3.13" pyv: "3.13"
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4" pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
- os: windows-latest
pyv: "3.14"
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 1"
- os: windows-latest
pyv: "3.14"
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 2"
- os: windows-latest
pyv: "3.14"
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 3"
- os: windows-latest
pyv: "3.14"
pytestargs: "--splitting-algorithm=least_duration --splits 4 --group 4"
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v5
with: with:
+1
View File
@@ -29,6 +29,7 @@ classifiers = [
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
] ]
dynamic = ["version"] dynamic = ["version"]
+1
View File
@@ -194,6 +194,7 @@ def isolate(tmp_path_factory):
monkeypatch.setenv(env_var, os.fspath(path)) monkeypatch.setenv(env_var, os.fspath(path))
else: else:
monkeypatch.setenv("HOME", str(home_dir)) monkeypatch.setenv("HOME", str(home_dir))
monkeypatch.setenv("XDG_CONFIG_HOME", str(home_dir / ".config"))
monkeypatch.setenv("GIT_CONFIG_NOSYSTEM", "1") monkeypatch.setenv("GIT_CONFIG_NOSYSTEM", "1")
contents = b""" contents = b"""