Skip to content

Pin the gate's one Python dependency by hash - #40

Merged
brandonifco merged 2 commits into
mainfrom
build/pin-pyyaml
Sep 15, 2026
Merged

brandonifco merged 2 commits into
mainfrom
build/pin-pyyaml

Conversation

@brandonifco

Copy link
Copy Markdown
Owner

Part of item 7 of the 0.4.0 plan.

build-and-test.yml and publish.yml both installed an unpinned pyyaml, which repo-checks --only parseable needs. This PR adds tools/requirements.txt, which pins pyyaml==6.0.3 with hashes for the Linux x86_64 wheels and the sdist. Both workflows now install from it with --require-hashes. Dependabot's pip ecosystem watches /tools.

I couldn't check the install locally because this machine has no python3-venv. This PR's CI run is the check.

🤖 Generated with Claude Code

brandonifco and others added 2 commits September 15, 2026 13:06
CI installed whatever PyYAML was newest on the day. tools/requirements.txt
pins 6.0.3 with hashes for the Linux x86_64 wheels and the sdist, both
workflows install it with --require-hashes, and Dependabot watches it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@brandonifco
brandonifco merged commit 90c60fe into main Sep 15, 2026
1 check passed
@brandonifco
brandonifco deleted the build/pin-pyyaml branch September 15, 2026 17:15
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