#1013707 python-ratelimiter: FTBFS: pytest7 regression, AttributeError: module pytest has no attribute collect

Package:
src:python-ratelimiter
Source:
python-ratelimiter
Submitter:
Louis-Philippe Véronneau
Date:
2022-06-27 04:36:03 UTC
Severity:
serious
Tags:
#1013707#5
Date:
2022-06-24 22:49:23 UTC
From:
To:
Hi,

During a selected rebuild of python packages in sid, your package failed
to build with pytest version 7.1.2-1.

The full build log is available from:
http://qa-logs.debian.net/2022/06/09/pytest/python-ratelimiter_1.2.0.post0-1_unstable_pytest-exp.log

I had a closer look at the error log and identified the regression as:
'AttributeError: module pytest has no attribute collect'. Hopefully,
that's helpful!

All bugs filed during this rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=pytest7;users=debian-python@lists.debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=pytest7&fusertaguser=debian-python@lists.debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

If you reassign this bug to another package, please mark it as
'affects'-ing this package. See
https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it
with the one provided so that we can identify if something relevant
changed in the meantime.

#1013707#8
Date:
2022-06-27 04:10:05 UTC
From:
To:
Hello,

Bug #1013707 in python-ratelimiter reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/python-team/packages/python-ratelimiter/-/commit/9a2fdadac3c773403566894b460b6e12555f4517
------------------------------------------------------------------------
fix compat with pytest 7; Closes: #1013707
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1013707

#1013707#15
Date:
2022-06-27 04:33:48 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-ratelimiter, 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 1013707@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <morph@debian.org> (supplier of updated python-ratelimiter 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 27 Jun 2022 00:09:51 -0400
Source: python-ratelimiter
Architecture: source
Version: 1.2.0.post0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 1013707
Changes:
 python-ratelimiter (1.2.0.post0-3) unstable; urgency=medium
 .
   * debian/patches/PR13.patch
     - fix compat with pytest 7; Closes: #1013707
Checksums-Sha1:
 42d92828d19afee3c3e3458d2eaea160d9a8ce4d 2162 python-ratelimiter_1.2.0.post0-3.dsc
 29ef2baf4e08072b1ac6a79b03a561a9b02b9ffc 2824 python-ratelimiter_1.2.0.post0-3.debian.tar.xz
 e627b666548debeb5d9ae1f4cf5004f46c6d76b7 7053 python-ratelimiter_1.2.0.post0-3_source.buildinfo
Checksums-Sha256:
 04042a76c8c8526ae39a1226c62add0a8d10cdcd82928ba4db8fa55101f643d0 2162 python-ratelimiter_1.2.0.post0-3.dsc
 74cf068407842ac17b0be97ae949b44e54a4772bd27f1b1f69bcd07b961d9381 2824 python-ratelimiter_1.2.0.post0-3.debian.tar.xz
 af200b145633c245519bfd6b96a4a0351148c8b340e592e11cbe1407ba29ba58 7053 python-ratelimiter_1.2.0.post0-3_source.buildinfo
Files:
 0a2467bb8ec4f07edeb051819802b7e5 2162 python optional python-ratelimiter_1.2.0.post0-3.dsc
 afa2705130e2b84fcb911b5190ced927 2824 python optional python-ratelimiter_1.2.0.post0-3.debian.tar.xz
 f6dd53583ec6b676d8092e1eccd6bd51 7053 python optional python-ratelimiter_1.2.0.post0-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmK5LZsACgkQh588mTgB
qU+QdA/+NhUQvRDexAfSmL7elr4uU+UnvHEIpgNmfi97oA2Cb4Sy96ZYOGXnS4jF
KvUh8Rjr5/L3kjgx2FT3v6zbNguJqtdRJxWzJPkUzqS6n0P4FbDz59xdYQKouHDI
FCm0KZum7BYUHzOCfMA+nbXNfeD9Iay71+CMUoKMxcOkBVOfGKSdGaa34Ydz+B9N
PwL2tRGB3TbEtRMRe+rj7qyXPjWA8Gl1OvS018QQobsqUjHBvCwHcPShXHLK91Jo
LdgFI/9Ar82Cgmo2TIy/Y8IsUj0m8SpFFhU59bPMNgYm7h4Vl1ehDc5Zsq9ZhbK1
INRiRrQI1HR5Rj0r6/ED5+NMGgthZnar1Bke6rF42QaAOCFb4/480g0YBlvVXnc4
VlmeSC9A1kMW2LxxFW5gxJiUsrNjB62JvUJAD9FMvpml/Lp91p6w2ZkvN7lgh7Tk
ke2RiyOjHvmhhBHHM/AXAPUqogkE+qQ/ZgMYumZT8uCAIG9lngdhFbaPPQZGIVws
x+R+6AF9K+G8UOkmXyp24Wfa7GDkDC2GSruvHOxfGbN5OFGV/ejWAXMcrfgKsOej
v9zqXTs1jCx3y207jMo5r55pASdS45ypAjs1Bbrj2+pj3fIEKpkqsHLB+JJ03JGx
HQ7WqUeXhFqKd1naMUHdeIpDBKNdF/IzJ0biCj1PS1Ms7Rtx7IY=
=puK+
-----END PGP SIGNATURE-----