You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though pip allows/standardizes non-lowercase "extras", Poetry does not. It's especially confusing because it silently ignores any "extras" that don't match. I assume this isn't an issue for a most people, because most places use short, lowercase extras; however, Kedro is an example that advocates for mixed-case extras in its docs. Since pip allows it, it would be great if Poetry did, too (our team got burned on it at least twice!).
-vvv
option).macOS 10.14.6
1.1.6
Issue
Even though pip allows/standardizes non-lowercase "extras", Poetry does not. It's especially confusing because it silently ignores any "extras" that don't match. I assume this isn't an issue for a most people, because most places use short, lowercase extras; however, Kedro is an example that advocates for mixed-case extras in its docs. Since pip allows it, it would be great if Poetry did, too (our team got burned on it at least twice!).
One way to reproduce this issue (using Conda):
Kedro gets installed, but pandas does not.
poetry add kedro[pandas.csvdataset]
will fix the installation.The way I figured out what was happening was thanks to a very helpful explanation from @sdispater in #79 (comment). https://pypi.org/pypi/kedro/json indeed yields all-lowercase "extras" in
requires_dist
.The text was updated successfully, but these errors were encountered: