<#20752 Relax dependencies of `pantsbuild.pants`> ...
# github-notifications
c
#20752 Relax dependencies of `pantsbuild.pants` Issue created by agoblet Is your feature request related to a problem? Please describe. The
pantsbuild.pants
Python package that is used for developing plugins has very tight dependencies (e.g.
typing-extensions==4.3.0
,
packaging==21.3
). This makes it harder to put it into the default lockfile of a project. It would be great if I could add
pantsbuild.pants
into the default lockfile of my project, such that I can develop both plugins and other Python code from the same virtual environment. Describe the solution you'd like Is it possible to relax the version constraints of the dependencies? For each dependency, it would be great to have a range of options, rather than a single pinned version. Describe alternatives you've considered As an alternative the
pantsbuild.pants
can be installed in a separate resolve. This is a bit cumbersome during development but not a blocking issue. I will do this for now, but hope that others see the value of solving this issue as well. Additional context • Pants 2.19.1 • Example dependency conflict:
typing-extensions==4.3.0
clashes with the popular python package Pydantic pantsbuild/pants