Repository navigation
Move uv to the patched 0.13.5 - #29
Merged
Merged
Conversation
Respond to the uv advisory in the eMudhra intermediate CA compromise response (GHSA-hq85-5cpj-mr62; the first patched uv is 0.13.4). * pyproject.toml: [tool.uv] required-version "==0.7.13" -> ">=0.7.13". The exact pin made any other uv refuse to run in this repository, so uv could not be moved. The minimum is unchanged. * uv 0.7.13 -> 0.13.5 in ci.yml and release.yml (setup-uv version), the seven uv entries in .pre-commit-config.yaml, and uv_version in tasks/scripts/install_backend.sh. * uv.lock and requirements.txt are unchanged: `uv lock` with 0.13.5 produces the same lock and `uv export` the same requirements.txt.
nathanjmcdougall
marked this pull request as ready for review
October 27, 2026 21:37
|
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.

0 New Issues
0 Fixed Issues
0 Accepted Issues
No data about coverage (80.60% Estimated after merge)
Summary
This follows #28, which is already merged. The diff of this PR is exactly three commits, 8c0caa0, e035bf4 and df8f318, on top of the head of #28.
0.7.13->0.13.5(the first patched uv is 0.13.4): the setup-uvversionin.github/workflows/ci.ymlandrelease.yml, the sevenuv==entries in.pre-commit-config.yaml, anduv_versionintasks/scripts/install_backend.sh.pyproject.toml:[tool.uv] required-version"==0.7.13"->">=0.13.5". This relaxes an exact pin to a minimum and raises it to the uv version this PR moves to (8c0caa0 relaxed it to">=0.7.13", e035bf4 raised the minimum to 0.13.5, and df8f318 restored the comment alignment that e035bf4 broke). The exact pin made every other uv refuse to run in this repository (uv 0.13.5 stopped with "Required uv version==0.7.13does not match the running version"), so it had to change before uv could move. The trailing comment and its alignment are as pyproject-fmt wants them.uv.lockandrequirements.txtare unchanged:uv lockwith 0.13.5 produces the same lock (the format revision stays at 2) and the pre-commituv exportcommand produces the samerequirements.txt.Context
Follow-up to #28 (eMudhra intermediate CA compromise response, certifi GHSA-6q48-6c7w-9gw2, uv GHSA-hq85-5cpj-mr62). #28 moved Python and certifi but left uv at 0.7.13 because of the exact
required-versionpin.Verified
required-version:uv lock --checkpasses,uv lockanduv exportgive no diff, and pyproject-fmt reports no change.workflow_dispatchrun ofci.ymlon the branch head 8c0caa0, made while Respond to eMudhra intermediate CA compromise #28 was already merged): all 13 "Run Tests and Checks" jobs (ubuntu, macOS and Windows on Python 3.10 to 3.13, plus ubuntu 3.10lowest-direct, including prek, pyright, zizmor and pytest) and "Analyse Code Quality" pass. The checks on this PR for 8c0caa0 ran the same workflow and all passed (13 test jobs, code analysis and SonarQube). The first attempt had one failure that passed unchanged on re-run (see Notes).required-versionline inpyproject.toml(">=0.7.13"->">=0.13.5", same length, comment in the same column). e035bf4 on its own failed the pyproject-fmt hook because the comment lost two spaces of alignment; df8f318 fixes that. With uv 0.13.5,uv lock --check --offlinepasses. The results above are for 8c0caa0; the PR checks on df8f318 are the ones that verify the final state in CI.Not verified
tasks/scripts/install_backend.shwas not run (it self-updates uv on a developer machine to the newuv_version).Notes
ci.ymlandrelease.yml("Sync with pyproject.toml") were left as they are.required-versionis now a minimum, so the workflows, the pre-commit hooks andinstall_backend.shhold the concrete uv version (0.13.5) andpyproject.tomlholds the lowest version allowed.lowest-directjob failed once intests/geopins/drivers/gdf/filetypes/test_gpkg.py::test_hash_is_not_dependent_on_file_write_time(the two hashes differed). The test writes the same GeoPackage twice one second apart, so it depends on file timestamps; nothing in this PR touches it. The job passed on re-run with no change, and the same job passed on the manual run 40444402383. It was not fixed here.