#1149308 rdflib-sqlalchemy: FTBFS against python 3.15rc2 (No module named 'pkg_resources')

#1149308#5
Date:
2026-09-29 10:32:37 UTC
From:
To:
Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that rdflib-sqlalchemy fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856995/

 From the log, the error seems to be:

rdflib_sqlalchemy/__init__.py:4: in <module>
     from pkg_resources import get_distribution
E   ModuleNotFoundError: No module named 'pkg_resources'

While we ran into this error during the rebuild against Python 3.15, the
reproducible builds infrastructure is also running into this issue:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/rdflib-sqlalchemy.html

Thus, this is not a new problem and it should be solved right away.
Setting the severity to Serious.

#1149308#10
Date:
2026-10-10 10:49:55 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
rdflib-sqlalchemy, 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 1149308@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 rdflib-sqlalchemy 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: Sat, 10 Oct 2026 12:01:11 +0200
Source: rdflib-sqlalchemy
Architecture: source
Version: 0.5.4+git99g-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1123332 1149308
Changes:
 rdflib-sqlalchemy (0.5.4+git99g-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream snapshot (Closes: #1123332, #1149308)
   * Add debian/gbp.conf
   * Brop python3-six build-dependency
   * Rewrite d/watch in v5 format
   * Drop "Rules-Requires-Root: no": it is the default now
   * Bump Standards-Version to 4.7.4, drop Priority: tag
Checksums-Sha1:
 099a2fd6a17c35a584ba2361174d32648494450e 2439 rdflib-sqlalchemy_0.5.4+git99g-1.dsc
 698e8d2c054c6f099f8f24bf7f5234f85d753e02 1219840 rdflib-sqlalchemy_0.5.4+git99g.orig.tar.gz
 4f5847a8de247ccba7ce034099d75dd74017e554 3160 rdflib-sqlalchemy_0.5.4+git99g-1.debian.tar.xz
 fb7500e73597a86d390ead1b0df05246cabfa98b 6386 rdflib-sqlalchemy_0.5.4+git99g-1_source.buildinfo
Checksums-Sha256:
 b16f5fdf1e71c7a2c67fcd28204d74cd621ea9ccec50b8472e8084ddbbfadbb9 2439 rdflib-sqlalchemy_0.5.4+git99g-1.dsc
 e68cd8572c13c663fb730348d0d932a0f7fc0fdf2ad736b38976ee4e6289f0c3 1219840 rdflib-sqlalchemy_0.5.4+git99g.orig.tar.gz
 41d68a5ebe7a597471f92618c56128636bbd8f32095dab54665628cc7671ece8 3160 rdflib-sqlalchemy_0.5.4+git99g-1.debian.tar.xz
 bbb73c919371a961df6ec2f4c19f3c2a7bca11c994d9b037979c89a1f666c99a 6386 rdflib-sqlalchemy_0.5.4+git99g-1_source.buildinfo
Files:
 697ef0f39550a7fe096a39a62f96dcf7 2439 python optional rdflib-sqlalchemy_0.5.4+git99g-1.dsc
 4340de2d9a619c83fb4576a4b7d4ea70 1219840 python optional rdflib-sqlalchemy_0.5.4+git99g.orig.tar.gz
 87f87255db48646ad769b11598c6c647 3160 python optional rdflib-sqlalchemy_0.5.4+git99g-1.debian.tar.xz
 cdc1e70f21401634b0397bb76de4b27b 6386 python optional rdflib-sqlalchemy_0.5.4+git99g-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrKFHgRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqEtA//V2MJanWabcmapCa4RROajSvy4QozqGzG
83c8gzhls2Gb2N3u9XCay7cipUVhgEUFcb2yNpBgznRUJeww9/SKuur68BNYdSEt
BxOHCSes7nKqeoW7qKGob0nj7SBuxIOwSJaNkgsZOj03GRCqcWqVMP8YU3mLfCbW
m+284QNKK53ziNmFkpSnoxjNEY2SJsmi2D1IOjgiw05/7OYv2EDjEqNrjzdGyXPu
rMLn4oHE81AHgUCIyUQMQXm0Xah/ejKY+cAu3idPWHK51jaGVR9/Y+1OhDv4t/FQ
RnwT5IvuFEPqTXcf0dmHdFzJdeJCmqQFxEf6Nxrn5EykonFCkrvVSUDazzadib96
bUlEZgIE7Fop8zNNtJuSS6pNGLOvpTOgSN+P7Gj9e1CAS0bqtmMXeXjKicrE6vSw
U3M6KfgPdht09bqFOvUGlGcAXNY2lAiWAv7jjFRIK9NoP9blU4bvh7NOKGlNhzWK
sH1X0CMhyRNCX1nzpmzFnkYLYTQxcGJUj02lAp4HjGjxAOr46WygQZUdG3MPmyKv
aigrjFqb6mNjrqb0/yWmgC4x+ZK4Phm+eBnuNm9w9lsFFMJakJF+SorAXntJ1t9M
eJWgPG+UT20yVddj6Z3pSMghXk+Bl97ryil1KP/0tzvgEH4OfGwsRGEc88nB7sEm
j641b1c4EvA=
=RUIe
-----END PGP SIGNATURE-----