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

Make virtualenv use sysconfig to find paths #49649

Merged
merged 1 commit into from
Dec 12, 2024

Conversation

gsnedders
Copy link
Member

Instead of having our own copies of what we believe paths should be, or manually mutating what sysconfig returns for other variables, we should just delegate all of this to sysconfig in the standard way.

This fixes #49545, fixing Python 3.12.8 support, where sysconfig stopped overly caching certain variables, thus leading to oddities after we've rewritten sys.exec_prefix and sys.prefix.

Instead of having our own copies of what we believe paths should be,
or manually mutating what sysconfig returns for other variables, we
should just delegate all of this to sysconfig in the standard way.

This fixes web-platform-tests#49545, fixing Python 3.12.8 support, where sysconfig
stopped overly caching certain variables, thus leading to oddities
after we've rewritten sys.exec_prefix and sys.prefix.
@gsnedders gsnedders merged commit 26b18ca into web-platform-tests:master Dec 12, 2024
34 checks passed
@gsnedders gsnedders deleted the py3.12.8 branch December 12, 2024 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tools/wpt tests failing on Python 3.12.8
4 participants