Skip to content

Pin dependencies and add supply chain hardening#69

Closed
daniel-mohedano wants to merge 1 commit intomainfrom
daniel.mohedano/SDTEST-3678
Closed

Pin dependencies and add supply chain hardening#69
daniel-mohedano wants to merge 1 commit intomainfrom
daniel.mohedano/SDTEST-3678

Conversation

@daniel-mohedano
Copy link
Copy Markdown

Summary

  • Pin all build, dev/test, QA, and CI dependencies to exact versions to prevent supply chain attacks via dependency confusion or compromised releases
  • Add upper bounds (<major) to runtime dependencies (bytecode, msgpack) — exact pins avoided since this is a library and would break downstream consumers
  • Add automated CI check (.github/scripts/check-pinned-deps.py) that enforces the pinning policy on every PR, with an allowlist for runtime deps

Test plan

  • python .github/scripts/check-pinned-deps.py passes locally (verified)
  • CI QA job runs the new pinned-deps check step
  • hatch run qa:qa still resolves and passes
  • Test matrix runs with 8.4.1 instead of 8.4.*

🤖 Generated with Claude Code

@daniel-mohedano daniel-mohedano requested a review from a team as a code owner April 7, 2026 09:02
@daniel-mohedano daniel-mohedano force-pushed the daniel.mohedano/SDTEST-3678 branch 2 times, most recently from 98725b3 to 9c57c0b Compare April 7, 2026 09:53
@daniel-mohedano daniel-mohedano force-pushed the daniel.mohedano/SDTEST-3678 branch from 9c57c0b to bd2e0cb Compare April 7, 2026 09:55
Pin all build, dev, test, QA, and CI dependencies to exact versions
to prevent automatic resolution to potentially compromised releases.
Runtime deps (bytecode, msgpack) use bounded ranges since this is a
library. Add CI check script to enforce pinning policy.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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