-
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
Editable installs fail when poetry.core is declared as build-system #2956
Comments
@albertogomcas why I think it works for the Seems you are not able to use If you want to trace whats happening, try passing in |
I'm running into the same issue. Note that adding
|
I couldn't get this working. There are two issues with the suggestions described above:
I miss being able to editable-install my Poetry-managed project into an arbitrary virtualenv for debugging purposes. I now need to fall back to installing in non-editable mode over and over. |
Editable installs for PEP-517 compliant backend wasn't possible for a long time, because it wasn't defined how to do this. This has changed with PEP 660. The hook is already implemented in |
@finswimmer any hint when that may make to the release? It does not seem it is enough to install
|
See https://python-poetry.org/docs/faq/#is-tox-supported: The following works for me in pyproject.toml:
|
This allows editable installs of packages without a setup.py, a la ``` pip install -e derivative ``` PEP-660 supported by poetry.core ~=1.0.0. Following recommendation in python-poetry/poetry#2956 (comment) and https://python-poetry.org/docs/faq/#is-tox-supported
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. |
I have created a minimal package to demonstrate this problem (which I have in a real library).
The setup.py file is:
The pyproject.toml file is:
As is above,
pip install -e .
fails with:However, if I comment the build system lines with core and use instead the upper two:
I believe the option that works is actually deprecated (?)
The text was updated successfully, but these errors were encountered: