Skip to content

1.4-maint: add support for Python 3.15 - #10317

Merged
ThomasWaldmann merged 1 commit into
borgbackup:1.4-maintfrom
ThomasWaldmann:py315-support-1.4
Sep 3, 2026
Merged

ThomasWaldmann merged 1 commit into
borgbackup:1.4-maintfrom
ThomasWaldmann:py315-support-1.4

Conversation

@ThomasWaldmann

Copy link
Copy Markdown
Member

Backport of the master-side Python 3.15 support (#9706 / #10033) to 1.4-maint.

  • metadata: add the Programming Language :: Python :: 3.15 classifier
  • tox: add 315 to env_list and the py315-{none,fuse2,fuse3} env sections
  • CI: add an ubuntu-26.04 / 3.15-dev / py315-fuse3 entry to both native_tests matrices (PR and push)

3.15 is still a prerelease, so the CI entry is marked "allow-failure": true and the job gets
continue-on-error: ${{ matrix.allow-failure || false }} — a broken prerelease python (or a
dependency without 3.15 wheels / not compiling for 3.15 yet) then does not fail the build.
Remove the allow-failure entries once 3.15 is final.

No code changes were needed.

Verified locally on macOS/arm64 with 3.15.0rc1: the C/Cython extensions build and the full test
suite passes (1389 passed, 368 skipped), with no borg-originated deprecation warnings.

🤖 Generated with Claude Code

- pyproject.toml: add the "Programming Language :: Python :: 3.15" classifier
- tox: add 315 to env_list and the py315-{none,fuse2,fuse3} env sections
- CI: add an ubuntu-26.04 / 3.15-dev / py315-fuse3 entry to both native_tests
  matrices (PR and push)

3.15 is still a prerelease, so the CI entry is marked "allow-failure": true and
the job gets continue-on-error: ${{ matrix.allow-failure || false }} - a broken
prerelease python (or a dependency without 3.15 wheels / not compiling for 3.15
yet) then does not fail the build. Remove the "allow-failure" entries once 3.15
is final.

Verified locally on macOS/arm64 with 3.15.0rc1: the C/Cython extensions build
and the full test suite passes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@codecov

codecov Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.11%. Comparing base (9833344) to head (19a9295).
⚠️ Report is 3 commits behind head on 1.4-maint.

Additional details and impacted files
@@              Coverage Diff              @@
##           1.4-maint   #10317      +/-   ##
=============================================
- Coverage      82.15%   82.11%   -0.04%     
=============================================
  Files             38       38              
  Lines          11475    11475              
  Branches        1807     1807              
=============================================
- Hits            9427     9423       -4     
- Misses          1463     1466       +3     
- Partials         585      586       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@ThomasWaldmann
ThomasWaldmann merged commit b798d20 into borgbackup:1.4-maint Sep 3, 2026
13 of 15 checks passed
@ThomasWaldmann
ThomasWaldmann deleted the py315-support-1.4 branch September 3, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant