Prechádzať zdrojové kódy

support Python 3.14

Thomas Waldmann 6 dní pred
rodič
commit
779a94bb20
2 zmenil súbory, kde vykonal 8 pridanie a 4 odobranie
  1. 3 0
      .github/workflows/ci.yml
  2. 5 4
      pyproject.toml

+ 3 - 0
.github/workflows/ci.yml

@@ -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.

+ 5 - 4
pyproject.toml

@@ -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"]