Title: 3.15.0a8 fails test_urllib2_localnet with OpenSSL 4.0.0beta1 · Issue #148292 · python/cpython · GitHub
Open Graph Title: 3.15.0a8 fails test_urllib2_localnet with OpenSSL 4.0.0beta1 · Issue #148292 · python/cpython
X Title: 3.15.0a8 fails test_urllib2_localnet with OpenSSL 4.0.0beta1 · Issue #148292 · python/cpython
Description: Bug report Bug description: When building Python 3.15.0a8 with OpenSSL 4.0.0beta1, which has just landed in Fedora Rawhide (not yet on the mirrors, only in the buildroot), we see the following test failures: =============================...
Open Graph Description: Bug report Bug description: When building Python 3.15.0a8 with OpenSSL 4.0.0beta1, which has just landed in Fedora Rawhide (not yet on the mirrors, only in the buildroot), we see the following test...
X Description: Bug report Bug description: When building Python 3.15.0a8 with OpenSSL 4.0.0beta1, which has just landed in Fedora Rawhide (not yet on the mirrors, only in the buildroot), we see the following test...
Opengraph URL: https://github.com/python/cpython/issues/148292
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3.15.0a8 fails test_urllib2_localnet with OpenSSL 4.0.0beta1","articleBody":"# Bug report\n\n### Bug description:\n\nWhen building Python 3.15.0a8 with OpenSSL 4.0.0beta1, which has just landed in Fedora Rawhide (not yet on the mirrors, only in the buildroot), we see the following test failures:\n\n```pytb\n======================================================================\nERROR: test_https (test.test_urllib2_localnet.TestUrlopen.test_https)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/test/test_urllib2_localnet.py\", line 569, in test_https\n data = self.urlopen(\"https://localhost:%s/bizarre\" % handler.port, context=context)\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/test/test_urllib2_localnet.py\", line 473, in urlopen\n l.extend(f.readlines(200))\n ~~~~~~~~~~~^^^^^\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/http/client.py\", line 714, in readline\n result = self.fp.readline(limit)\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/socket.py\", line 734, in readinto\n return self._sock.recv_into(b)\n ~~~~~~~~~~~~~~~~~~~~^^^\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/ssl.py\", line 1355, in recv_into\n return self.read(nbytes, buffer)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/ssl.py\", line 1154, in read\n return self._sslobj.read(len, buffer)\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^\nssl.SSLError: A failure in the SSL library occurred (_ssl.c:2982)\n======================================================================\nERROR: test_https_sni (test.test_urllib2_localnet.TestUrlopen.test_https_sni)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/test/test_urllib2_localnet.py\", line 585, in test_https_sni\n self.urlopen(\"https://localhost:%s\" % handler.port, context=context)\n ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/test/test_urllib2_localnet.py\", line 473, in urlopen\n l.extend(f.readlines(200))\n ~~~~~~~~~~~^^^^^\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/http/client.py\", line 714, in readline\n result = self.fp.readline(limit)\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/socket.py\", line 734, in readinto\n return self._sock.recv_into(b)\n ~~~~~~~~~~~~~~~~~~~~^^^\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/ssl.py\", line 1355, in recv_into\n return self.read(nbytes, buffer)\n ~~~~~~~~~^^^^^^^^^^^^^^^^\n File \"/builddir/build/BUILD/python3.15-3.15.0_a8-build/Python-3.15.0a8/Lib/ssl.py\", line 1154, in read\n return self._sslobj.read(len, buffer)\n ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^\nssl.SSLError: A failure in the SSL library occurred (_ssl.c:2982)\n----------------------------------------------------------------------\nRan 2 tests in 0.142s\nFAILED (errors=2)\n```\n\nConsidering https://github.com/python/cpython/issues/146207 is closed, I thought I better let you know.\n\n\n### CPython versions tested on:\n\n3.15\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-148602\n* gh-149102\n* gh-149366\n* gh-149783\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/hroncok","@type":"Person","name":"hroncok"},"datePublished":"2026-04-09T11:35:58Z","url":"https://github.com/python/cpython/issues/148292"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d76dc99a-faab-83f0-5632-921f575ed742 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B306:E0ADF:16C48E8:1CB7DB2:6B021B58 |
| html-safe-nonce | 8d118b09f16fac3b2900008dce75e1fa0d9a4a8926dc48b51a75dbbd0e4f1618 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzA2OkUwQURGOjE2QzQ4RTg6MUNCN0RCMjo2QjAyMUI1OCIsInZpc2l0b3JfaWQiOiIyMzM2ODQ1MDU5OTA5MDk4MzI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 612d7d5f2fb80a405b9c92854a76efc5d26ee653bf651f51510bda4d3d0d1311 |
| hovercard-subject-tag | issue:4231843656 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/148292/issue_layout |
| twitter:image | https://opengraph.githubassets.com/911feb00a37b720d07c47523d90d4b651c028848bde413ff6d75a3248b8551a1/python/cpython/issues/148292 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/911feb00a37b720d07c47523d90d4b651c028848bde413ff6d75a3248b8551a1/python/cpython/issues/148292 |
| og:image:alt | Bug report Bug description: When building Python 3.15.0a8 with OpenSSL 4.0.0beta1, which has just landed in Fedora Rawhide (not yet on the mirrors, only in the buildroot), we see the following test... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hroncok |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width