Add a tox target for checking dependency freshness #4
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/outdated-target"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3
What changed
uv run tox -e outdatedreports every direct dependency against its latest PyPI release, viascripts/check_outdated.py. Dependency names are read frompyproject.toml, so the script cannot drift as they change.Three deliberate choices, all confirmed before building:
It prints a row per dependency even when nothing is behind, because
uv pip list --outdatedprints nothing when everything is current and that is indistinguishable from the check not running. Packages that could not be compared are counted separately, never folded into a clean result.Incidental fix
This is the first script outside
src/andtests/, and it exposed a gap: lint, format, mypy, and pyright all take explicit paths, so they silently ignoredscripts/. Adding it to each surfaced three real findings in the new file. All four gates now cover it.Filename effect
None. No naming logic changed.
Constraints
Verification
Detection was verified by forcing a stale version, which correctly reported
ruff 0.0.1 → 0.16.3 OUTDATEDand1 of 12 checked dependencies are behind.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.