support python 3.14

This commit is contained in:
Thomas Waldmann 2025-06-12 12:06:45 +02:00
parent cd07d84c1d
commit 74689d6ea9
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
2 changed files with 8 additions and 4 deletions

View file

@ -84,6 +84,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
env:
TOXENV: ${{ matrix.toxenv }}

View file

@ -23,6 +23,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",
]
@ -159,7 +160,7 @@ ignore_missing_imports = true
[tool.tox]
requires = ["tox>=4.19", "pkgconfig", "cython", "wheel", "setuptools_scm"]
env_list = ["py{310,311,312,313}-{none,fuse2,fuse3}", "docs", "ruff", "mypy", "bandit"]
env_list = ["py{310,311,312,313,314}-{none,fuse2,fuse3}", "docs", "ruff", "mypy", "bandit"]
[tool.tox.env_run_base]
package = "editable-legacy" # without this it does not find setup_docs when running under fakeroot
@ -171,15 +172,15 @@ pass_env = ["*"] # fakeroot -u needs some env vars
pass_env = ["*"] # needed by tox4, so env vars are visible for building borg
# Environment-specific configurations
[tool.tox.env."py{310,311,312,313}-fuse2"]
[tool.tox.env."py{310,311,312,313,314}-fuse2"]
set_env = {BORG_FUSE_IMPL = "llfuse"}
deps = ["-rrequirements.d/development.txt", "llfuse"]
[tool.tox.env."py{310,311,312,313}-fuse3"]
[tool.tox.env."py{310,311,312,313,314}-fuse3"]
set_env = {BORG_FUSE_IMPL = "pyfuse3"}
deps = ["-rrequirements.d/development.txt", "pyfuse3"]
[tool.tox.env."py{310,311,312,313}-none"]
[tool.tox.env."py{310,311,312,313,314}-none"]
deps = ["-rrequirements.d/development.txt"]
[tool.tox.env.ruff]