Bug#1130153: ValueError: could not convert string to float: '1+dfsg1'

Santiago Vila sanvila at debian.org
Mon Mar 9 13:52:43 GMT 2026


forwarded 1130153 https://github.com/jbhopkins/bioxtasraw/issues/14
thanks

On Mon, Mar 09, 2026 at 02:33:29PM +0100, Picca Frédéric-Emmanuel wrote:
> 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")

Good idea. I see you have just forwarded the bug upstream. Thanks a lot.



More information about the debian-science-maintainers mailing list