-
Notifications
You must be signed in to change notification settings - Fork 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
Installing poetry project results in get pip._vendor.pep517.wrappers.BackendUnavailable #6100
Comments
I am having this same problem, python 3.6.4 on Ubuntu 16.04, pip @ 2a902dd |
However, the
Hopefully, the traceback for the import error will give a better indication of why the backend isn't importing. |
@pfmoore it looks like
If I change my pyproject.toml to include "setuptools" as a requirement, it works fine:
It seems to me that hiding the traceback may lead to more confusion like this in the future. |
See pypa/pyproject-hooks#10 - agreed, hiding the traceback detail is not ideal. |
It looks like @cjerdonek has captured the need to show traceback details for build backends in #6634. Is there anything else actionable here? |
Yea, not to my knowledge. |
Okai. I'll reopen since if #6634 doesn't cover this, this isn't addressed. |
Same here, I can't install aiohttp on Python 3.9. |
tox.ini: Call poetry in tox.ini again, as this way we can ensure to install all packages based on the lock file. Additionally, this allows to properly and selectively install extras, required e.g. by the coverage target (as to not install pyalpm for all targets). .gitlab-ci.yml: Install python-poetry to test environment. pyproject.toml: Add setuptools to build requirements because of bug in pip: pypa/pip#6100
tox.ini: Call poetry in tox.ini again, as this way we can ensure to install all packages based on the lock file. Additionally, this allows to properly and selectively install extras, required e.g. by the coverage target (as to not install pyalpm for all targets). .gitlab-ci.yml: Install python-poetry to test environment. pyproject.toml: Add setuptools to build requirements because of bug in pip: pypa/pip#6100
tox.ini: Call poetry in tox.ini again, as this way we can ensure to install all packages based on the lock file. Additionally, this allows to properly and selectively install extras, required e.g. by the coverage target (as to not install pyalpm for all targets). .gitlab-ci.yml: Install python-poetry to test environment. pyproject.toml: Add setuptools to build requirements because of bug in pip: pypa/pip#6100
Environment
Description
I have a pyproject.toml with
I expected the pep 517 implementation to be able to handle pip installs of the source code.
Expected behavior
Successfully install package using pyproject.toml to define a build system other than setup.py.
How to Reproduce
pip install -e .
orpip install .
on a project without a setup.pyOutput
poetry>=0.12 is installed:
The text was updated successfully, but these errors were encountered: