python-cssutils fails to build with Python 3.14.0a1. ______________________ TestCSSImportRule.test_styleSheet _______________________ self = <cssutils.tests.test_cssimportrule.TestCSSImportRule object at 0x7f0c79467450> def test_styleSheet(self): "CSSImportRule.styleSheet" def fetcher(url): if url == "/root/level1/anything.css": return None, '@import "level2/css.css" "title2";' else: return None, 'a { color: red }' parser = cssutils.CSSParser(fetcher=fetcher) sheet = parser.parseString( '''@charset "ascii"; @import "level1/anything.css" tv "title";''', href='/root/', ) assert sheet.href == '/root/' ir = sheet.cssRules[1] assert ir.href == 'level1/anything.css' > assert ir.styleSheet.href == '/root/level1/anything.css' E AssertionError: assert 'level1/anything.css' == '/root/level1/anything.css' E E - /root/level1/anything.css E ? ------ E + level1/anything.css cssutils/tests/test_cssimportrule.py:343: AssertionError ________________________ TestURIValue.test_absoluteUri _________________________ self = <cssutils.tests.test_value.TestURIValue object at 0x7f0c78f1bb10> def test_absoluteUri(self): "URIValue.absoluteUri" s = cssutils.parseString( 'a { background-image: url(x.gif)}', href="/path/to/x.css" ) v = s.cssRules[0].style.getProperty('background-image').propertyValue[0] assert 'x.gif' == v.uri > assert '/path/to/x.gif' == v.absoluteUri E AssertionError: assert '/path/to/x.gif' == 'x.gif' E E - x.gif E + /path/to/x.gif cssutils/tests/test_value.py:554: AssertionError =========================== short test summary info ============================ FAILED cssutils/tests/test_cssimportrule.py::TestCSSImportRule::test_styleSheet FAILED cssutils/tests/test_value.py::TestURIValue::test_absoluteUri - Asserti... ===== 2 failed, 383 passed, 1 skipped, 12 deselected, 43 xfailed in 3.21s ====== https://docs.python.org/3.14/whatsnew/3.14.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08208173-python-cssutils/ For all our attempts to build python-cssutils with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-cssutils/ Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.14: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/ Let us know here if you have any questions. Python 3.14 is planned to be included in Fedora 43. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14. A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon. We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.