-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Extras in dev dependencies never installs? #6177
Comments
just make it not a dev dependency? |
But |
and it being both optional and in the "docs" extra is sufficient to express that, you don't also need to make it a dev dependency. poetry 1.2's groups offer a different way to arrange such things which you might find more intuitive, meantime just make this not a dev dependency. |
Hmm okay that is somewhat confusing, but it might be my inexperience w/ poetry. Few questions if you're able to answer:
|
|
Thanks! |
please close the issue then, thanks |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
-vvv
option).Issue
I am trying to install different sets of dev dependencies to limit the stuff our CI needs to install. E.g. there is a testing job, building documentation job, and checking style job. Right now, I have an "extras" dependency for "docs", as done in https://python-poetry.org/docs/pyproject/#extras. However, no matter what I run, for example,
matplotlib
is never installed.I run
When I show the versions:
poetry show
,matplotlib
and the "docs" dependencies are always "red". Not sure what the color coding means either, but I presume this means its not installed. So I'm not sure what's going on here. When I run the following:Here is the contents of my
pyproject.toml
.The text was updated successfully, but these errors were encountered: