Skip to content

Make virtualenv use sysconfig to find paths#49649

Merged
gsnedders merged 1 commit intoweb-platform-tests:masterfrom
gsnedders:py3.12.8
Dec 12, 2024
Merged

Make virtualenv use sysconfig to find paths#49649
gsnedders merged 1 commit intoweb-platform-tests:masterfrom
gsnedders:py3.12.8

Conversation

@gsnedders
Copy link
Copy Markdown
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
@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