python-beautifulsoup4 fails to build with Python 3.13.0a6. =================================== FAILURES =================================== _____________________ TestTreeModification.test_decompose ______________________ self = <bs4.tests.test_tree.TestTreeModification object at 0x7f32a9a70aa0> def test_decompose(self): # Test PageElement.decompose() and PageElement.decomposed soup = self.soup("<p><a>String <em>Italicized</em></a></p><p>Another para</p>") p1, p2 = soup.find_all('p') a = p1.a text = p1.em.string for i in [p1, p2, a, text]: assert False == i.decomposed # This sets p1 and everything beneath it to decomposed. p1.decompose() for i in [p1, a, text]: > assert True == i.decomposed E assert True == False E + where False = <p></p>.decomposed bs4/tests/test_tree.py:1252: AssertionError =========================== short test summary info ============================ FAILED bs4/tests/test_tree.py::TestTreeModification::test_decompose - assert ... =================== 1 failed, 656 passed, 7 skipped in 2.13s =================== https://docs.python.org/3.13/whatsnew/3.13.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07310633-python-beautifulsoup4/ For all our attempts to build python-beautifulsoup4 with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-beautifulsoup4/ 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.13: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/ Let us know here if you have any questions. Python 3.13 is planned to be included in Fedora 41. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13. 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.
python-beautifulsoup4 in python 3.13 copr seems to be green now: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-beautifulsoup4/