Skip to content

[Security] Pin Python dependencies and add lockfiles#412

Draft
SeanMeyer wants to merge 1 commit intoDataDog:mainfrom
SeanMeyer:security/pin-python-deps
Draft

[Security] Pin Python dependencies and add lockfiles#412
SeanMeyer wants to merge 1 commit intoDataDog:mainfrom
SeanMeyer:security/pin-python-deps

Conversation

@SeanMeyer
Copy link
Copy Markdown

Summary

  • Pin all Poetry dependencies to exact versions (remove ^ ranges) in both pyproject.toml files
  • Add poetry.lock files for reproducible, auditable installs
  • Remove poetry.lock from .gitignore so lockfiles are tracked in version control

Files changed

  • pyproject.toml — pin mkdocs, mkdocs-material, mkdocs-awesome-pages-plugin, markdown-captions
  • scripts/dashboard-demo/pyproject.toml — pin gremlinpython, panel, watchfiles, async-timeout, nest-asyncio
  • poetry.lock and scripts/dashboard-demo/poetry.lock — newly generated lockfiles
  • .gitignore — stop ignoring poetry.lock

Context

Part of incident #51987 supply chain protection campaign. Pinning dependencies to exact versions and committing lockfiles prevents unexpected dependency resolution changes and makes the dependency tree auditable.

Test plan

  • Verify poetry install succeeds with the lockfile in both directories
  • Verify mkdocs site builds correctly
  • Verify dashboard-demo still works

🤖 Generated with Claude Code

Pin all Poetry dependencies to exact versions (removing ^ ranges) and
add poetry.lock files for both the root docs project and
scripts/dashboard-demo. Remove poetry.lock from .gitignore so lockfiles
are tracked for reproducible, auditable installs.

Part of incident #51987 supply chain protection.

Co-Authored-By: Claude Opus 4.6 (1M context) <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