mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
support Python 3.14 (#10896)
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
|
||||||
|
|||||||
@@ -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"""
|
||||||
|
|||||||
Reference in New Issue
Block a user