Title: 3.11.5 test_httpservers fails on unhandled DeprecationWarning ("invalid escape sequence '\\?'") · Issue #108569 · python/cpython · GitHub
Open Graph Title: 3.11.5 test_httpservers fails on unhandled DeprecationWarning ("invalid escape sequence '\\?'") · Issue #108569 · python/cpython
X Title: 3.11.5 test_httpservers fails on unhandled DeprecationWarning ("invalid escape sequence '\\?'") · Issue #108569 · python/cpython
Description: Bug report Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CPython versions tested on: 3.11 Operating...
Open Graph Description: Bug report Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CP...
X Description: Bug report Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CP...
Opengraph URL: https://github.com/python/cpython/issues/108569
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3.11.5 test_httpservers fails on unhandled DeprecationWarning (\"invalid escape sequence '\\\\?'\")","articleBody":"# Bug report\n\n### Checklist\n\n- [X] I am confident this is a bug in CPython, not a bug in a third-party project\n- [X] I have searched the [CPython issue tracker](https://github.com/python/cpython/issues?q=is%3Aissue+sort%3Acreated-desc),\nand am confident this bug has not been reported before\n\n\n### CPython versions tested on:\n\n3.11\n\n### Operating systems tested on:\n\nLinux\n\n### Output from running 'python -VV' on the command line:\n\nPython 3.11.3 (main, Jun 5 2023, 09:32:32) [GCC 13.1.1 20230429]\n\n### A clear and concise description of the bug:\n\nHi! When attempting to upgrade the python package for Arch Linux to 3.11.5 I ran into the following test issue:\n\n```\n[..]\ntest.test_httpservers\nFAIL\n\n======================================================================\nFAIL: test_all (test.test___all__.AllTest.test_all)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/build/python/src/Python-3.11.5/Lib/test/test___all__.py\", line 129, in test_all\n self.check_all(modname)\n File \"/build/python/src/Python-3.11.5/Lib/test/test___all__.py\", line 43, in check_all\n with warnings_helper.check_warnings(\n File \"/build/python/src/Python-3.11.5/Lib/contextlib.py\", line 144, in __exit__\n next(self.gen)\n File \"/build/python/src/Python-3.11.5/Lib/test/support/warnings_helper.py\", line 185, in _filterwarnings\n raise AssertionError(\"unhandled warning %s\" % reraise[0])\nAssertionError: unhandled warning {message : DeprecationWarning(\"invalid escape sequence '\\\\?'\"), category : 'DeprecationWarning', filename : '/build/python/src/Python-3.11.5/Lib/test/test_httpservers.py', lineno : 445, line : None}\n\n----------------------------------------------------------------------\nRan 1 test in 0.621s\n\nFAILED (failures=1)\ntest test___all__ failed\n0:00:05 load avg: 3.34 [ 12/432/1] test___future__ -- test___all__ failed (1 failure)\ntest_attributes (test.test___future__.FutureTest.test_attributes) ... ok\ntest_names (test.test___future__.FutureTest.test_names) ... ok\n\n----------------------------------------------------------------------\nRan 2 tests in 0.000s\n[..]\n```\n\nFull build and check logs:\n[python-3.11.5-1-x86_64-build.log](https://github.com/python/cpython/files/12455747/python-3.11.5-1-x86_64-build.log)\n[python-3.11.5-1-x86_64-check.log](https://github.com/python/cpython/files/12455746/python-3.11.5-1-x86_64-check.log)\n\nBuild script for the package: https://gitlab.archlinux.org/archlinux/packaging/packages/python/-/blob/main/PKGBUILD\n\ncc @felixonmars ","author":{"url":"https://github.com/dvzrv","@type":"Person","name":"dvzrv"},"datePublished":"2023-08-28T15:14:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/108569/cpython/issues/108569"}
| 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:e5a1e357-4e56-0677-321f-196f6b3fb98f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7F8:6F200:9AF40B:D417E0:6969EDFF |
| html-safe-nonce | 89f8f7cb299e54dfb1206563441578fc9815808fa3386fb975684adabd8bd5d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0Y4OjZGMjAwOjlBRjQwQjpENDE3RTA6Njk2OUVERkYiLCJ2aXNpdG9yX2lkIjoiNTUyNzA5Nzg2Nzg4NTU2Mjg3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | af2d2edcc4e2587796a3a5b9d2f6f4154b2a670d955310f6e95b190f796daf2e |
| hovercard-subject-tag | issue:1869961716 |
| 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/108569/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e0375e417591aaa133ab97b127f2215648e99898c55d218940a8b375af5acb3/python/cpython/issues/108569 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e0375e417591aaa133ab97b127f2215648e99898c55d218940a8b375af5acb3/python/cpython/issues/108569 |
| og:image:alt | Bug report Checklist I am confident this is a bug in CPython, not a bug in a third-party project I have searched the CPython issue tracker, and am confident this bug has not been reported before CP... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dvzrv |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width