Remove uv.lock from version control#67
Open
elainethale wants to merge 1 commit into
Open
Conversation
The lock file was not consumed by any workflow (CI and docs use `pip install ".[dev]"`, PyPI publish uses `python -m build`), and as a published library stride resolves dependencies from pyproject.toml constraints rather than a lock file. Its pinned transitive deps were generating Dependabot security alerts for versions no consumer installs. Delete uv.lock and re-enable the standard .gitignore rule so it is not re-committed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #67 +/- ##
=======================================
Coverage 75.55% 75.55%
=======================================
Files 50 50
Lines 7935 7935
=======================================
Hits 5995 5995
Misses 1940 1940 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Summary
Removes the committed
uv.lockfile, which was generating the bulk of the repository's Dependabot security alerts.Why
pip install ".[dev]", and the PyPI publish workflow builds withpython -m build— none use uv.stride-load-forecastis published to PyPI, so consumers resolve dependencies from the constraints inpyproject.toml. A lock file pins exact transitive versions that no consumer ever installs.Changes
uv.lock.uv.lockrule in.gitignoreso it is not re-committed.Notes
Existing Dependabot alerts that reference
uv.lockshould auto-dismiss once this merges to the default branch. If pinned, reproducible dev environments are wanted later, the alternative is to keep the lock file and add a scoped.github/dependabot.yml.🤖 Generated with Claude Code