ci(deps): make Renovate read the lock and look the hooks up without a token
Dry run 3880 showed that since #124 Renovate proposed no bump at all: - pip-compile: the manager refused the lock's header ("Option --newline=LF not supported (yet)"), extracted nothing and only logged a WARN, so the Python tools were never bumped. Drop --newline from scripts/lock-requirements.sh and the lock header (the 81 entries and hashes are unchanged); the manager now reads 81 dependencies. The lock is an image input: ci 0.2.19 -> 0.2.20. - pre-commit: every hook was skipped (skipReason github-token-required, no GitHub token exists), and with the warning off the GitHub GraphQL lookup is refused at once (403 rate limit). Look the hooks up with git ls-remote (packageRule overrideDatasource git-tags, which needs RENOVATE_GITHUB_TOKEN_WARN=false because the token check runs before package rules apply). Renovate dereferences annotated tags, so the new rev is the commit (checked against git ls-remote for conventional-pre-commit v4.5.0). git-tags has no release timestamps, so hook bumps are not automerged. Tested with [email protected].0 --platform=local against this checkout. Not tested: the real job (renovate.json is read from main), the lock replay by Renovate's pip-compile artifact step, and the ci 0.2.20 image build. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTRacjtXvmKxHr5TM5G
This commit is contained in:
1 parent
588ba2a3ea
commit
1c6a80d3d5
6 files changed
+34
-5
No files matched your search
@@ -2,7 +2,7 @@
|
||||
# This file is autogenerated by pip-compile with Python 3.13
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile --allow-unsafe --generate-hashes --newline=LF --output-file=requirements-dev.lock --strip-extras requirements-dev.txt
|
||||
# pip-compile --allow-unsafe --generate-hashes --output-file=requirements-dev.lock --strip-extras requirements-dev.txt
|
||||
#
|
||||
aiofiles==25.1.0 \
|
||||
--hash=sha256:a8d728f0a29de45dc521f18f07297428d56992a742f0cd2701ba86e44d23d5b2 \
|
||||
|
||||
Reference in new issue
Block a user