We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I can't seem to find out how to add optional dependencies within a group.
For example I'd like the last dependency to be an optional / extra install within the group_a:
group_a
[tool.poetry.group.group_a.dependencies] ipython = "^8.4.0" cython = "^0.29.33" numpy = "^1.22.3" statsmodels = "^0.13.2" mxnet = {version = "^1.9.1", optional = true} # Doesn't work with M1 Macs
I only want this to be optionally installable if group_a is installed.
I tried adding
[tool.poetry.extras] group_a = ["mxnet"]
And installing with poetry install -E group_a but this didn't work.
poetry install -E group_a
The text was updated successfully, but these errors were encountered:
duplicate #4842 please close
Sorry, something went wrong.
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.
No branches or pull requests
Issue
Hi, I can't seem to find out how to add optional dependencies within a group.
For example I'd like the last dependency to be an optional / extra install within the
group_a
:I only want this to be optionally installable if
group_a
is installed.I tried adding
And installing with
poetry install -E group_a
but this didn't work.The text was updated successfully, but these errors were encountered: