[Security] Pin Python dependencies for supply chain protection#6692
Draft
[Security] Pin Python dependencies for supply chain protection#6692
Conversation
Pin 36 previously-unpinned Python dependencies across 23 files (requirements.txt files and Dockerfiles) to exact versions. Changes by category: - requirements-tornado.txt: Pin PyYAML, tornado, pycryptodome, jinja2, psycopg2-binary, httpx to latest stable versions - requirements-fastapi.txt: Pin PyYAML, fastapi, uvicorn, requests, pycryptodome, python-multipart, jinja2, psycopg2-binary, itsdangerous to latest stable versions - requirements.txt (root): Pin matplotlib to 3.10.8 - 17 Dockerfiles: Pin django (version-appropriate per Python runtime), uvicorn, and gunicorn in pip install commands Django versions chosen per Python compatibility: - Python 2.7: django==1.11.29 - Python 3.7: django==3.2.25 - Python 3.8-3.9: django==4.2.29 - Python 3.10+: django==5.2.12 Part of incident #51987 supply chain protection campaign. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
|
|
✨ Fix all issues with BitsAI or with Cursor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pip installcommandsdjango==1.11.29django==3.2.25django==4.2.29django==5.2.12Part of incident #51987 supply chain protection campaign.
Files changed
Requirements files (16 deps pinned):
requirements.txt— matplotlibutils/build/docker/python/tornado/requirements-tornado.txt— PyYAML, tornado, pycryptodome, jinja2, psycopg2-binary, httpxutils/build/docker/python/fastapi/requirements-fastapi.txt— PyYAML, fastapi, uvicorn, requests, pycryptodome, python-multipart, jinja2, psycopg2-binary, itsdangerousDockerfiles (20 deps pinned across 17 files):
lib-injection/build/docker/python/— 8 Dockerfiles (django, uvicorn, gunicorn)utils/build/virtual_machine/weblogs/python/— 12 Dockerfiles (django)Test plan
🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com