Your message dated Mon, 20 Dec 2021 21:33:43 +0000
with message-id <e1mzqhv-000hnw...@fasolo.debian.org>
and subject line Bug#1001373: fixed in python-attrs 21.2.0-1
has caused the Debian Bug report #1001373,
regarding python-attrs: (autopkgtest) needs update for python3.10: error text
changed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1001373: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001373
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-attrs
Version: 20.3.0-1
Severity: serious
X-Debbugs-CC: debian...@lists.debian.org
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:python3-defaults
Dear maintainer(s),
We are in the transition of adding python2.10 to the supported Python
versions [0]. With a recent upload of python3-defaults the autopkgtest
of python-attrs fails in testing when that autopkgtest is run with the
binary packages of python3-defaults from unstable. It passes when run
with only packages from testing. In tabular form:
pass fail
python3-defaults from testing 3.9.8-1
python-attrs from testing 20.3.0-1
all others from testing from testing
I copied some of the output at the bottom of this report.
Currently this regression is blocking the migration of python3-defaults
to testing [1]. https://docs.python.org/3/whatsnew/3.10.html lists
what's new in Python2.10, it may help to identify what needs to be updated.
More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
Paul
[1] https://qa.debian.org/excuses.php?package=python3-defaults
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-attrs/17393460/log.gz
=================================== FAILURES
===================================
____________________________ TestAddInit.test_init
_____________________________
self = <tests.test_dunders.TestAddInit object at 0x7f0b4100bb50>
@given(booleans(), booleans())
def test_init(self, slots, frozen):
tests/test_dunders.py:612: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests.test_dunders.TestAddInit object at 0x7f0b4100bb50>, slots
= False
frozen = False
@given(booleans(), booleans())
def test_init(self, slots, frozen):
"""
If `init` is False, ignore that attribute.
"""
C = make_class(
"C",
{"a": attr.ib(init=False), "b": attr.ib()},
slots=slots,
frozen=frozen,
)
with pytest.raises(TypeError) as e:
C(a=1, b=2)
> assert (
"__init__() got an unexpected keyword argument 'a'"
== e.value.args[0]
)
E assert "__init__() g... argument 'a'" == "C.__init__()...
argument 'a'"
E - C.__init__() got an unexpected keyword argument 'a'
E ? --
E + __init__() got an unexpected keyword argument 'a'
tests/test_dunders.py:625: AssertionError
---------------------------------- Hypothesis
----------------------------------
Falsifying example: test_init(
self=<tests.test_dunders.TestAddInit at 0x7f0b4100bb50>,
slots=False,
frozen=False,
)
___________________________ TestEvolve.test_unknown
____________________________
self = <tests.test_funcs.TestEvolve object at 0x7f0b40726590>
@given(simple_classes())
def test_unknown(self, C):
tests/test_funcs.py:539: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <tests.test_funcs.TestEvolve object at 0x7f0b40726590>
C = <class 'tests.strategies.HypClass'>
@given(simple_classes())
def test_unknown(self, C):
"""
Wanting to change an unknown attribute raises an
AttrsAttributeNotFoundError.
"""
# No generated class will have a four letter attribute.
with pytest.raises(TypeError) as e:
evolve(C(), aaaa=2)
expected = "__init__() got an unexpected keyword argument 'aaaa'"
assert (expected,) == e.value.args
E assert ("__init__() ...ment 'aaaa'",) == ("HypClass.__...ment
'aaaa'",)
E At index 0 diff: "__init__() got an unexpected keyword
argument 'aaaa'" != "HypClass.__init__() got an unexpected keyword
argument 'aaaa'"
E Use -v to get the full diff
tests/test_funcs.py:548: AssertionError
---------------------------------- Hypothesis
----------------------------------
Falsifying example: test_unknown(
self=<tests.test_funcs.TestEvolve at 0x7f0b40726590>,
C=tests.strategies.HypClass,
)
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: python-attrs
Source-Version: 21.2.0-1
Done: Jochen Sprickerhof <jspri...@debian.org>
We believe that the bug you reported is fixed in the latest version of
python-attrs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1001...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jochen Sprickerhof <jspri...@debian.org> (supplier of updated python-attrs
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 20 Dec 2021 19:22:37 +0100
Source: python-attrs
Architecture: source
Version: 21.2.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Jochen Sprickerhof <jspri...@debian.org>
Closes: 1001373
Changes:
python-attrs (21.2.0-1) unstable; urgency=medium
.
[ Steffen Möller ]
* d/u/metadata - added refs to conda+guix
.
[ Jochen Sprickerhof ]
* New upstream version 21.2.0 (Closes: #1001373)
* Rebase patches
* Bump policy versions (no changes)
* Use dh-sequence
* Drop gitlab-ci
* Add patch for sphinx notfound.extension
Checksums-Sha1:
b8e465ab790db24eba89bfc669febda05b3c638c 2361 python-attrs_21.2.0-1.dsc
991495677e38531229585ba7849d3e09c263c59e 177524 python-attrs_21.2.0.orig.tar.gz
b6490d645f99d366e8d5fe2aee56790c401723c7 5328
python-attrs_21.2.0-1.debian.tar.xz
b540652fde7c6614029972b819606c413ea3d006 7227
python-attrs_21.2.0-1_source.buildinfo
Checksums-Sha256:
4b4eab87732c47a98cdd7a36b367aebf732c8890dd851549cd91bda9c6ee1898 2361
python-attrs_21.2.0-1.dsc
12cca0d697de845fd74b6b5482218988ee1415c27d3bb31503f66c2a3592b77c 177524
python-attrs_21.2.0.orig.tar.gz
3167076d796850f3b84848871162b7b4a1de727c704c56584c5a028c9053f158 5328
python-attrs_21.2.0-1.debian.tar.xz
62a78bbbc33b167243fece475b4e10d1038d98aa97fbc74843d6ab3793136ee8 7227
python-attrs_21.2.0-1_source.buildinfo
Files:
3e595b9e7e3ad37e28ce91d43f59f48a 2361 python optional python-attrs_21.2.0-1.dsc
5fce40d5d9235f68b06fda57258e4e7d 177524 python optional
python-attrs_21.2.0.orig.tar.gz
d7f88bd0ddb3778f10ec1653ede40434 5328 python optional
python-attrs_21.2.0-1.debian.tar.xz
c7c3f1d3baf1ecdeb437c6b178c0b9bf 7227 python optional
python-attrs_21.2.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmHA88sACgkQW//cwljm
lDM50w//fWHlFvbTil8wnZRdYp0c6at8zuFHKEQUWb1Ee7ipVsgL0B4W/wvr9DWW
3pPm1lApvFIHBDzvVNCKb97PwfLDkGi2BfcPu718qOD+c1zWSy73h00eKFYFLf5e
Fhso4Gvi7480dsstyGXuQaenVStOIuGeepRjAdzhiTV8uCrultUznuwto2V3F12D
q7FyVbwgChxaMt+CrZCKEdiB0NUMHvBLP4QaZiGIG/ZKWoLkeAM89XGy6xsUZn/k
bMBSi9+dGvWZpdy4VKn3sRsOOE46OgJ0EMWie++yVXFlXDBlrp323ekY4VpvADo4
tGkBJuPQjxFR7SS44qBv/8jWv+3+ZQwTcxS+RPGYqD/LzOT23GHk0G3L7ny+QAV0
2MMOb5QA8VWeeezyorYr+kBNeaYETzCOHPjBzxbygspT80GOAQDru77Bx3WNDcbQ
DnbJVwxnFjdMpsdzo6OIMqlLunzzTxgsqDKB131M+enJz+ppdhXfYltXzMH938PM
bGs3vNIsvC1zLC51oPxCLbLCnKL9HuQkPWXMpbuOSVoCLLiHCGPRlL3YcVOdo5fq
pcwRKZCzYTWYrV7g0xk27joVX61IEww+L2DrW4z1wYPMKD3Qdb78Ovl75Mc+hPcf
PAzkqRRwoy3Wzs60QgPh58wUbKp16OsFJTytzX6wiGrn7e8NyNg=
=V3K7
-----END PGP SIGNATURE-----
--- End Message ---