-
-
Notifications
You must be signed in to change notification settings - Fork 614
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support dependency groups from poetry #1706
Labels
feature
Request for a new feature
Comments
Currently not, because it seems pip-tools builds wheels to get |
As this is a poetry extension, I believe it's fair not to support it until a pep is accepted |
|
Let's move this to #2062. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the problem this feature will solve?
Is it possible to support Poetry groups via
--extra
? It seems that they are not (yet) supportedPoetry supports both "extras" and "dependency groups". pip-compile supports "extras" but (afaik) does not support "dependency groups".
Poetry encourages the use of "dependency groups" for e.g. dev requirements.
Describe the solution you'd like
Poetry encourages the use of a "dev" group for dependencies. From the Poetry docs
Further, poetry encourages dev dependencies to be put into a group:
$ poetry add --dev black The --dev option is deprecated, use the `--group dev` notation instead.
An an example, if I include isort in "extras" via
pip-compile -v --extra dev -o dev-requirements.txt pyproject.toml
isort will be included in requirementsHowever when I use the
dev
group it will not be inlcudedAlternative Solutions
As a workaround, I can use
extra
with a list of dev dependencies.Additional context
The text was updated successfully, but these errors were encountered: