Your message dated Mon, 09 Feb 2026 20:03:15 +0000
with message-id <[email protected]>
and subject line Bug#1125866: fixed in pytest-cython 0.3.1-2
has caused the Debian Bug report #1125866,
regarding python3-pytest-cython: undeclared runtime usage of deprecated 
python3-pkg-resources
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 [email protected]
immediately.)


-- 
1125866: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1125866
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pytest-cython
Version: 0.3.1-1
Severity: serious
Justification: FTBFS

Dear Maintainer,

The undeclared runtime usage of pkg_resources makes healpy's autopkgtest fail.

Please patch it out and use importlib.metadata instead.

Greetings

Alexandre

--------------



src/pytest_cython/__init__.py-try:
src/pytest_cython/__init__.py:    from pkg_resources import get_distribution
src/pytest_cython/__init__.py-    __version__ = 
get_distribution('pytest-cython').version
src/pytest_cython/__init__.py-    del get_distribution
src/pytest_cython/__init__.py-except Exception:
src/pytest_cython/__init__.py-    import warnings
src/pytest_cython/__init__.py:    warnings.warn('could not get pytest-cython 
version; pkg_resources '
src/pytest_cython/__init__.py-                  'not available or package not 
installed')
src/pytest_cython/__init__.py-    __version__ = '0.0.0'





https://salsa.debian.org/debian-astro-team/healpy/-/jobs/8904483

============ 248 passed, 7 skipped, 12 warnings in 63.80s (0:01:03) ============
autopkgtest [13:27:46]: test python3-healpy: -----------------------]
autopkgtest [13:27:47]: test python3-healpy:  - - - - - - - - - - results - - - 
- - - - - - -
python3-healpy       FAIL stderr: 
/usr/lib/python3/dist-packages/pytest_cython/__init__.py:7: UserWarning: could 
not get pytest-cython version; pkg_resources not available or package not 
installed
autopkgtest [13:27:47]: test python3-healpy:  - - - - - - - - - - stderr - - - 
- - - - - - -
/usr/lib/python3/dist-packages/pytest_cython/__init__.py:7: UserWarning: could 
not get pytest-cython version; pkg_resources not available or package not 
installed
  warnings.warn('could not get pytest-cython version; pkg_resources '
/usr/lib/python3/dist-packages/pytest_cython/__init__.py:7: UserWarning: could 
not get pytest-cython version; pkg_resources not available or package not 
installed
  warnings.warn('could not get pytest-cython version; pkg_resources '
autopkgtest [13:27:47]: @@@@@@@@@@@@@@@@@@@@ summary
python3-healpy       FAIL stderr: 
/usr/lib/python3/dist-packages/pytest_cython/__init__.py:7: UserWarning: could 
not get pytest-cython version; pkg_resources not available or package not 
installed




------

[This bug is targeted to the upcoming forky release]

The package build-depends or depends on python3-pkg-resources, which is
deprecated upstream. Details can be found at

    https://setuptools.pypa.io/en/latest/pkg_resources.html

Use of pkg_resources is deprecated in favor of importlib.resources
and importlib.metadata.
Some useful APIs are also provided by packaging (e.g. requirements and version
parsing). Users should refrain from new usage of pkg_resources and should work
to port to importlib-based solutions.

Python 3.13 in unstable provides both importlib.resources and
importlib.metadata, so no additional dependencies on those packages are needed.

If the package is a namespace package, then please lower
the severity again to normal.

--- End Message ---
--- Begin Message ---
Source: pytest-cython
Source-Version: 0.3.1-2
Done: Alexandre Detiste <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pytest-cython, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <[email protected]> (supplier of updated pytest-cython 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 09 Feb 2026 20:01:33 +0100
Source: pytest-cython
Architecture: source
Version: 0.3.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Maintainers 
<[email protected]>
Changed-By: Alexandre Detiste <[email protected]>
Closes: 1125866
Changes:
 pytest-cython (0.3.1-2) unstable; urgency=medium
 .
   * Team upload.
   * Update d/watch to detect upcoming 0.4.0
   * Use dh-sequence-python3
   * Drop "Rules-Requires-Root: no": it is now the default
   * Bump Standards-Version to 4.7.3, drop Priority: tag
   * Add temporary runtime dependency on python3-pkg-resources
     (Closes: #1125866)
Checksums-Sha1:
 4f723e6019dd91e6e71108bfc7cd6aadf56b18b7 2114 pytest-cython_0.3.1-2.dsc
 bf4c1ed32dc504f1e200a8a009cc4afd5f23873b 3148 
pytest-cython_0.3.1-2.debian.tar.xz
 687de8f7c1bca086b97e3ebf7316ae753c3e51d3 7297 
pytest-cython_0.3.1-2_source.buildinfo
Checksums-Sha256:
 89d968b5a8f679710c644dc28d18cbd378753fce5936433db8a0b324a96c9807 2114 
pytest-cython_0.3.1-2.dsc
 5db20895a5b5240e104ceb3625bb23bd0c426e86ec7e2410da1e0f76bee6ae5f 3148 
pytest-cython_0.3.1-2.debian.tar.xz
 856b222f0fcabc72431c555cf4dea2f32e8b7b02f8fa669f4145005a9a2e2db2 7297 
pytest-cython_0.3.1-2_source.buildinfo
Files:
 0a31794db3bc6d63bb47f590ce879c20 2114 python optional pytest-cython_0.3.1-2.dsc
 a124d003b9c550bd9981e58ae907e202 3148 python optional 
pytest-cython_0.3.1-2.debian.tar.xz
 c3c331ca496dcacc8104df4ff06fccb3 7297 python optional 
pytest-cython_0.3.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmmKMGQRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpJ4g//evgyjZLJd13pXjJ7jFZpCFCnxGvhfMbi
EgzoLtqH5GPktXwr8pX5kQXvtvKyuEiRookzDst2UAY4cE46Mla3NeIjwPV9CrFI
1VcXAoTfGc9z/pzuLcjkTIXBuJnGAFiWzVz1mkn+QkGzbnMWJ89JZPNJDhDou0yA
E/tYCKA1jQKK7aO11+pJI+dnwhatwjsk5zHRh6t/NisPghSSZsLW/ubeMne1XBXx
sQaXZVlV23ZI0u6Dtiw5NTrbvtKyg0XnQ/E/TxwoNPdKhYSfYdywTiyw6AOZUd58
sOBY9zLyr/RAn/AcjhrAZ6cMgOn+SzxR+7q2m/w7/6+X9IagT8oVMmBAKI/Srm7N
UHsllgQ6fCGhS+ZGn8BER3hKQTNP2WgONdZi4xot34R4PEPrHzfbyfBWsuaW1Wdo
+43XG75MMZUKSYXZcEU1vesK+wmpwaQlrWUWy5g5An7ET6WsZ0p+YdkezvgY3Rty
XsYjimFTBY6k7XIzYl5iM58OwEfnOKV6hkSakIHe7h2oTTLye7TZrn9ONc4jWpac
ehM9XPrHldFDAJh9apJKqWLKxAawubUlZ4QfWPDIrumBu5pe2k9bOMznE7PKH1kn
VjLCSpoD+oA3Sy+xG1fwrqBUsd5CukZZSWbQcrogIVAwZ7xuHA08DmnWTAadHPRJ
oGocpG0IUZs=
=0ndo
-----END PGP SIGNATURE-----

Attachment: pgp28K6tN1ahZ.pgp
Description: PGP signature


--- End Message ---

Reply via email to