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

test.pythoninfo no longer requires socket #93191

Merged
merged 1 commit into from
May 25, 2022
Merged

test.pythoninfo no longer requires socket #93191

merged 1 commit into from
May 25, 2022

Conversation

vstinner
Copy link
Member

test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.

test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.
@vstinner
Copy link
Member Author

Fix this buildbot failure: https://buildbot.python.org/all/#builders/483/builds/2438

The _socket extension failed to build:

Modules/socketmodule.h:301:5: error: unknown type name 'SOCKADDR_HV'

@vstinner
Copy link
Member Author

The _socket extension failed to build

I proposed #93192 to fix it.

@vstinner vstinner merged commit 4a31ed8 into python:main May 25, 2022
@vstinner vstinner deleted the pythoninfo_socket branch May 25, 2022 00:11
@vstinner vstinner added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels May 25, 2022
@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

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

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label May 25, 2022
@bedevere-bot
Copy link

GH-93194 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 25, 2022
test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.
(cherry picked from commit 4a31ed8)

Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 25, 2022
test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.
(cherry picked from commit 4a31ed8)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label May 25, 2022
@bedevere-bot
Copy link

GH-93195 is a backport of this pull request to the 3.11 branch.

miss-islington added a commit that referenced this pull request May 25, 2022
test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.
(cherry picked from commit 4a31ed8)

Co-authored-by: Victor Stinner <vstinner@python.org>
miss-islington added a commit that referenced this pull request May 25, 2022
test.pythoninfo no longer fails if "import socket" fails: the socket
module is now optional.
(cherry picked from commit 4a31ed8)

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.

3 participants