-
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
pip install throws ValueError when installing a package built with poetry #3419
Comments
Sounds like #2174 to me. The potential fix python-poetry/poetry-core#101 has been merged in poetry-core's |
@sinoroc How do I test this fix? |
I am not sure. Maybe in the
|
@sinoroc So just need to wait for the next |
Great!
You could comment on the PR and lobby for a new release of poetry-core. There were a couple of interesting fixes since v1.0.0. |
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'm experimenting with monorepos, and I want to manage multiple packages under the same git repository.
Because of that, I want all of them to have the same dev-dependencies. so I decided to add another package for the common stuff.
This is my
pyproject.toml
:As you can see,
common-dev
is a path dependency under thedev-dependencies
section.I want to install this package with pip, so I built it using
poetry build
command, nothing special here.I tried installing the
.whl
file - everything works as expectedBut when I tried installing the
tar.gz
I get the following message:Looks like poetry tries to resolve
common-dev
even though it's a dev-dependency.(This error also occurs when trying to install from path)
The text was updated successfully, but these errors were encountered: