X-Debbugs-CC: mo...@debian.org

On Sat, 2 Nov 2024 08:24:12 +0100 Paul Gevers <elb...@debian.org> wrote:
Source: python-cattrs
Version: 23.2.3-1
Severity: serious
X-Debbugs-CC: python-at...@packages.debian.org
Tags: sid trixie
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python-attrs

Dear maintainer(s),

With a recent upload of python-attrs the autopkgtest of python-cattrs fails in testing when that autopkgtest is run with the binary packages of python-attrs from unstable. It passes when run with only packages from testing. In tabular form:

                        pass            fail
python-attrs           from testing    24.2.0-1
python-cattrs          from testing    23.2.3-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. I noticed the errors involve nan and found this in the upstream changelog [0]
"""
The generated __eq__ methods have been sped up significantly by generating a chain of attribute comparisons instead of constructing and comparing tuples. This change arguably makes the behavior more correct, but changes it if an attribute compares equal by identity but not value, like float('nan'). #1310
""". I suspect that python-cattrs needs a change upstream.

Currently this regression is blocking the migration of python-attrs to testing [1]. Of course, python-attrs shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in python-attrs was intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from python-attrs should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://www.attrs.org/en/stable/changelog.html#id2
[1] https://qa.debian.org/excuses.php?package=python-attrs

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-cattrs/53966623/log.gz

=================================== FAILURES =================================== 1837s ____________________________ test_simple_roundtrip _____________________________ 1837s 1837s @given(simple_typed_classes(newtypes=False), unstructure_strats)

Ping, is there any progress on it?

Besides the two existing RC bugs, I am holding package src:ufolib2 which
also needs a new version of python-cattrs.

Please let me know whether NMUs would work for you.

Thanks,
Boyuan Yang

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to