Description of problem: Package python-pycurl fails to build from source in Fedora rawhide. Version-Release number of selected component (if applicable): 7.43.0.6-4.fc34 Steps to Reproduce: koji build --scratch f34 python-pycurl-7.43.0.6-4.fc34.src.rpm Additional info: This package is tracked by Koschei. See: https://koschei.fedoraproject.org/package/python-pycurl ====================================================================== FAIL: test_failonerror (tests.failonerror_test.FailonerrorTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycurl-REL_7_43_0_6/tests/failonerror_test.py", line 31, in test_failonerror self.curl.perform() pycurl.error: (22, 'The requested URL returned error: 403') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/pycurl-REL_7_43_0_6/tests/util.py", line 119, in decorated return fn(*args, **kwargs) File "/builddir/build/BUILD/pycurl-REL_7_43_0_6/tests/failonerror_test.py", line 34, in test_failonerror self.assertEqual('The requested URL returned error: 403 Forbidden', e.args[1]) AssertionError: 'The requested URL returned error: 403 Forbidden' != 'The requested URL returned error: 403' - The requested URL returned error: 403 Forbidden ? ---------- + The requested URL returned error: 403 ====================================================================== FAIL: test_failonerror_status_line_invalid_utf8_python3 (tests.failonerror_test.FailonerrorTest) part1part2---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/pycurl-REL_7_43_0_6/tests/failonerror_test.py", line 71, in test_failonerror_status_line_invalid_utf8_python3 self.curl.perform() pycurl.error: (22, 'The requested URL returned error: 555') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/pycurl-REL_7_43_0_6/tests/util.py", line 91, in decorated return fn(*args, **kwargs) File "/builddir/build/BUILD/pycurl-REL_7_43_0_6/tests/util.py", line 119, in decorated return fn(*args, **kwargs) File "/builddir/build/BUILD/pycurl-REL_7_43_0_6/tests/failonerror_test.py", line 74, in test_failonerror_status_line_invalid_utf8_python3 assert e.args[1].startswith('The requested URL returned error: 555 ') AssertionError ---------------------------------------------------------------------- Ran 345 tests in 7.798s FAILED (SKIP=3, failures=2)
These tests stopped working because libcurl upstream intentionally changed the error messages to omit the information the tests look for: https://github.com/curl/curl/issues/6615
dist-git commit: https://src.fedoraproject.org/rpms/python-pycurl/c/81af08a6