#1121670 python-cffi: build-depends on obsolete python3-py

Package:
src:python-cffi
Source:
src:python-cffi
Submitter:
Alexandre Detiste
Date:
2026-08-17 13:21:02 UTC
Severity:
normal
Tags:
#1121670#5
Date:
2025-11-30 12:40:16 UTC
From:
To:
Dear Maintainer,

python3-py was the birthplace of py.test which became pytest.

But nowadays python3-py is unmaintained

From a quick grep it looks like python3-py
is used by a single test.

Please consider removing it's usage.

Greetings

Alexandre



/tmp/python-cffi$ grep -r -e 'import py$' -e 'from py '
testing/udir.py:import py

#1121670#12
Date:
2025-11-30 15:50:53 UTC
From:
To:
Hi Alexandre (2025.11.30_12:40:16_+0000)

I'm afraid it's much deeper than that. The entire test suite is built
around the udir class from py.

It could be migrated away from it, but it's going to be a few hours
work.

cffi originated from pypy, so it shares common infrastructure. There may
not be interest in migrating away from shared code.

Stefano

#1121670#21
Date:
2025-11-30 18:14:33 UTC
From:
To:
Thanks for the information.
Should this bug forwarded upstream to share our concerns ?

Some severity of the bugs can be lowered if we are going
to keep python3-py for a long long time, if you wish
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1118777

Please keep the bugs against  python-multipart
and dumb-init as "Important" as these two dependencies
are 100% spurious and only making it more complicated
to untangle the dependency network.

Le dim. 30 nov. 2025 à 16:50, Stefano Rivera <stefanor@debian.org> a écrit :

Then they should be interested to keep python-py somewhat alive.

#1121670#26
Date:
2026-08-17 12:24:33 UTC
From:
To:
Hello,

Bug #1121670 in python-cffi 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-cffi/-/commit/ad0405296d0bd32d07f0fc14ddf14b7519867657
------------------------------------------------------------------------
drop build-dep on python3-py (Closes: #1121670)
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1121670

#1121670#33
Date:
2026-08-17 13:19:56 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-cffi, 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 1121670@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated python-cffi 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, 17 Aug 2026 14:07:44 +0200
Source: python-cffi
Architecture: source
Version: 2.1.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1121670
Changes:
 python-cffi (2.1.1-1) unstable; urgency=medium
 .
   * Team Upload
   * New upstream version 2.1.1
   * Drop build-dep on python3-py (Closes: #1121670)
   * Refresh bundled-wheel-and-setuptools.patch
   * Drop pycparser-3.patch: applied upstream
   * Add debian/salsa-ci.yml
   * Bump Standards-Version to 4.7.4, drop Priority: tag
   * Drop duplicate dependency on dh-python
Checksums-Sha1:
 e291efd00ca6301f90035b2d34c49be7888eb870 2544 python-cffi_2.1.1-1.dsc
 93ebae852d371f82c01cf07864478dffb2ad863e 530807 python-cffi_2.1.1.orig.tar.gz
 c7074b38c3e57a09f0a1a2a3157f02d125c4bf50 8780 python-cffi_2.1.1-1.debian.tar.xz
 df7061b8afdbebca00da4aff27b26279ff616261 9296 python-cffi_2.1.1-1_amd64.buildinfo
Checksums-Sha256:
 59c16c8080e8ac3db2feb4aef5d2ae2ce9d33879e04d5d3d881c551ecc163e92 2544 python-cffi_2.1.1-1.dsc
 dd31f52ea1086513bb9df30f8fcee9b8918323ae067a3d5b78bc826a000712be 530807 python-cffi_2.1.1.orig.tar.gz
 0b9d31fb509fc5f165fa0020cc37d3bd07e2774a8d392f91e7c0661dabde6e44 8780 python-cffi_2.1.1-1.debian.tar.xz
 96a6edff2e85979ae5110e670a5d3d2b8ac0e457226c5b28d35e93aaa3c55de3 9296 python-cffi_2.1.1-1_amd64.buildinfo
Files:
 5e5b92160226efeb7acb3528256c33a2 2544 python optional python-cffi_2.1.1-1.dsc
 32f0067c08d797dd28cef1544105caa3 530807 python optional python-cffi_2.1.1.orig.tar.gz
 c45f0282da21c943fb898ab43680177b 8780 python optional python-cffi_2.1.1-1.debian.tar.xz
 0debd36d3666136eca5ace05d149dceb 9296 python optional python-cffi_2.1.1-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmqDBxgRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBoawg//amOmzAcLERMAStWRtL6vB+3+1uC1vcs4
TS+cNcXiUDTlOq6DoOaS8s1EBfZp3/CuXN7DMnC9DbvlatHvPZMiFTZNI9GmveNE
6SdCd6e1+8gG1im+2AMsYqwlDfZxOo+tEk/c2melEZtLz202+Ih3XULTOPxhZ5F7
yQwK5Ka/uQrZnjkaNtoeApJK1cVoCnAkLrSD5t3RWqEYIIjT0bjbDNi9bz0snnS6
3CdBypjbSmeUPz5Se61wcGxpsUTxah4Mz1y6mZ+MN7G1WITmsUTSQYvkWvpklcNT
bFV9tgj+3RsmDHMl0SaeEvCujz74TtpCHNN0KSiZUV4riJUzNpP6SZCG0hnIlfTe
nz1k3Q63NfiW0aNAWiSsqIJAh+7AgKKL9H5T7QAE8MtYaUOpub88lcqOgOAvjwhk
0JLKPbxIAeg9C1yAHxQ8rCtoSf/dwYM66GxHqaFqyFfudi6cMQEiAQ9TUQTvcaI0
RsU0xxAP+TKzIt1tC5yEnW8o1ekO0zJKzY5d7cVfSWns8NtUN80Fi/Q8vBPEvSxQ
kgsRKegpk8OovLkHIFZ0JFM5JXNHrO3D25yGxeqTqEXm52XnchhwSKwGzOcNqHBE
c009cdM9LSzYp5WPr5xYLwzhYvZgA1hoZfVHctNLFGTfvyA08j3tDqps1yFUHIxj
WdiUdWpySjk=
=tv7j
-----END PGP SIGNATURE-----