Skip to content
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

build uninstalls setuptools in a venv #109

Closed
henryiii opened this issue Sep 30, 2020 · 2 comments
Closed

build uninstalls setuptools in a venv #109

henryiii opened this issue Sep 30, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@henryiii
Copy link
Contributor

henryiii commented Sep 30, 2020

When you run from inside a venv (in my case, a venv inside conda), then python -m build uninstalls setuptools after running python -m build.

And then, on a second run, it immediately breaks, even with setuptools listed in the requires clause (assuming it is needed for ensurepip, perhaps?)

python3 -m venv venv
. venv/bin/activate.fish
python -m pip install build
python -m build
# setuptools is now gone
python -m build
ERROR Backend 'setuptools.build_meta' is not available

Probably closely related to #97 . I am in the same anaconda python3.7 env described in #108, only now with a "setuptools>=42" requirement.

@FFY00
Copy link
Member

FFY00 commented Oct 1, 2020

Yeah, sorry about that 😕

Can you try #99 and see if it fixes it for you? I will come back to it this month and try to get it finally merged.

@FFY00 FFY00 added the bug Something isn't working label Oct 5, 2020
@gaborbernat
Copy link
Contributor

This should no longer be the case with the new isolated build methods.

@pypa pypa locked and limited conversation to collaborators Jan 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants