python-pymdown-extensions fails to build with Python 3.14.0a3. _______________________ TestAbsolute.test_relative_path ________________________ self = <tests.test_extensions.test_pathconverter.TestAbsolute testMethod=test_relative_path> def test_relative_path(self): """Test relative path.""" > self.check_markdown( r'', r'<p><img alt="picture" src="/Some/fake/path/test_extensions/_assets/bg.png" /></p>' ) tests/test_extensions/test_pathconverter.py:182: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util.py:91: in check_markdown self.assertTrue(not diff) E AssertionError: False is not true ----------------------------- Captured stdout call ----------------------------- --- Expected +++ Actual @@ -1 +1 @@ -<p><img alt="picture" src="/Some/fake/path/test_extensions/_assets/bg.png" /></p>+<p><img alt="picture" src="/////Some/fake/path/test_extensions/_assets/bg.png" /></p> __________________ TestAbsoluteFileScheme.test_relative_path ___________________ self = <tests.test_extensions.test_pathconverter.TestAbsoluteFileScheme testMethod=test_relative_path> def test_relative_path(self): """Test relative path.""" > self.check_markdown( r'', r'<p><img alt="picture" src="file:///Some/fake/path/test_extensions/_assets/bg.png" /></p>' ) tests/test_extensions/test_pathconverter.py:292: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/util.py:91: in check_markdown self.assertTrue(not diff) E AssertionError: False is not true ----------------------------- Captured stdout call ----------------------------- --- Expected +++ Actual @@ -1 +1 @@ -<p><img alt="picture" src="file:///Some/fake/path/test_extensions/_assets/bg.png" /></p>+<p><img alt="picture" src="file://///Some/fake/path/test_extensions/_assets/bg.png" /></p> This might be related to https://github.com/python/cpython/issues/125974 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/08480262-python-pymdown-extensions/ For all our attempts to build python-pymdown-extensions with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-pymdown-extensions/ 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.