support Python 3.14

This commit is contained in:
Thomas Waldmann 2025-07-25 13:31:54 +02:00
parent 89b627206e
commit 779a94bb20
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
2 changed files with 8 additions and 4 deletions

View file

@ -62,6 +62,9 @@ jobs:
- os: ubuntu-24.04
python-version: '3.13'
toxenv: py313-fuse3
- os: ubuntu-24.04
python-version: '3.14-dev'
toxenv: py314-fuse3
- os: macos-14
python-version: '3.11'
toxenv: py311-none # note: no fuse testing, due to #6099, see also #6196.

View file

@ -25,6 +25,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Security :: Cryptography",
"Topic :: System :: Archiving :: Backup",
]
@ -172,7 +173,7 @@ markers = [
[tool.tox]
min_version = "4.19"
requires = ["tox>=4.19", "pkgconfig", "cython", "wheel", "setuptools_scm"]
env_list = ["py{39,310,311,312,313}-{none,fuse2,fuse3}", "ruff"]
env_list = ["py{39,310,311,312,313,314}-{none,fuse2,fuse3}", "ruff"]
# Base configuration for test environments
[tool.tox.env_run_base]
@ -190,19 +191,19 @@ labels = ["test"]
pass_env = ["*"] # needed by tox4, so env vars are visible for building borg
# Test environments with different FUSE implementations
[tool.tox.env."py{39,310,311,312,313}-fuse2"]
[tool.tox.env."py{39,310,311,312,313,314}-fuse2"]
description = "Run tests with llfuse (FUSE2) implementation"
set_env = {BORG_FUSE_IMPL = "llfuse"}
deps = ["-rrequirements.d/development.txt", "llfuse"]
labels = ["test", "fuse"]
[tool.tox.env."py{39,310,311,312,313}-fuse3"]
[tool.tox.env."py{39,310,311,312,313,314}-fuse3"]
description = "Run tests with pyfuse3 (FUSE3) implementation"
set_env = {BORG_FUSE_IMPL = "pyfuse3"}
deps = ["-rrequirements.d/development.txt", "pyfuse3"]
labels = ["test", "fuse"]
[tool.tox.env."py{39,310,311,312,313}-none"]
[tool.tox.env."py{39,310,311,312,313,314}-none"]
description = "Run tests without FUSE support"
deps = ["-rrequirements.d/development.txt"]
labels = ["test", "nofuse"]