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
Ensure venv works with source builds when using --copies #92897
Comments
… of the creating interpreter.
An example error when building psutil.
After the PR, this builds without error (kinda). There is a bug in setuptools that causes an additional error. This can be worked around by setting the environment variable |
I'll add that prior to 3.8 this problem did not occur. Just that source builds on Windows are a rare thing to start with much less compiling in virtual environments from a source build so this change in behavior has gone relatively unnoticed. |
Currently a venv created with
--copies
or on Windows doesn't respect thesysconfig.is_python_build()
property of the creating interpreter. This leads to compilation errors when attempting to build extensions in the virtual environment.The text was updated successfully, but these errors were encountered: