#1149539 sardana: FTBFS against python 3.15rc2 (No module named 'pkg_resources')

Package:
src:sardana
Source:
src:sardana
Submitter:
Margarita Manterola
Date:
2026-10-08 05:09:01 UTC
Severity:
normal
Tags:
#1149539#5
Date:
2026-09-30 13:48:20 UTC
From:
To:
Hi!

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

 From the log, the error seems to be:

         File
"/build/reproducible-path/sardana-3.5.1/src/sardana/sardanadefs.py",
line 32, in <module>
           from taurus.core.util.enumeration import Enumeration
         File "/usr/lib/python3/dist-packages/taurus/core/__init__.py",
line 87, in <module>
           from .taurusattribute import *  # noqa: F403,F401
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         File
"/usr/lib/python3/dist-packages/taurus/core/taurusattribute.py", line
39, in <module>
           from taurus.core.units import Quantity
         File "/usr/lib/python3/dist-packages/taurus/core/units.py", line
35, in <module>
           from pkg_resources import parse_version as __parse_version
       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/sardana.html

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

#1149539#16
Date:
2026-10-07 11:24:31 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
taurus, 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 1149539@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 taurus 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: Wed, 07 Oct 2026 12:43:07 +0200
Source: taurus
Architecture: source
Version: 5.4.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1149539
Changes:
 taurus (5.4.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version 5.4.0 that drop usage of pkg_resources
     (Closes: #1149539)
   * Rewrite d/watch in v5 format
   * Tweak debian/gitlab-ci.yml
   * Apply multi-arch hints
Checksums-Sha1:
 9af670ab1079cb65cecb1d3ec9364080b8d29894 2650 taurus_5.4.0-1.dsc
 081fab4d18115c1d9751a03ac100f8f9fd9a9f66 12343037 taurus_5.4.0.orig.tar.bz2
 bd4e78b3e1f4a4c17cb22b0ceb75aa4ef40624fa 19176 taurus_5.4.0-1.debian.tar.xz
 b52710d7ebb0d968ed7e455772f5af16948ea5dc 23024 taurus_5.4.0-1_source.buildinfo
Checksums-Sha256:
 add9c9c001b07e4974c9ff9c2e408661ce50969c2afaf940181dced04584f7fa 2650 taurus_5.4.0-1.dsc
 df912ad48616a9a6a4e6dfe3c00ff8697e92df79e499c46bde8ac81870549646 12343037 taurus_5.4.0.orig.tar.bz2
 2896845f839579e7e7f677a4990286030eedad8bde0a05ac6815bea754bc53c5 19176 taurus_5.4.0-1.debian.tar.xz
 f83a444862fbc1b0bcf1a37696ba9b35f9c97b1380fa4f9170cbe5c2c87544aa 23024 taurus_5.4.0-1_source.buildinfo
Files:
 d96cf6fff79432226fd9f24fcc2e8d3b 2650 science optional taurus_5.4.0-1.dsc
 0e4ed459e24d9b68e1ae240a7691ad89 12343037 science optional taurus_5.4.0.orig.tar.bz2
 5615a0862af848ae82d1a9a35cc15861 19176 science optional taurus_5.4.0-1.debian.tar.xz
 404ed2d63bb2eae66acb6d79501e6f93 23024 science optional taurus_5.4.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrGJEQRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrYYw/8CUnM/DQajmfs8CTja+9kaRfsnTO+QQd0
5bJGR+Mdequ2ytfHkRpox/zpSEPACbG3KQJp8RO51QaRsqP1FgFosf2deGHdMHuC
+xrDUMcBIiMlwPUd/pWoQRFLs/HwJB1WVzZ+7atxxCQCSw03pnXxbQ3uIkGgkdtI
hDeGI6KVA667bMOs0rlTnlay5+KADxd/JM0AJEyZKcQ3mYZEDaa8YaBrWVpZun0v
oLYfOukcBbDswN6Scyi2KijgSouHlLrdHCxIWt8xkKRJYbeArzK6noUEuYoWhvi0
CwPePF320SS/Yn+tlKH8CK7TPQFuzAqWDAuMKl8Jo/sJ1xHVyBhNNZYMePvizc23
Ai0zITM3LdVwqBqnrNBGWclXNmjkuGK5v2H4Wc0lmSkYyX/cawCVwlNoxgnyXhno
22KXvwYq3pInocIa+fKUbLay9hyHx5+feZMBt03ygGUWlb0L2e4yhF8JQ/jolmOQ
L3CqYei5lvc3nlf0pwM9Fk0BFbXD3TAfSB3pAfe6uhd3puvgSfNfx+/BBS+AaZxq
PelEFL6TVBnXujyoycU8yaOvriHPyhPpvqG9EPPJ5kpaDW+Cs3Z7d2//+hOoAuvd
98Xdp2O9K9xwq5KQv4uwyQG131lOMy9uJJGZhOE1RW55DgQn1duVn2mmzGwV+/xs
QGIDXbpRI+Y=
=kr6G
-----END PGP SIGNATURE-----