Repository navigation
ci: install Mercurial and hg-git via uv on Linux - #1574
Merged
RonnyPfannschmidt merged 3 commits intoNov 18, 2026
Merged
Conversation
ubuntu-latest moved to the ubuntu-26.04 image, which ships no hg, so every Linux test job failed at the hg-git install step. Ubuntu 26.04 also dropped its hg-git package, and hg-git 1.2.0 does not import on Mercurial 7.2, so install a pinned Mercurial with hg-git as a uv tool. Co-Authored-By: Claude Opus 5.5 via Claude Code <noreply@anthropic.com>
setup-python has no 3.8/3.9 builds for Ubuntu 26.04, which ubuntu-latest now points at, so those jobs failed before running anything. Co-Authored-By: Claude Opus 5.5 via Claude Code <noreply@anthropic.com>
A failing gpg signature left no commit behind, and test_git_getdate_signed_commit then failed on a missing HEAD instead of showing gpg's error, as in the Windows flake on the Ubuntu 26.04 CI run. Co-Authored-By: Claude Opus 5.5 via Claude Code <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Written by Claude Opus 5.5 via Claude Code for the setuptools-scm maintainers; I prompted it, it did the work, I read it.
ubuntu-latestnow resolves to the ubuntu-26.04 image, which ships no Mercurial, so every Linux test job fails at the hg-git install step (seen on #1570). Main will fail the same way on its next run.Installing Mercurial with apt is not enough: Ubuntu 26.04 dropped its hg-git package, and hg-git 1.2.0 (the current PyPI release) fails to import on Mercurial 7.2 because
repository.peerwas removed. Without hg-git,test_hg_git.pywould skip quietly instead of failing. Mercurial is therefore pinned below 7.2 until hg-git releases a fix.🤖 Generated with Claude Code