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
Hi,
I have a project which has nested optional dependencies, for example
[project.optional-dependencies]
foo_bar = []
dev = ["sampleproject[foo_bar]"]
running pip install .[dev] prints
WARNING: sampleproject 3.0.0 does not provide the extra 'foo-bar'
even though I have never requested extra foo-bar. It seems to me like flit assumes extra dependencies are always in kebab-case. Is this behaviour expected?
The text was updated successfully, but these errors were encountered:
The normalisation to kebab-case isn't actually implemented yet - it's part of PR #676 - but I don't think that will change pip's behaviour on this. I'm not sure whether depending on an extra in your own project is exactly expected - possibly this doesn't work right when you're installing from a local folder rather than a package index.
Hi,
I have a project which has nested optional dependencies, for example
running
pip install .[dev]
printseven though I have never requested extra
foo-bar
. It seems to me like flit assumes extra dependencies are always in kebab-case. Is this behaviour expected?The text was updated successfully, but these errors were encountered: