#1013708 python-pykka: FTBFS: pytest7 regression, AttributeError: module pytest has no attribute collect

Package:
src:python-pykka
Source:
python-pykka
Submitter:
Louis-Philippe Véronneau
Date:
2022-07-12 02:39:03 UTC
Severity:
serious
Tags:
#1013708#5
Date:
2022-06-24 22:49:52 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-pykka_2.0.3-2_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.

#1013708#8
Date:
2022-07-12 02:17:13 UTC
From:
To:
Hello,

Bug #1013708 in python-pykka 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-pykka/-/commit/b66b92fb1b33a2793aff5a245f8e14b76f61889c
------------------------------------------------------------------------
fix compatibility with pytest 7; Closes: #1013708
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1013708

#1013708#15
Date:
2022-07-12 02:36:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-pykka, 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 1013708@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-pykka 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, 11 Jul 2022 22:16:58 -0400
Source: python-pykka
Architecture: source
Version: 2.0.3-3
Distribution: unstable
Urgency: medium
Maintainer: Stein Magnus Jodal <jodal@debian.org>
Changed-By: Sandro Tosi <morph@debian.org>
Closes: 1013708
Changes:
 python-pykka (2.0.3-3) unstable; urgency=medium
 .
   * debian/patches/pytest7.patch
     - fix compatibility with pytest 7; Closes: #1013708
Checksums-Sha1:
 7e908dc7d588db830020e30f766dacf25a601b2f 2086 python-pykka_2.0.3-3.dsc
 989eb0c0502c0030d966174d7c0ea33edf1f0b04 5144 python-pykka_2.0.3-3.debian.tar.xz
 4dd5319cb65e4f6cb388a083710df026c72257ee 8251 python-pykka_2.0.3-3_source.buildinfo
Checksums-Sha256:
 997ccddd4a4deac90e27e34a063837d888f62180ca97f72c010306a2310b14ee 2086 python-pykka_2.0.3-3.dsc
 7149ced0069c44a7efc62e94f8227b6bec9a47d9b7e8529e7a927c3821742c71 5144 python-pykka_2.0.3-3.debian.tar.xz
 c33f8cef43e5efbe7dec472039775537cb0276de539ec8f411ddd24faf8a770e 8251 python-pykka_2.0.3-3_source.buildinfo
Files:
 180ce4177fb261072e777ea506d67362 2086 python optional python-pykka_2.0.3-3.dsc
 99acd7b8ecc6516c8bbcc99f588127dd 5144 python optional python-pykka_2.0.3-3.debian.tar.xz
 d25feaa4aa80fb2b3eae01c6ef608367 8251 python optional python-pykka_2.0.3-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEufrTGSrz5KUwnZ05h588mTgBqU8FAmLM2agACgkQh588mTgB
qU/lTxAAuhzlIYqBfflaXvkhqTrcc2us3OrubjQ5uH2uUPshNPDvOfNDsNPoDqPP
hkjlE4M4VKxitN8XjBfX4DINZE4+UU5/N9TsnZM3WFuwlQKvJrdOkgn2EGlCA/DC
v3/5c2BkzfQoIqh9b096DYLKk/RFLz7dMzDAds2wvZavkDNa/kS2BDVU+yyGEHb6
H31s+NZThqa/aJQGafeEZt5BQCsmrcuPANSS1EpUJrqlorHD5ns+ivLXGmkTVsVp
sIRCkl+ODYoFtcMCKqOoY25+eADWJvC+8LRot9b6vhhX6jKWADmWrq9AwtsCisV1
KqHY8xcAbkAMMT4j0jN5wy03tY5V3zb3vgyRiNJwWIy19WbA+jvsaUxsbssI+Saj
s5/i0MTfKaWG9jRfoZEa6yhvDbcFehLeYwDFGJGtDhvPNMA5Oe0AKD+T37lLQVTg
ES4annu3mdQyAsv8vENJfMyFlMBIbuQ/m5Ep9uPM/7pVVFpSjrKrAnbHua3c9Cr4
K3f7Uo3JFaaqlcfOW/RyjIgB2x2Y1fCnLtD7/AGLou++yWLWgzAQV2yDunzfueFI
KQnjZ4TsJIB/SwnQHxHDH5U9Hh9+hghXK5j2/ahg4Gos9r87l1aV75+YxjPG++j6
4cOs9wV6Cm2KdEGX1l+OMuL3Uj0hNAY7yXUgQagyAFJdUIF/HZE=
=FLGQ
-----END PGP SIGNATURE-----