Skip to content

Pin Python dependencies, hash-pinned CI install - #16

Merged
Abbasi26 merged 1 commit into
mainfrom
security/pin-python-deps
Nov 18, 2026
Merged

Abbasi26 merged 1 commit into
mainfrom
security/pin-python-deps

Conversation

@Abbasi26

Copy link
Copy Markdown
Owner

Pins Python dependencies to exact versions, prompted by the malicious agent-framework 1.26.1 / 1.26.2 releases on PyPI (17 Nov 2026, OSV MAL-2026-20101, Wiz). This project does not depend on agent-framework, and no .pth file is committed. The change only stops CI from resolving whatever is newest on PyPI at run time.

  • pyproject.toml: runtime, optional, dev and build-system requirements use == (latest release on 18 Nov 2026).
  • requirements-ci.txt: full dependency tree with SHA-256 hashes, generated with uv pip compile --universal --python-version 3.11 --generate-hashes (covers 3.11–3.13).
  • CI: pip install --require-hashes -r requirements-ci.txt, then pip install --no-deps -e ..

Local check: tests pass on Python 3.13 with the locked set.

Trade-off: version bumps (including security fixes in dependencies) now need a PR that updates both files.

@Abbasi26
Abbasi26 marked this pull request as ready for review November 18, 2026 07:06
@Abbasi26
Abbasi26 merged commit 37451d5 into main Nov 18, 2026
12 checks passed
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