python-uritools fails to build with Python 3.13.0a1. + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.13.0a1, pytest-7.4.2, pluggy-1.3.0 rootdir: /builddir/build/BUILD/uritools-4.0.2 collected 38 items tests/test_classify.py . [ 2%] tests/test_compose.py ......... [ 26%] tests/test_defrag.py .. [ 31%] tests/test_encoding.py ......... [ 55%] tests/test_join.py .... [ 65%] tests/test_split.py .........F.. [ 97%] tests/test_unsplit.py . [100%] =================================== FAILURES =================================== __________________________ SplitTest.test_ip_literal ___________________________ self = <tests.test_split.SplitTest testMethod=test_ip_literal> def test_ip_literal(self): cases = [ ("http://Test.python.org:5432/foo/", "test.python.org", 5432), ("http://12.34.56.78:5432/foo/", "12.34.56.78", 5432), ("http://[::1]:5432/foo/", "::1", 5432), ("http://[dead:beef::1]:5432/foo/", "dead:beef::1", 5432), ("http://[dead:beef::]:5432/foo/", "dead:beef::", 5432), ( "http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]:5432/foo/", "dead:beef:cafe:5417:affe:8fa3:deaf:feed", 5432, ), ("http://[::12.34.56.78]:5432/foo/", "::c22:384e", 5432), ("http://[::ffff:12.34.56.78]:5432/foo/", "::ffff:c22:384e", 5432), ("http://Test.python.org/foo/", "test.python.org", None), ("http://12.34.56.78/foo/", "12.34.56.78", None), ("http://[::1]/foo/", "::1", None), ("http://[dead:beef::1]/foo/", "dead:beef::1", None), ("http://[dead:beef::]/foo/", "dead:beef::", None), ( "http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]/foo/", "dead:beef:cafe:5417:affe:8fa3:deaf:feed", None, ), ("http://[::12.34.56.78]/foo/", "::c22:384e", None), ("http://[::ffff:12.34.56.78]/foo/", "::ffff:c22:384e", None), ("http://Test.python.org:/foo/", "test.python.org", None), ("http://12.34.56.78:/foo/", "12.34.56.78", None), ("http://[::1]:/foo/", "::1", None), ("http://[dead:beef::1]:/foo/", "dead:beef::1", None), ("http://[dead:beef::]:/foo/", "dead:beef::", None), ( "http://[dead:beef:cafe:5417:affe:8FA3:deaf:feed]:/foo/", "dead:beef:cafe:5417:affe:8fa3:deaf:feed", None, ), ("http://[::12.34.56.78]:/foo/", "::c22:384e", None), ("http://[::ffff:12.34.56.78]:/foo/", "::ffff:c22:384e", None), ] for uri, host, port in cases: parts = urisplit(uri) > self.assertEqual(host, str(parts.gethost())) E AssertionError: '::ffff:c22:384e' != '::ffff:12.34.56.78' E - ::ffff:c22:384e E + ::ffff:12.34.56.78 tests/test_split.py:450: AssertionError =========================== short test summary info ============================ FAILED tests/test_split.py::SplitTest::test_ip_literal - AssertionError: '::f... ========================= 1 failed, 37 passed in 0.10s ========================= 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/06556936-python-uritools/ For all our attempts to build python-uritools with Python 3.13, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-uritools/ 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.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.
*** Bug 2291963 has been marked as a duplicate of this bug. ***
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.
FEDORA-2024-8970f4c060 (python-uritools-4.0.3-1.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-8970f4c060
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ All subpackages of a package against which this bug was filled are now installable or removed from Fedora 41. Thanks for taking care of it!
FEDORA-2024-8970f4c060 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8970f4c060` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8970f4c060 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-8970f4c060 (python-uritools-4.0.3-1.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.