Bug#1130153: ValueError: could not convert string to float: '1+dfsg1'
Picca Frédéric-Emmanuel
picca at debian.org
Mon Mar 9 13:33:29 GMT 2026
Package: python3-bioxtasraw
Version: 2.3.0-2.1
Followup-For: Bug #1130153
X-Debbugs-Cc: picca at debian.org
The best would be to use the packaging.version Version type in order to deal with these verrsion comparisons.
from packaging.version import Version
v = Version(matplotlib.__version__)
v < Version ("3.3.3")
...
-- System Information:
Debian Release: 13.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.73+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-bioxtasraw depends on:
ii libc6 2.41-12+deb13u1
ii python3 3.13.5-1
ii python3-dbus 1.4.0-1
ii python3-fabio 2024.9.0-7
ii python3-h5py 3.13.0-1
ii python3-matplotlib 3.10.1+dfsg1-4
ii python3-numexpr 2.10.2-1+b2
ii python3-numpy 1:2.2.4+ds-1
ii python3-pdbx 2.0.1-2
ii python3-pil 11.1.0-5+deb13u1
ii python3-pyfai 2025.03-1
ii python3-reportlab 4.3.1-1
ii python3-scipy 1.15.3-1
ii python3-silx 2.2.1+dfsg-3
ii python3-six 1.17.0-1
ii python3-svglib 1.5.1+dfsg-1
ii python3-wxgtk4.0 4.2.3+dfsg-2
python3-bioxtasraw recommends no packages.
Versions of packages python3-bioxtasraw suggests:
pn python-bioxtasraw-doc <none>
-- no debconf information
More information about the debian-science-maintainers
mailing list