Skip to content

[3.15] gh-149671: Restore compatibility with setuptools -nspkg.pth files in site module (GH-151319)#151489

Merged
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-18f3ffe-3.15
Jun 15, 2026
Merged

[3.15] gh-149671: Restore compatibility with setuptools -nspkg.pth files in site module (GH-151319)#151489
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-18f3ffe-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Inject the "sitedir" variable in the frame which executes ".pth" code.
(cherry picked from commit 18f3ffe)

Co-authored-by: Victor Stinner vstinner@python.org

…es in site module (pythonGH-151319)

Inject the "sitedir" variable in the frame which executes ".pth" code.
(cherry picked from commit 18f3ffe)

Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner vstinner enabled auto-merge (squash) June 15, 2026 08:31
@vstinner vstinner merged commit f7ab7c4 into python:3.15 Jun 15, 2026
55 checks passed
@miss-islington miss-islington deleted the backport-18f3ffe-3.15 branch June 15, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants