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

gh-122334: Fix test_embed failure when missing _ssl module #122630

Merged
merged 3 commits into from
Aug 3, 2024

Conversation

neonene
Copy link
Contributor

@neonene neonene commented Aug 2, 2024

Fixes the test_embed failure in some buildbots introduced by 9fc1c99 (gh-122481).
If checking the _ssl module is not enough, I'll make the test more generic using _testinternalcapi.

This patch should be backportable to both 3.13 and 3.12.

cc @kumaraditya303 @ericsnowcurrently: Sorry for the trouble.

@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label Aug 2, 2024
@neonene neonene changed the title gh-122334: Fix test_embed when missing _ssl module gh-122334: Fix test_embed failure when missing _ssl module Aug 2, 2024
@neonene
Copy link
Contributor Author

neonene commented Aug 2, 2024

Could anyone trigger the buildbots? Thanks.

Lib/test/test_embed.py Outdated Show resolved Hide resolved
@encukou
Copy link
Member

encukou commented Aug 3, 2024

!buildbot x86-64 MacOS Intel ASAN NoGIL

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @encukou for commit 5407327 🤖

The command will test the builders whose names match following regular expression: x86-64 MacOS Intel ASAN NoGIL

The builders matched are:

  • x86-64 MacOS Intel ASAN NoGIL PR

@encukou
Copy link
Member

encukou commented Aug 3, 2024

!buildbot AMD64 RHEL7

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @encukou for commit 5407327 🤖

The command will test the builders whose names match following regular expression: AMD64 RHEL7

The builders matched are:

  • AMD64 RHEL7 LTO PR
  • AMD64 RHEL7 Refleaks PR
  • AMD64 RHEL7 PR
  • AMD64 RHEL7 LTO + PGO PR

@encukou encukou added skip news needs backport to 3.13 bugs and security fixes needs backport to 3.12 bug and security fixes labels Aug 3, 2024
@encukou
Copy link
Member

encukou commented Aug 3, 2024

Whoa, that's a lot more buildbots than what I asked for. I filed python/buildmaster-config#509

@encukou encukou merged commit 50b3603 into python:main Aug 3, 2024
120 of 137 checks passed
@miss-islington-app
Copy link

Thanks @neonene for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 3, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 3, 2024
@bedevere-app
Copy link

bedevere-app bot commented Aug 3, 2024

GH-122647 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 Aug 3, 2024
@bedevere-app
Copy link

bedevere-app bot commented Aug 3, 2024

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

@bedevere-app bedevere-app bot removed the needs backport to 3.12 bug and security fixes label Aug 3, 2024
@neonene
Copy link
Contributor Author

neonene commented Aug 3, 2024

Thank you.

@neonene neonene deleted the fix-embed branch August 3, 2024 17:16
Yhg1s pushed a commit that referenced this pull request Aug 6, 2024
…-122630) (#122648)

gh-122334: Fix test_embed failure when missing _ssl module (GH-122630)
(cherry picked from commit 50b3603)

Co-authored-by: neonene <[email protected]>
Co-authored-by: Wulian233 <[email protected]>
Yhg1s pushed a commit that referenced this pull request Aug 6, 2024
…-122630) (#122647)

gh-122334: Fix test_embed failure when missing _ssl module (GH-122630)
(cherry picked from commit 50b3603)

Co-authored-by: neonene <[email protected]>
Co-authored-by: Wulian233 <[email protected]>
brandtbucher pushed a commit to brandtbucher/cpython that referenced this pull request Aug 7, 2024
blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants