Skip to content

Windows CI: install setuptools-scm via pacman (1.2-maint) - #10592

Merged
ThomasWaldmann merged 1 commit into
borgbackup:1.2-maintfrom
ThomasWaldmann:fix-windows-ci-setuptools-scm-1.2
Nov 4, 2026
Merged

ThomasWaldmann merged 1 commit into
borgbackup:1.2-maintfrom
ThomasWaldmann:fix-windows-ci-setuptools-scm-1.2

Conversation

@ThomasWaldmann

@ThomasWaldmann ThomasWaldmann commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

The msys2-ucrt64 Windows CI job is failing on 1.2-maint: setup_requires=['setuptools_scm>=1.7'] makes python setup.py build_ext/bdist_wheel fetch setuptools_scm 10.x as an egg into .eggs/ without its new vcs_versioning dependency (ModuleNotFoundError: No module named 'vcs_versioning'), so borg/_version.py is never generated and borg.exe -V fails with No module named 'borg._version'.

Fix: install mingw-w64-ucrt-x86_64-python-setuptools-scm via pacman in scripts/msys2-install-deps (it depends on python-vcs-versioning), so setup_requires is already satisfied.

🤖 Generated with Claude Code

setup.py's setup_requires makes "python setup.py" fetch the latest
setuptools_scm as an egg, without its new vcs_versioning dependency,
so borg/_version.py was never generated and borg.exe failed to start.

The msys2 package pulls in python-vcs-versioning as a dependency.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ThomasWaldmann
ThomasWaldmann force-pushed the fix-windows-ci-setuptools-scm-1.2 branch from b51b43d to 2b37f33 Compare November 4, 2026 18:07
@ThomasWaldmann ThomasWaldmann changed the title Windows CI: install setuptools-scm via pip (1.2-maint) Windows CI: install setuptools-scm via pacman (1.2-maint) Nov 4, 2026
@ThomasWaldmann
ThomasWaldmann merged commit 5cd75a2 into borgbackup:1.2-maint Nov 4, 2026
4 checks passed
@ThomasWaldmann
ThomasWaldmann deleted the fix-windows-ci-setuptools-scm-1.2 branch November 4, 2026 18:12
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