Skip to content

Remove uv.lock from version control#67

Open
elainethale wants to merge 1 commit into
mainfrom
bugfix/remove-uv-lock
Open

Remove uv.lock from version control#67
elainethale wants to merge 1 commit into
mainfrom
bugfix/remove-uv-lock

Conversation

@elainethale
Copy link
Copy Markdown
Contributor

Summary

Removes the committed uv.lock file, which was generating the bulk of the repository's Dependabot security alerts.

Why

  • Nothing consumed it. CI and docs install via pip install ".[dev]", and the PyPI publish workflow builds with python -m build — none use uv.
  • It is a library, not an application. stride-load-forecast is published to PyPI, so consumers resolve dependencies from the constraints in pyproject.toml. A lock file pins exact transitive versions that no consumer ever installs.
  • Those pinned transitive deps were the source of Dependabot alerts for versions that are never deployed.

Changes

  • Delete uv.lock.
  • Re-enable the standard uv.lock rule in .gitignore so it is not re-committed.

Notes

Existing Dependabot alerts that reference uv.lock should 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

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
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.55%. Comparing base (ded9c7f) to head (35de2b8).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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