-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
some pip editable installs don't work with PEP 518 build isolation #1405
Comments
I got a similar error message. Does that mean |
You mean |
Oh yes, sorry for the typo.
Benoit Pierre <notifications@github.com> 於 2018年8月2日 週四 01:33 寫道:
… You mean pip install --user -e .?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1405 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB2RGTD8cVKieHbdjPMNpCDQcfyCDK5Pks5uMeZogaJpZM4U7Sol>
.
|
Unfortunately, yes: you'll have to manually install the required build dependencies and use |
Thanks for the workaround. That works! |
This is a problem affecting me big time. I'm trying to install modules with pip into a target for packaging up for AWS lambdas. This breaks a lot of automation (for https://github.com/awslabs/aws-sam-cli) |
@pganssle can you confirm a PR doing:
would be accepted? |
@gaborbernat Better to ask @benoit-pierre, he's also a maintainer of I don't have any objection to it, but I also don't understand what consequences there might be. @benoit-pierre were you uncertain about anything in this? |
No, I think it's the right move. |
…age; r=dustin Also stop using `--develop` (i.e. `-e`) when installing ci-admin in the check job. The addition of `pyproject.toml` triggers a pip bug[1], and we don't have a need to have an editable install. [1] pypa/setuptools#1405 Differential Revision: https://phabricator.services.mozilla.com/D20790
Can we make this happen? |
Was anyone able to find a workaround for this? I often test PRs for python modules and I am hitting this more and more often (as people start adopting PEP 518). This forces developer to install packages as root if they do not want to user a virtualenv. And not using a virtualenv is exactly what you want for testing compatibility with system python distribution. |
Well, if my PR were to be accepted, we wouldn't need a workaround anymore. 😇 |
Make easy_install command less strict (fixes #1405)
This is because of pip's build isolation when PEP 518 support is enabled and easy_install's behavior of:
PYTHONPATH
.--user
option if the user site is disabled:With easy_install being deprecated, and pip being perfectly happy to install to a target directory not in
PYTHONPATH
, I think:--user
option should always be available (with maybe a warning if the user site is disabled)PYTHONPATH
should be turned to a warningFor reference, related pip issue: pypa/pip#5317
The text was updated successfully, but these errors were encountered: