Title: Both test_flush_reparse_deferral_disabled tests fail with older libexpat (2.4.4) · Issue #117187 · python/cpython · GitHub
Open Graph Title: Both test_flush_reparse_deferral_disabled tests fail with older libexpat (2.4.4) · Issue #117187 · python/cpython
X Title: Both test_flush_reparse_deferral_disabled tests fail with older libexpat (2.4.4) · Issue #117187 · python/cpython
Description: Bug report Bug description: Running the test suite for 3.9.19 (and other currently released versions) breaks with the old libexpat (of course, patched for the security issues): [ 684s] 0:04:10 load avg: 0.64 Re-running test_sax in verbos...
Open Graph Description: Bug report Bug description: Running the test suite for 3.9.19 (and other currently released versions) breaks with the old libexpat (of course, patched for the security issues): [ 684s] 0:04:10 load...
X Description: Bug report Bug description: Running the test suite for 3.9.19 (and other currently released versions) breaks with the old libexpat (of course, patched for the security issues): [ 684s] 0:04:10 load...
Opengraph URL: https://github.com/python/cpython/issues/117187
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Both test_flush_reparse_deferral_disabled tests fail with older libexpat (2.4.4)","articleBody":"# Bug report\n\n### Bug description:\n\nRunning the test suite for 3.9.19 (and other currently released versions) breaks with the old `libexpat` (of course, patched for the security issues):\n\n```\n[ 684s] 0:04:10 load avg: 0.64 Re-running test_sax in verbose mode (matching: test_flush_re\nparse_deferral_disabled)\n[ 684s] test_flush_reparse_deferral_disabled (test.test_sax.ExpatReaderTest) ... FAIL\n[ 684s] \n[ 684s] ======================================================================\n[ 684s] FAIL: test_flush_reparse_deferral_disabled (test.test_sax.ExpatReaderTest)\n[ 684s] ----------------------------------------------------------------------\n[ 684s] Traceback (most recent call last):\n[ 684s] File \"/home/abuild/rpmbuild/BUILD/Python-3.9.19/Lib/test/test_sax.py\", line 1251,\n in test_flush_reparse_deferral_disabled\n[ 684s] self.assertEqual(result.getvalue(), start) # i.e. no elements started\n[ 684s] AssertionError: b'\u003c?xml version=\"1.0\" encoding=\"iso-8859-1\"?\u003e\\n\u003cdoc\u003e' != b'\u003c?xml ve\nrsion=\"1.0\" encoding=\"iso-8859-1\"?\u003e\\n'\n[ 684s] \n[ 684s] ----------------------------------------------------------------------\n[ 684s] Ran 1 test in 0.001s\n[ 684s] \n[ 684s] FAILED (failures=1)\n[ 684s] test test_sax failed\n[ 684s] 0:04:10 load avg: 0.64 Re-running test_xml_etree in verbose mode (matching: test_fl\nush_reparse_deferral_disabled)\n[ 684s] test_flush_reparse_deferral_disabled (test.test_xml_etree.XMLPullParserTest) ... FA\nIL\n[ 684s] \n[ 684s] ======================================================================\n[ 684s] FAIL: test_flush_reparse_deferral_disabled (test.test_xml_etree.XMLPullParserTest)\n[ 684s] ----------------------------------------------------------------------\n[ 684s] Traceback (most recent call last):\n[ 684s] File \"/home/abuild/rpmbuild/BUILD/Python-3.9.19/Lib/test/test_xml_etree.py\", line\n 1659, in test_flush_reparse_deferral_disabled\n[ 684s] self.assert_event_tags(parser, []) # i.e. no elements started\n[ 684s] File \"/home/abuild/rpmbuild/BUILD/Python-3.9.19/Lib/test/test_xml_etree.py\", line\n 1395, in assert_event_tags\n[ 684s] self.assertEqual([(action, elem.tag) for action, elem in events],\n[ 684s] AssertionError: Lists differ: [('start', 'doc')] != []\n[ 684s] \n[ 684s] First list contains 1 additional elements.\n[ 684s] First extra element 0:\n[ 684s] ('start', 'doc')\n[ 684s] \n[ 684s] - [('start', 'doc')]\n[ 684s] + []\n[ 684s] \n[ 684s] ----------------------------------------------------------------------\n[ 684s] Ran 1 test in 0.001s\n```\n\n[Complete build log](https://github.com/python/cpython/files/14733899/_log.txt) with all package versions and steps taken recorded.\n\n\n### CPython versions tested on:\n\n3.8, 3.9, 3.10\n\n### Operating systems tested on:\n\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-117203\n* gh-117244\n* gh-117245\n* gh-117246\n* gh-117247\n* gh-117248\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/mcepl","@type":"Person","name":"mcepl"},"datePublished":"2024-03-24T00:02:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":17},"url":"https://github.com/117187/cpython/issues/117187"}
| 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:15cdfbe6-fde5-1a84-6ddc-e79c3d9c7710 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E50C:95293:547E6A:7AF812:6A5786B9 |
| html-safe-nonce | aa0cdc3fa7d6c40e188bf58c332121cfd130d16be372c5209d9a40d4de50a249 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTBDOjk1MjkzOjU0N0U2QTo3QUY4MTI6NkE1Nzg2QjkiLCJ2aXNpdG9yX2lkIjoiMzU4MTExMDMzOTgxODE5NDYxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e120b187f69fb01185728b179d2dac010108696d2f7de879421892eb3f7de583 |
| hovercard-subject-tag | issue:2204101424 |
| 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/117187/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c05e715060ab46035a8e263a580edd52c43396df8e2b41256c646916c4486b4a/python/cpython/issues/117187 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c05e715060ab46035a8e263a580edd52c43396df8e2b41256c646916c4486b4a/python/cpython/issues/117187 |
| og:image:alt | Bug report Bug description: Running the test suite for 3.9.19 (and other currently released versions) breaks with the old libexpat (of course, patched for the security issues): [ 684s] 0:04:10 load... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mcepl |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6353e56e94423c9cd5abde7708a859afa36a0c1203c73749055bf6ee6704cd0 |
| 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 | f59ab1c46b638204e2aea09126d089be5dc773b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width