Skip to content

gh-127906: Add missing sys import to test_cppext #132902

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

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 25, 2025

@AA-Turner
Copy link
Member

I opened #132903 at the same time!

@vstinner
Copy link
Member Author

It's unclear to me how the code worked before without the sys import.

I opened #132903 at the same time!

4 minutes after me, that's fun :-D I prefer to attach the change to #127906 which introduced the code. The setuptools update is just the trigger to spot the bug.

@vstinner vstinner merged commit 9cba148 into python:main Apr 25, 2025
44 checks passed
@vstinner vstinner deleted the test_cppext branch April 25, 2025 08:19
@miss-islington-app
Copy link

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 25, 2025
(cherry picked from commit 9cba148)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app
Copy link

bedevere-app bot commented Apr 25, 2025

GH-132904 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Apr 25, 2025
@vstinner vstinner added the needs backport to 3.12 only security fixes label Apr 25, 2025
@miss-islington-app
Copy link

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 25, 2025
(cherry picked from commit 9cba148)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app
Copy link

bedevere-app bot commented Apr 25, 2025

GH-132905 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Apr 25, 2025
vstinner added a commit that referenced this pull request Apr 25, 2025
…132904)

gh-127906: Add missing sys import to test_cppext (GH-132902)
(cherry picked from commit 9cba148)

Co-authored-by: Victor Stinner <vstinner@python.org>
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.

2 participants