Bug 2056970 - Pythons FTBFS with Expat >=2.4.5, test suite needs adjustments (upstream backport)
Summary: Pythons FTBFS with Expat >=2.4.5, test suite needs adjustments (upstream back...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python3.10
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Charalampos Stratakis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F36FTBFS F37FTBFS 2059951 2060435
TreeView+ depends on / blocked
 
Reported: 2022-02-22 13:18 UTC by Miro Hrončok
Modified: 2022-03-26 15:15 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-26 15:13:07 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-02-22 13:18:28 UTC
Expat was updated to 2.4.6 in Fedora 37 and 35 and updates are in testing for 35 and 34.

Python tests fail on all our CPython versions and make the packages FTBFS:


======================================================================
ERROR: testEncodings (test.test_minidom.MinidomTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.8.12/Lib/test/test_minidom.py", line 1150, in testEncodings
    self.assertRaises(UnicodeDecodeError, parseString,
  File "/builddir/build/BUILD/Python-3.8.12/Lib/unittest/case.py", line 816, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/builddir/build/BUILD/Python-3.8.12/Lib/unittest/case.py", line 202, in handle
    callable_obj(*args, **kwargs)
  File "/builddir/build/BUILD/Python-3.8.12/Lib/xml/dom/minidom.py", line 1969, in parseString
    return expatbuilder.parseString(string)
  File "/builddir/build/BUILD/Python-3.8.12/Lib/xml/dom/expatbuilder.py", line 925, in parseString
    return builder.parseString(string)
  File "/builddir/build/BUILD/Python-3.8.12/Lib/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 5

======================================================================
ERROR: testExceptionOnSpacesInXMLNSValue (test.test_minidom.MinidomTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.8.12/Lib/test/test_minidom.py", line 1597, in testExceptionOnSpacesInXMLNSValue
    parseString('<element xmlns:abc="http:abc.com/de f g/hi/j k"><abc:foo /></element>')
  File "/builddir/build/BUILD/Python-3.8.12/Lib/xml/dom/minidom.py", line 1969, in parseString
    return expatbuilder.parseString(string)
  File "/builddir/build/BUILD/Python-3.8.12/Lib/xml/dom/expatbuilder.py", line 925, in parseString
    return builder.parseString(string)
  File "/builddir/build/BUILD/Python-3.8.12/Lib/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0
----------------------------------------------------------------------

======================================================================
ERROR: test_issue3151 (test.test_xml_etree.BugsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/Python-3.8.12/Lib/test/test_xml_etree.py", line 1972, in test_issue3151
    e = ET.XML('<prefix:localname xmlns:prefix="${stuff}"/>')
  File "/builddir/build/BUILD/Python-3.8.12/Lib/xml/etree/ElementTree.py", line 1320, in XML
    parser.feed(text)
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0
---------------------------------------------------------------------- 


Upstream has fixed the tests in https://bugs.python.org/issue46811 https://github.com/python/cpython/pull/31453 -- we need to backport the change to unblock building Pythons.

Comment 1 Fedora Update System 2022-03-08 00:17:34 UTC
FEDORA-2022-fb4027f12d has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-fb4027f12d

Comment 2 Fedora Update System 2022-03-08 00:18:13 UTC
FEDORA-2022-fb4027f12d has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 3 Fedora Update System 2022-03-08 00:28:40 UTC
FEDORA-2022-a4dac38234 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a4dac38234

Comment 4 Fedora Update System 2022-03-08 00:30:14 UTC
FEDORA-2022-a4dac38234 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2022-03-08 00:39:54 UTC
FEDORA-2022-17a6b3d35b has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-17a6b3d35b

Comment 6 Fedora Update System 2022-03-08 00:40:15 UTC
FEDORA-2022-010449a77e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-010449a77e

Comment 7 Fedora Update System 2022-03-08 00:42:16 UTC
FEDORA-2022-17a6b3d35b has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-03-08 00:42:22 UTC
FEDORA-2022-010449a77e has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2022-03-08 01:55:17 UTC
FEDORA-2022-14867719a0 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-14867719a0

Comment 10 Fedora Update System 2022-03-08 02:27:44 UTC
FEDORA-2022-ec0e0cbfc1 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-ec0e0cbfc1

Comment 11 Fedora Update System 2022-03-08 02:50:45 UTC
FEDORA-2022-6770632960 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6770632960

Comment 12 Fedora Update System 2022-03-08 16:18:17 UTC
FEDORA-2022-14867719a0 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-14867719a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-14867719a0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2022-03-08 16:18:20 UTC
FEDORA-2022-ec0e0cbfc1 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-ec0e0cbfc1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-ec0e0cbfc1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2022-03-08 16:18:22 UTC
FEDORA-2022-6770632960 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-6770632960`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-6770632960

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2022-03-08 23:31:59 UTC
FEDORA-2022-f2a4c49287 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f2a4c49287

Comment 16 Fedora Update System 2022-03-08 23:32:27 UTC
FEDORA-2022-97856f58a0 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-97856f58a0

Comment 17 Fedora Update System 2022-03-08 23:32:50 UTC
FEDORA-2022-657dd5f8df has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-657dd5f8df

Comment 18 Fedora Update System 2022-03-08 23:33:55 UTC
FEDORA-2022-bb07a790af has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb07a790af

Comment 19 Fedora Update System 2022-03-08 23:34:35 UTC
FEDORA-2022-13daa09228 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-13daa09228

Comment 20 Fedora Update System 2022-03-09 01:23:11 UTC
FEDORA-2022-0bc82f3d28 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-0bc82f3d28

Comment 21 Fedora Update System 2022-03-09 01:32:56 UTC
FEDORA-2022-eebf076d2c has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-eebf076d2c

Comment 22 Fedora Update System 2022-03-09 02:41:09 UTC
FEDORA-2022-39d0811652 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-39d0811652

Comment 23 Fedora Update System 2022-03-09 03:23:04 UTC
FEDORA-2022-142603e4d6 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-142603e4d6

Comment 24 Fedora Update System 2022-03-09 15:46:10 UTC
FEDORA-2022-0bc82f3d28 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-0bc82f3d28`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-0bc82f3d28

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2022-03-09 19:51:43 UTC
FEDORA-2022-97856f58a0 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-97856f58a0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-97856f58a0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2022-03-09 19:51:45 UTC
FEDORA-2022-bb07a790af has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-bb07a790af`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-bb07a790af

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 27 Fedora Update System 2022-03-09 19:51:48 UTC
FEDORA-2022-13daa09228 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-13daa09228`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-13daa09228

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 28 Fedora Update System 2022-03-09 19:51:50 UTC
FEDORA-2022-eebf076d2c has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-eebf076d2c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-eebf076d2c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 29 Fedora Update System 2022-03-09 20:13:12 UTC
FEDORA-2022-f2a4c49287 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-f2a4c49287`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f2a4c49287

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 30 Fedora Update System 2022-03-09 20:13:16 UTC
FEDORA-2022-657dd5f8df has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-657dd5f8df`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-657dd5f8df

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 31 Fedora Update System 2022-03-09 20:13:18 UTC
FEDORA-2022-39d0811652 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-39d0811652`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-39d0811652

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 32 Fedora Update System 2022-03-09 20:13:20 UTC
FEDORA-2022-142603e4d6 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-142603e4d6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-142603e4d6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 33 Fedora Update System 2022-03-11 14:46:55 UTC
FEDORA-2022-bb07a790af has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 34 Fedora Update System 2022-03-17 14:42:23 UTC
FEDORA-2022-f2a4c49287 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 35 Fedora Update System 2022-03-17 14:42:38 UTC
FEDORA-2022-657dd5f8df has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 36 Fedora Update System 2022-03-17 14:42:40 UTC
FEDORA-2022-39d0811652 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 37 Fedora Update System 2022-03-17 14:42:43 UTC
FEDORA-2022-142603e4d6 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 38 Paul Wouters 2022-03-17 15:37:24 UTC
Is this missing the fedora-34 python3.9 package update? It is still not recompiled to get the expat 2.4.5 fixes ?

Comment 39 Miro Hrončok 2022-03-17 15:45:18 UTC
Yes.

Comment 40 Fedora Update System 2022-03-17 15:45:45 UTC
FEDORA-2022-97856f58a0 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 41 Fedora Update System 2022-03-17 15:45:50 UTC
FEDORA-2022-13daa09228 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 42 Fedora Update System 2022-03-17 15:45:53 UTC
FEDORA-2022-eebf076d2c has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 43 Fedora Update System 2022-03-26 15:13:07 UTC
FEDORA-2022-14867719a0 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 44 Fedora Update System 2022-03-26 15:13:14 UTC
FEDORA-2022-ec0e0cbfc1 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 45 Fedora Update System 2022-03-26 15:13:17 UTC
FEDORA-2022-6770632960 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 46 Fedora Update System 2022-03-26 15:15:35 UTC
FEDORA-2022-0bc82f3d28 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.