-
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
Cannot install pyproject.toml packages as path dependencies #5965
Comments
duplicate #5655, apparently fixed by python-poetry/poetry-core#368 I've lost track of what's in the latest beta, you may need to wait for the next release to verify. |
Duplicate of #5655 |
Do you have an estimate of when that will be? |
In case someone finds this searching for “does not seem to be a Python package”: The pyproject.toml of the dependency has to have a
I'm guessing this is about to be fixed in the next release through this commit. |
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
A Rust extension managed by Maturin has a
pyproject.toml
file withbuild-system.requires
properly set to compile and package the Rust code.Installing such a package is as simple as
pip install <path-to-package>
.When added as a path dependency in a Poetry project:
project = { path = "../project", develop = false }
,poetry update
fails with:Directory /home/[REDACTED]/project does not seem to be a Python package
poetry/core/packages/directory_dependency.py:53
accepts dependencies that are either a Poetrypyproject.toml
, or have asetup.py
file.pyproject.toml
is a standard Python packaging file, and Poetry should accept installing a non-Poetry project that uses this format.The text was updated successfully, but these errors were encountered: