Description of problem: Package python-beautifulsoup4 fails to build from source in Fedora 31+. Version-Release number of selected component (if applicable): 4.6.3-3.fc31 Steps to Reproduce: koji build --scratch f31 python-beautifulsoup4-4.6.3-3.fc31.src.rpm Additional info: This package is tracked by Koschei. See: http://apps.fedoraproject.org/koschei/package/python-beautifulsoup4 https://apps.fedoraproject.org/koschei/build/6778909 BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_nested_namespaces (tests.test_lxml.LXMLXMLTreeBuilderSmokeTest) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "bs4/testing.py", line 665, in test_nested_namespaces BUILDSTDERR: self.assertEqual(doc, soup.encode()) BUILDSTDERR: AssertionError: '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n<parent xmlns="http://ns1/">\n<child xmlns="http://ns2/" xmlns:ns3="http://ns3/">\n<grandchild ns3:attr="value" xmlns="http://ns4/"/>\n</child>\n</parent>' != '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\n<parent xmlns:="http://ns1/">\n<child xmlns:="http://ns2/" xmlns:ns3="http://ns3/">\n<grandchild ns3:attr="value" xmlns:="http://ns4/"/>\n</child>\n</parent>' BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_real_xhtml_document (tests.test_lxml.LXMLXMLTreeBuilderSmokeTest) BUILDSTDERR: A real XHTML document should come out *exactly* the same as it went in. BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "bs4/testing.py", line 654, in test_real_xhtml_document BUILDSTDERR: soup.encode("utf-8"), markup) BUILDSTDERR: AssertionError: '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">\n<html xmlns:="http://www.w3.org/1999/xhtml">\n<head><title>Hello.</title></head>\n<body>Goodbye.</body>\n</html>' != '<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head><title>Hello.</title></head>\n<body>Goodbye.</body>\n</html>' BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 476 tests in 2.288s BUILDSTDERR: FAILED (failures=2) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.fHaY2V (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.fHaY2V (%check) This blocks the Python 3.8 rebuild. The coordinated rebuild of Python 3.8 happens in the `f32-python` side tag. If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead: on branch master: $ fedpkg build --target=f32-python Thanks.
*** This bug has been marked as a duplicate of bug 1742146 ***