Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ jobs:
github.event_name == 'pull_request' && '{
"include": [
{"os": "ubuntu-24.04", "python-version": "3.10", "toxenv": "py310-fuse2"},
{"os": "ubuntu-24.04", "python-version": "3.14", "toxenv": "py314-fuse3"}
{"os": "ubuntu-24.04", "python-version": "3.14", "toxenv": "py314-fuse3"},
{"os": "ubuntu-26.04", "python-version": "3.15-dev", "toxenv": "py315-fuse3", "allow-failure": true}
]
}' || '{
"include": [
Expand All @@ -139,7 +140,8 @@ jobs:
{"os": "ubuntu-24.04", "python-version": "3.13", "toxenv": "py313-fuse3"},
{"os": "ubuntu-24.04", "python-version": "3.14", "toxenv": "py314-fuse3"},
{"os": "macos-15-intel", "python-version": "3.11", "toxenv": "py311-none", "binary": "borg-macos-15-x86_64-gh"},
{"os": "macos-15", "python-version": "3.11", "toxenv": "py311-none", "binary": "borg-macos-15-arm64-gh"}
{"os": "macos-15", "python-version": "3.11", "toxenv": "py311-none", "binary": "borg-macos-15-arm64-gh"},
{"os": "ubuntu-26.04", "python-version": "3.15-dev", "toxenv": "py315-fuse3", "allow-failure": true}
]
}'
) }}
Expand All @@ -148,6 +150,10 @@ jobs:
TOXENV: ${{ matrix.toxenv }}

runs-on: ${{ matrix.os }}
# Python 3.15 is not released yet, so do not fail the build if it (or a
# dependency not having wheels / not compiling for it yet) breaks.
# Remove the "allow-failure" matrix entries once 3.15 is final.
continue-on-error: ${{ matrix.allow-failure || false }}
# macOS machines can be slow, if overloaded.
timeout-minutes: 360

Expand Down
13 changes: 12 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
Expand Down Expand Up @@ -174,7 +175,7 @@ min_version = "4.19"
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,fuse2,fuse3}", "ruff"]
env_list = ["py{310,311,312,313,314,315}-{none,fuse2,fuse3}", "ruff"]

# Base configuration for test environments
[tool.tox.env_run_base]
Expand Down Expand Up @@ -242,6 +243,16 @@ extras = ["llfuse"]
set_env = {BORG_FUSE_IMPL = "pyfuse3"}
extras = ["pyfuse3"]

[tool.tox.env.py315-none]

[tool.tox.env.py315-fuse2]
set_env = {BORG_FUSE_IMPL = "llfuse"}
extras = ["llfuse"]

[tool.tox.env.py315-fuse3]
set_env = {BORG_FUSE_IMPL = "pyfuse3"}
extras = ["pyfuse3"]

[tool.tox.env.ruff]
description = "Run ruff linter and formatter"
skip_install = true
Expand Down
Loading