Skip to content

Use pip tools to generate the full dependency tree#1727

Merged
fosterseth merged 2 commits intoansible:develfrom
oraNod:pin-requirements
Feb 28, 2024
Merged

Use pip tools to generate the full dependency tree#1727
fosterseth merged 2 commits intoansible:develfrom
oraNod:pin-requirements

Conversation

@oraNod
Copy link
Copy Markdown
Contributor

@oraNod oraNod commented Feb 22, 2024

SUMMARY

This PR changes the docs requirements to use pip-tools to generate the full dependency tree. This allows us to declare only the direct dependencies in the requirements.in file. All transitive dependencies and pins are compiled into the requirements.txt lock file. This also aligns with doc requirements in the AWX repo.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
ADDITIONAL INFORMATION

As a follow on it would be good to add the pip-compile command to either tox or nox. An additional follow on would be to enable dependabot to automatically bump these dependencies.

@fosterseth fosterseth merged commit e1c0e33 into ansible:devel Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants