#1125837 python3-pycsw: (build-)depends on deprecated module python3-pkg-resources

#1125837#5
Date:
2026-01-18 12:45:40 UTC
From:
To:
[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.

#1125837#10
Date:
2026-01-18 19:10:28 UTC
From:
To:
This is fixed in git. We can't forward the patch because upstream refrained from using importlib and instead chose to hardcode the version.

Kind Regards,

Bas

#1125837#19
Date:
2026-08-21 11:55:19 UTC
From:
To:
Hi,

Can you please upload the pending changes ?

Greetings

Alexandre

#1125837#24
Date:
2026-08-21 12:22:44 UTC
From:
To:
I'm waiting for the next upstream release, RC bug, or upcoming freeze.

Maybe Antonio wants to become an uploader of pycsw too.

Note that pycsw is in non-free, so you need to upload the amd64.changes instead of source.changes.

Kind Regards,

Bas

#1125837#31
Date:
2026-09-10 07:48:53 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
pycsw, 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 1125837@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <sebastic@debian.org> (supplier of updated pycsw 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: Thu, 10 Sep 2026 09:18:55 +0200
Source: pycsw
Binary: pycsw pycsw-doc pycsw-wsgi python3-pycsw
Architecture: source all
Version: 2.6.2+dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebastic@debian.org>
Description:
 pycsw      - OGC compliant metadata (Catalogue Service for the Web) server
 pycsw-doc  - OGC compliant metadata (Catalogue Service for the Web) server - d
 pycsw-wsgi - WSGI Apache CSW service based on pycsw
 python3-pycsw - OGC compliant metadata (Catalogue Service for the Web) server - P
Closes: 1125837
Changes:
 pycsw (2.6.2+dfsg-4) unstable; urgency=medium
 .
   * Team upload.
   * Add python3-legacy-cgi to (build) dependencies.
   * Annotate build dependencies with nocheck & nodoc.
   * Drop Priority: optional, default since dpkg 1.22.13.
   * Bump Standards-Version to 4.7.4, changes: priority.
   * Add patch to use importlib instead of deprecate pkg_resources.
     (closes: #1125837)
   * Use pybuild-plugin-pyproject instead of python3-setuptools.
   * Update lintian overrides.
Checksums-Sha1:
 588d3c9a11d3936a4ce853f61b47344a08f15d6d 2664 pycsw_2.6.2+dfsg-4.dsc
 cd9e888dfbf5d3b15e20bd04aa296f3d9e3a90b0 19056 pycsw_2.6.2+dfsg-4.debian.tar.xz
 34e7c0084b05561d1c60e5bd728fd5f318f7fd6e 1301648 pycsw-doc_2.6.2+dfsg-4_all.deb
 9396070ae21182f92bd2cece5d20d474c6baea1b 122064 pycsw-wsgi_2.6.2+dfsg-4_all.deb
 32f9b4cba43d9c686efd745b0935ad409dff7f8e 18420 pycsw_2.6.2+dfsg-4_all.deb
 f236a626fc62a6b1cda4221e4eaae92e51c077d1 13799 pycsw_2.6.2+dfsg-4_amd64.buildinfo
 cd256fd2f9dd15bbf8f39b81db049ce4045cdd85 246332 python3-pycsw_2.6.2+dfsg-4_all.deb
Checksums-Sha256:
 4096dffb653e1ec8ec99eac5702ed11b42c06e7f35912bb1c38f9a9b43f6d066 2664 pycsw_2.6.2+dfsg-4.dsc
 4ad485292540529b18bc0456659d903cb74f70e2b380e115e7b397f56d689ab5 19056 pycsw_2.6.2+dfsg-4.debian.tar.xz
 633aa4c8a541b599796e4983c1681a0f2461f402c55f52ed3f4f46df1aadacbf 1301648 pycsw-doc_2.6.2+dfsg-4_all.deb
 8e1b09565f1955bed93ead35f1d6345eaa2099e003f99ba93cc94614933d5593 122064 pycsw-wsgi_2.6.2+dfsg-4_all.deb
 1bb2276cc68f5a8a3c0770c2c9f3203a1b38b07813847ebb0507ba7316bb90d4 18420 pycsw_2.6.2+dfsg-4_all.deb
 0669a5c43cdb3c3032fe8f7cf99df2e735070f3787566fc3505c797291b050ab 13799 pycsw_2.6.2+dfsg-4_amd64.buildinfo
 8235acef5a3c3a79776d5952d13fdc0c7e52d9d03b146e94f29bca05a33c30c0 246332 python3-pycsw_2.6.2+dfsg-4_all.deb
Files:
 1161693a6760a322e97ffcedbda0ecb3 2664 non-free/python optional pycsw_2.6.2+dfsg-4.dsc
 0a2e6b39db4592b1d300c8afb5a0d6cf 19056 non-free/python optional pycsw_2.6.2+dfsg-4.debian.tar.xz
 4d79997229fcae0c991ddb62cff0177c 1301648 non-free/doc optional pycsw-doc_2.6.2+dfsg-4_all.deb
 186aa5a6f96a77242d013a8b604a6b33 122064 non-free/web optional pycsw-wsgi_2.6.2+dfsg-4_all.deb
 565b5c03505140b119add15431c9c067 18420 non-free/web optional pycsw_2.6.2+dfsg-4_all.deb
 b77f6351f5a2c8d27291b44128d497b9 13799 non-free/python optional pycsw_2.6.2+dfsg-4_amd64.buildinfo
 86cefec1d3903b5fb359866233430789 246332 non-free/python optional python3-pycsw_2.6.2+dfsg-4_all.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmqiXH0ACgkQZ1DxCuiN
SvFcTxAAlhtj+gRrI80wUcBu7jO2JUSRTvBXwN8t1U+t3Ku335qslXdqhRr990YU
FeycS5ScUehxTBgY/cwGyt9PGw0U44n2ttGELMtIQRXLSlImf4KQJG/izwLrNCXc
ngnVi+LAs6NFdQrh6vFmJ8tITWEmL+WYz26iLoijatJX7QSafrSBRniVZeRJtQQO
ndwDHtf5lXfTMWiBujGB6PPiN8G2LAaSuypxoAq0mcel/eEWlO+0It464XrjA6z2
QBYEgReT1+Go2bVu9Z0vYrf7BjHtvIJQYX9x41Bb9y++7z65LUrp6z/j65wR/PWc
3Sk1ikdRUzhBeCdinmkzS3lpnW6i/Mjo/MnMRK7m5XIa8UfpeRKe+TSrFkrL4RP+
bxRydk2MgX7O2HM4NewcSV6jHZQufB0KUQ30jEsqX4dwkTNQ1YhMFF5uFZZMvh8T
b9VXaPX0QHmiQH6exhbqGbLp6mGbB5BdpclqBFGo6DFwJggFzhVDqYeGzmHtWjdk
ekqqsvb8Xjzg2FCHI8UF0Fhlw8WKdSyZB3ab/fcjjYIyxfMzhKrHtpheTjSspOd3
QEgz5UGUhlU1wXyQN3vDTvrCh7NGxc5xkuA/gv0QLwkk6sEI+KJIgv9bzeD7Ap1p
wejSKLpXMCvmMfYiPbBq7yBcknKpWq90onF+H4lIR9/nwZfu/fo=
=ZcTJ
-----END PGP SIGNATURE-----