-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Ensure venv works with source builds when using --copies #92897
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
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. |
…roperty of the creating interpreter (pythonGH-92899) (cherry picked from commit 0675975) Co-authored-by: Jeremy Kloth <[email protected]>
… of the creating interpreter (pythonGH-92899) (cherry picked from commit 0675975)
…y of the creating interpreter (GH-92899) (GH-94567) (cherry picked from commit 0675975) Co-authored-by: Jeremy Kloth <[email protected]>
Closing, as PRs merged for |
Is there any plan for the removal of the Keeping deprecated as-is doesn't really create much maintenance burden, and removing it can break user code, though searching for such usages on Github didn't yield any results. Perhaps we could schedule its removal for 3.15 or 3.16, and clearly state that in the deprecation warning? What do you folks think? |
The deprecated check_home parameter can be removed in Python 3.15. |
Signed-off-by: Filipe Laíns <[email protected]>
…ythonGH-129102) (cherry picked from commit e52ab56) Co-authored-by: Filipe Laíns 🇵🇸 <[email protected]>
…ythonGH-129102) (cherry picked from commit e52ab56) Co-authored-by: Filipe Laíns 🇵🇸 <[email protected]>
…) (#130583) Co-authored-by: Filipe Laíns 🇵🇸 <[email protected]>
…) (#130585) Co-authored-by: Filipe Laíns 🇵🇸 <[email protected]>
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.Linked PRs
check_home
inDoc/whatsnew/3.15.rst
#133815The text was updated successfully, but these errors were encountered: