This repository was archived by the owner on Nov 2, 2026. It is now read-only.
Repository navigation
build: lock development environments with uv - #139
Merged
Merged
Conversation
This was referenced Sep 9, 2026
NaweedAghmad
marked this pull request as ready for review
September 9, 2026 14:51
This was referenced Sep 9, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Problem
The repository had competing dependency entry points, CI installed from metadata without consuming
uv.lock, and two CodeQLactions/missing-workflow-permissionsalerts on the default branch. The root and documentation requirements files could resolve dependency versions that conflicted with current project metadata.Solution
pyproject.tomlthe dependency declaration anduv.lockthe reproducible environment contract.setuptools>=83.0.0andtorch>=2.13.0,<3, then regenerateuv.lock.requirements.txtanddocsrc/requirements.txt.uv sync --lockedusing the existingdevanddocsextras.contents: readin the build and lint workflows; retain the stale workflow's existing issue/PR-only write permissions.Provenance
Commit:
8ea37db build: lock development environments with uvThis fully supersedes #136 and #137: it removes the vulnerable root torch declaration, raises the authoritative torch and setuptools floors, and regenerates the lockfile to torch 2.14.0 and setuptools 84.0.0. It does not supersede #126 because that full lock-file maintenance PR resolves unrelated package versions, nor #132 or #134 because their GitHub Action version updates are not included.
Verification
uv lock --checkuv sync --locked --extra dev && uv run pytest -v— 117 passed.uv run black --check .— 103 files unchanged../docsrc/generate_docs.sh— succeeded; 19 pre-existing Sphinx warnings remain.Documentation
README and CONTRIBUTING now require Python 3.11+ and document locked uv workflows. The docs generator uses the root
docsextra instead of a separate requirements file.Follow-up
References #138. A CodeQL analysis did not run on this branch; after merge, verify default-branch alerts #3 and #4 are closed or dismissed before resolving #138.