Replies: 1 comment 4 replies
-
Currently there are no commands/goals in Pants to manage your requirements. *see edit below. Using a pyproject.toml however allows you to use Poetry for requirements management, and can then use that in your Pants based project. EDIT Oct 2022: Just feel like clarifying, that Pants do offer to generate lockfiles from your input requirements, so it is a matter of managing the list of requirements along with any constraints and then regenerating the lockfiles using Pants to get the latest compatible set of dependencies satisfying all constraints given. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been evaluating pants and I must say it looks quite amazing!
One thing I can't seem to wrap my head around though is how I can update my third-party dependencies in a python based project. Coming from poetry for all my dependency management I expect there to be some sort of command that helps me update minor versions and even show what dependencies are outdated.
I've tried to play around with the poetry integration, but as far as I can tell the only thing really supported by the
poetry_requirements
is parsing of apyproject.toml
, I can't depend on Poetry's CLI commands as I would previously, which makes sense as Poetry doesn't understand the full scope of an entire Pants based project.What is the recommended workflow for checking outdated dependencies and updating them? Am I missing something here or is there really no workflow provided by pants to help with this?
Beta Was this translation helpful? Give feedback.
All reactions