Skip to content

CI: re-enable the windows msys2 build (1.4-maint) - #10593

Merged
ThomasWaldmann merged 2 commits into
borgbackup:1.4-maintfrom
ThomasWaldmann:windows-ci-enable-14
Nov 4, 2026
Merged

ThomasWaldmann merged 2 commits into
borgbackup:1.4-maintfrom
ThomasWaldmann:windows-ci-enable-14

Conversation

@ThomasWaldmann

@ThomasWaldmann ThomasWaldmann commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

The Windows (MSYS2/UCRT64) build job in .github/workflows/windows.yml has been disabled (if: false) since #8264, which was caused by a pip bug in MSYS2 back then. That got fixed on master by #8382, but 1.4-maint never got re-enabled.

Changes:

  • re-enable the job, add a timeout
  • scripts/msys2-build: drop the SETUPTOOLS_USE_DISTUTILS=stdlib workaround (MSYS2's Python is >= 3.12 now, which has no stdlib distutils; master dropped it in 3df7702 too)
  • install pyinstaller into a venv (--system-site-packages, like master does): MSYS2's Python is 3.14 now and externally managed (PEP 668), so a system-wide pip install fails
  • pyinstaller 6.3.0 -> 6.22.3 (same as master), older versions do not support Python 3.14
  • actions/upload-artifact@v3 -> @v4, v3 is shut down and makes the job fail

The job only builds borg.exe (+ sdist/wheel) and runs borg.exe -V, like before — it does not run the test suite.

🤖 Generated with Claude Code

ThomasWaldmann and others added 2 commits November 4, 2026 22:19
It was disabled in borgbackup#8264 due to a pip bug, which is long fixed.

- drop the SETUPTOOLS_USE_DISTUTILS=stdlib workaround, msys2 python has
  no stdlib distutils anymore (>= 3.12)
- use pyinstaller 6.14.2, same as for the other binaries
- use actions/upload-artifact@v4, v3 does not work anymore
- add a timeout

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
msys2's python is 3.14 now and externally managed (PEP 668), so
a system-wide pip install fails. pyinstaller 6.14.2 does not support
python 3.14 either, use 6.22.3 (same as master).

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

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.32%. Comparing base (3f8f908) to head (28c5072).
⚠️ Report is 1 commits behind head on 1.4-maint.

Additional details and impacted files
@@            Coverage Diff             @@
##           1.4-maint   #10593   +/-   ##
==========================================
  Coverage      82.32%   82.32%           
==========================================
  Files             38       38           
  Lines          11556    11556           
  Branches        1824     1824           
==========================================
  Hits            9513     9513           
  Misses          1460     1460           
  Partials         583      583           

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

@ThomasWaldmann
ThomasWaldmann merged commit 3b3c1b4 into borgbackup:1.4-maint Nov 4, 2026
15 checks passed
@ThomasWaldmann
ThomasWaldmann deleted the windows-ci-enable-14 branch November 4, 2026 21:39
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