Your message dated Fri, 08 Nov 2024 18:24:53 +0000
with message-id <[email protected]>
and subject line Bug#1087011: fixed in python3.12 3.12.7-3
has caused the Debian Bug report #1087011,
regarding python3.12: packaging.version.InvalidVersion: Invalid version:
'3.12.7+'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1087011: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087011
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3.12
Version: 3.12.7-2
Severity: normal
Dear Maintainer,
in the package python-cassandra-driver, file
tests/unit/io/test_asyncorereactor.py, we can find this code:
```
import platform
from packaging.version import Version
has_asyncore = Version(platform.python_version()) < Version("3.12.0")
```
It fails as such:
```
_ ERROR collecting
.pybuild/cpython3_3.12_cassandra/build/tests/unit/io/test_asyncorereactor.py _
tests/unit/io/test_asyncorereactor.py:65: in <module>
has_asyncore = Version(platform.python_version()) < Version("3.12.0")
/usr/lib/python3/dist-packages/packaging/version.py:202: in __init__
raise InvalidVersion(f"Invalid version: '{version}'")
E packaging.version.InvalidVersion: Invalid version: '3.12.7+'
```
It's of course easy to reproduce via Python command-line:
```
>>> from packaging.version import Version
>>> Version('3.12.7+')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/packaging/version.py", line 202, in
__init__
raise InvalidVersion(f"Invalid version: '{version}'")
packaging.version.InvalidVersion: Invalid version: '3.12.7+'
```
Note that if version was `3.12.7+1` it would work:
```
>>> Version('3.12.7+1')
<Version('3.12.7+1')>
```
Best,
Arnaud
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.11.6-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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.12 depends on:
ii libpython3.12-stdlib 3.12.7-2
ii media-types 10.1.0
ii mime-support 3.66
ii python3.12-minimal 3.12.7-2
ii tzdata 2024b-3
Versions of packages python3.12 recommends:
ii ca-certificates 20240203
Versions of packages python3.12 suggests:
ii binutils 2.43.1-5
pn python3.12-doc <none>
ii python3.12-venv 3.12.7-2
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: python3.12
Source-Version: 3.12.7-3
Done: Stefano Rivera <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python3.12, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stefano Rivera <[email protected]> (supplier of updated python3.12 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 08 Nov 2024 09:55:36 -0800
Source: python3.12
Architecture: source
Version: 3.12.7-3
Distribution: unstable
Urgency: medium
Maintainer: Matthias Klose <[email protected]>
Changed-By: Stefano Rivera <[email protected]>
Closes: 1087011
Changes:
python3.12 (3.12.7-3) unstable; urgency=medium
.
* Strip the trailing + from PY_VERSION, again. (Closes: #1087011)
Checksums-Sha1:
d60001466db393ab6ae3e686339bb9cd14c52424 3651 python3.12_3.12.7-3.dsc
3989afe03491bd0676c119c57c5711fe6e1934d5 322488
python3.12_3.12.7-3.debian.tar.xz
77937a2dcff192352e79c62f8196fdde13d4aeea 11051
python3.12_3.12.7-3_source.buildinfo
Checksums-Sha256:
3a6f5439039e1bce662246cde65ebbacb8c7467116af0f0069dade5dbbb7ab4e 3651
python3.12_3.12.7-3.dsc
79bcd9f370fc00be235b3367836af27c632e26819abbed63d72b18a5830d641d 322488
python3.12_3.12.7-3.debian.tar.xz
632526354295e5287234b63e936f1b753a393157d1d0797a5de80222c575122d 11051
python3.12_3.12.7-3_source.buildinfo
Files:
44a54fb077e5498d63ac6dca5a1c90f6 3651 python optional python3.12_3.12.7-3.dsc
7b51a686424b1dde1ec9f694e759919d 322488 python optional
python3.12_3.12.7-3.debian.tar.xz
220735ea912e5007b8fcff5ef33551da 11051 python optional
python3.12_3.12.7-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCZy5RdRQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2Gs3AQDrj8teopyXhwgusL4JXEzErHs0gBbZ
HcTTgnhnRHZU0QEA20N/AIinrFseKqQLSfTMhdVWdZGcWi13bSoW1uly8Ag=
=q8gE
-----END PGP SIGNATURE-----
pgpYGEFBH0vy0.pgp
Description: PGP signature
--- End Message ---