GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — gh-92897: Ensure `venv --copies` respects source build property of the creating interpreter (GH-92899) by jkloth · Pull Request #92899 · python/cpython Conversation
|
|
Don't touch distutils - it's going to be deleted in this release anyway, and there are no maintenance releases where it is undeprecated. If we're using it within the stdlib, update the references elsewhere. If setuptools is impacted, they need the patch. I haven't looked any deeper than that - it's late. I'll try and take a look later this week |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The changes to distutils are only to keep it from raising exceptions. Since it is being removed, I saw no need to keep private functions around just for use within distutils which would prevent a more straight forward implementation. Hence the modifications to distutils. The changes to stdlib |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
In practice, setuptools now injects its own distutils flavor, so I am not sure that it's worth it to modify it here. At least, you should get your change merged first in https://github.com/pypa/distutils/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
To make it absolutely clear, the changes here to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, and appears to handle the case on Windows where a venv is created from a source build. I can only assume the behaviour is correct on other platforms?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
As far as other platforms go, it is tested on Ubuntu (WSL). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
venv --copies respects source build property of the creating interpretervenv --copies respects source build property of the creating interpreter (GH-92899)
|
Sorry, @jkloth and @vsajip, I could not cleanly backport this to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry @jkloth and @vsajip, I had trouble checking out the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…roperty of the creating interpreter (pythonGH-92899) (cherry picked from commit 0675975) Co-authored-by: Jeremy Kloth <[email protected]>
|
GH-94567 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
… of the creating interpreter (pythonGH-92899) (cherry picked from commit 0675975)
|
GH-94572 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…y of the creating interpreter (GH-92899) (GH-94567) (cherry picked from commit 0675975) Co-authored-by: Jeremy Kloth <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.