python-dirty-equals fails to build with Python 3.14.0a6. ________________________ test_is_ip_true[other1-dirty1] ________________________ other = IPv4Network('43.48.0.0/12'), dirty = IsIP() @pytest.mark.parametrize( 'other,dirty', [ (IPv4Address('127.0.0.1'), IsIP()), (IPv4Network('43.48.0.0/12'), IsIP()), (IPv6Address('::eeff:ae3f:d473'), IsIP()), (IPv6Network('::eeff:ae3f:d473/128'), IsIP()), ('2001:0db8:0a0b:12f0:0000:0000:0000:0001', IsIP()), ('179.27.154.96', IsIP), ('43.62.123.119', IsIP(version=4)), ('::ffff:2b3e:7b77', IsIP(version=6)), ('0:0:0:0:0:ffff:2b3e:7b77', IsIP(version=6)), ('54.43.53.219/10', IsIP(version=4, netmask='255.192.0.0')), ('::ffff:aebf:d473/12', IsIP(version=6, netmask='fff0::')), ('2001:0db8:0a0b:12f0:0000:0000:0000:0001', IsIP(version=6)), (3232235521, IsIP()), (b'\xc0\xa8\x00\x01', IsIP()), (338288524927261089654018896845572831328, IsIP(version=6)), (b'\x20\x01\x06\x58\x02\x2a\xca\xfe\x02\x00\x00\x00\x00\x00\x00\x01', IsIP(version=6)), ], ) def test_is_ip_true(other, dirty): > assert other == dirty E AssertionError: assert IPv4Network('43.48.0.0/12') == IsIP() tests/test_other.py:189: AssertionError ________________________ test_is_ip_true[other3-dirty3] ________________________ other = IPv6Network('::eeff:ae3f:d473/128'), dirty = IsIP() @pytest.mark.parametrize( 'other,dirty', [ (IPv4Address('127.0.0.1'), IsIP()), (IPv4Network('43.48.0.0/12'), IsIP()), (IPv6Address('::eeff:ae3f:d473'), IsIP()), (IPv6Network('::eeff:ae3f:d473/128'), IsIP()), ('2001:0db8:0a0b:12f0:0000:0000:0000:0001', IsIP()), ('179.27.154.96', IsIP), ('43.62.123.119', IsIP(version=4)), ('::ffff:2b3e:7b77', IsIP(version=6)), ('0:0:0:0:0:ffff:2b3e:7b77', IsIP(version=6)), ('54.43.53.219/10', IsIP(version=4, netmask='255.192.0.0')), ('::ffff:aebf:d473/12', IsIP(version=6, netmask='fff0::')), ('2001:0db8:0a0b:12f0:0000:0000:0000:0001', IsIP(version=6)), (3232235521, IsIP()), (b'\xc0\xa8\x00\x01', IsIP()), (338288524927261089654018896845572831328, IsIP(version=6)), (b'\x20\x01\x06\x58\x02\x2a\xca\xfe\x02\x00\x00\x00\x00\x00\x00\x01', IsIP(version=6)), ], ) def test_is_ip_true(other, dirty): > assert other == dirty E AssertionError: assert IPv6Network('::eeff:ae3f:d473/128') == IsIP() tests/test_other.py:189: AssertionError =========================== short test summary info ============================ FAILED tests/test_other.py::test_is_ip_true[other1-dirty1] - AssertionError: ... FAILED tests/test_other.py::test_is_ip_true[other3-dirty3] - AssertionError: ... ======================== 2 failed, 549 passed in 0.59s ========================= 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/08783385-python-dirty-equals/ For all our attempts to build python-dirty-equals with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-dirty-equals/ 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.
I’ve reproduced this in a virtualenv and reported it upstream in https://github.com/samuelcolvin/dirty-equals/issues/112. I’m planning to skip the two failing test cases until an upstream fix is available. I don’t think this should have blocked bug 2339432 (F43FTBFS/RAWHIDEFTBFS) since Python 3.14 isn’t yet in Rawhide.
FEDORA-2025-5498d68b20 (python-dirty-equals-0.9.0-3.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2025-5498d68b20
FEDORA-2025-5498d68b20 (python-dirty-equals-0.9.0-3.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report.