mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-09 08:51:54 -04:00
ci: add Python 3.15 to CI testing and tox configuration
This commit is contained in:
parent
968f7dae00
commit
b9a0a33a6e
3 changed files with 19 additions and 4 deletions
4
.github/workflows/canary.yml
vendored
4
.github/workflows/canary.yml
vendored
|
|
@ -25,8 +25,8 @@ jobs:
|
|||
python-version: '3.12'
|
||||
toxenv: py312-pyfuse3
|
||||
- os: ubuntu-24.04
|
||||
python-version: '3.14'
|
||||
toxenv: py314-mfusepy
|
||||
python-version: '3.15-dev'
|
||||
toxenv: py315-mfusepy
|
||||
- os: macos-15
|
||||
python-version: '3.14'
|
||||
toxenv: py314-none
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -145,7 +145,7 @@ jobs:
|
|||
{"os": "ubuntu-22.04", "python-version": "3.11", "toxenv": "docs"},
|
||||
{"os": "ubuntu-22.04", "python-version": "3.10", "toxenv": "py310-llfuse"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.12", "toxenv": "py312-pyfuse3"},
|
||||
{"os": "ubuntu-24.04", "python-version": "3.14", "toxenv": "py314-mfusepy"}
|
||||
{"os": "ubuntu-24.04", "python-version": "3.15-dev", "toxenv": "py315-mfusepy"}
|
||||
]
|
||||
}' || '{
|
||||
"include": [
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ classifiers = [
|
|||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3.14",
|
||||
"Programming Language :: Python :: 3.15",
|
||||
"Topic :: Security :: Cryptography",
|
||||
"Topic :: System :: Archiving :: Backup",
|
||||
]
|
||||
|
|
@ -175,7 +176,7 @@ ignore_missing_imports = true
|
|||
requires = ["tox>=4.19", "pkgconfig", "cython", "wheel", "setuptools_scm"]
|
||||
# Important: when adding/removing Python versions here,
|
||||
# also update the section "Test environments with different FUSE implementations" accordingly.
|
||||
env_list = ["py{310,311,312,313,314}-{none,llfuse,pyfuse3,mfusepy}", "docs", "ruff", "mypy", "bandit"]
|
||||
env_list = ["py{310,311,312,313,314,315}-{none,llfuse,pyfuse3,mfusepy}", "docs", "ruff", "mypy", "bandit"]
|
||||
|
||||
[tool.tox.env_run_base]
|
||||
package = "editable-legacy" # without this it does not find setup_docs when running under fakeroot
|
||||
|
|
@ -257,6 +258,20 @@ extras = ["pyfuse3", "sftp", "s3", "rclone"]
|
|||
set_env = {BORG_FUSE_IMPL = "mfusepy"}
|
||||
extras = ["mfusepy", "sftp", "s3", "rclone"]
|
||||
|
||||
[tool.tox.env.py315-none]
|
||||
|
||||
[tool.tox.env.py315-llfuse]
|
||||
set_env = {BORG_FUSE_IMPL = "llfuse"}
|
||||
extras = ["llfuse", "sftp", "s3", "rclone"]
|
||||
|
||||
[tool.tox.env.py315-pyfuse3]
|
||||
set_env = {BORG_FUSE_IMPL = "pyfuse3"}
|
||||
extras = ["pyfuse3", "sftp", "s3", "rclone"]
|
||||
|
||||
[tool.tox.env.py315-mfusepy]
|
||||
set_env = {BORG_FUSE_IMPL = "mfusepy"}
|
||||
extras = ["mfusepy", "sftp", "s3", "rclone"]
|
||||
|
||||
[tool.tox.env.ruff]
|
||||
skip_install = true
|
||||
deps = ["ruff"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue