✨ added requirement.txt to track dependencies#20
✨ added requirement.txt to track dependencies#20nwerker wants to merge 1 commit intoserverscom:mainfrom
Conversation
|
We use poetry for dependency management, with all dependencies listed in poetry.lock (which are calculated from pyproject.toml). Can you elaborate what exactly |
|
In this case ansible-builder the tool used to build execution environments automatically detects the python requirements in requirements.txt and installs it automatically, without the need to further specifiy it. This will help streamline the build process of said exeuction environments for everybody using awx / ansible automation platform! afaik pyproject.tom or poetry.lock can't be used by ansible-builder! Maybe we can leverage poetry / pyproject.toml to automatically render the requirement.txt. I can understand that you don't want to maintain the dependencies in more than one place! |
|
Poetry can generate requirements.txt, but it does it from a lock file (that means, all versions of all packages is pinned down with exact version, down to hash). Will it work for you? I don't want to keep two sources of dependencies (e.g. concurrent 'vague' requirements.txt and pyproject.toml), it causes confusion if they start to drift apart. |
This PR should be sufficient to add all dependencies for fully automated dependency mapping, when building execution environments that include this collection. See #19