Your message dated Sat, 17 Oct 2026 11:04:44 +0000
with message-id <[email protected]>
and subject line Bug#1150760: fixed in pytoolconfig 1.3.1-6
has caused the Debian Bug report #1150760,
regarding python3-pytoolconfig: min_py_version / max_py_version return versions
outside the specifier
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.)
--
1150760: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150760
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pytoolconfig
Version: 1.3.1-5
Severity: minor
Tags: upstream
`utils.min_py_version()` and `utils.max_py_version()` probe the versions
from 3.4 to the running interpreter's minor version. When none of them
matches the specifier, both fall back to a value that the specifier does
not allow.
test.py:
from pytoolconfig.utils import max_py_version, min_py_version
print(min_py_version(">=3.15"), max_py_version(">=3.15"))
Actual:
Python 3.13: (3, 13) (3, 4)
Python 3.14: (3, 14) (3, 4)
- the minimum is the interpreter version, which `>=3.15` excludes;
- the maximum is 3.4, lower than the minimum and also excluded;
- the result depends on the interpreter running the tool.
Expected: `(3, 15)` as minimum. For the maximum, a value allowed by the
specifier, or `None` when it cannot be determined, rather than `(3, 4)`.
The `min_py_version` / `max_py_version` values of `UniversalConfig` are
computed with these functions, so tools reading them get the wrong
values too.
Reproduced with python3-pytoolconfig 1.3.1-5 (code unchanged in 1.3.1-6)
on Python 3.13 and 3.14, and with upstream main (bee6db4).
This is an upstream bug, it will be forwarded.
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.2.9+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---
Source: pytoolconfig
Source-Version: 1.3.1-6
Done: Nico Della Torre <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pytoolconfig, 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.
Nico Della Torre <[email protected]> (supplier of updated pytoolconfig 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: Sat, 17 Oct 2026 08:10:24 +0200
Source: pytoolconfig
Architecture: source
Version: 1.3.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Nico Della Torre <[email protected]>
Closes: 1093665 1150754 1150755 1150758 1150759 1150760 1150761 1150769 1150770
Changes:
pytoolconfig (1.3.1-6) unstable; urgency=medium
.
* Add myself to Uploaders. (Closes: #1093665)
* Add debian/upstream/metadata.
* Fix capitalization of Python in the package description.
* Add patches fixing upstream bugs, with tests:
- Resolve postponed annotations of configuration models.
(Closes: #1150754)
- Parse boolean command line values explicitly. (Closes: #1150755)
- Convert Enum values when fall_through is enabled. (Closes: #1150758)
- Convert string values to bool, int and float fields.
(Closes: #1150759)
- Return Python versions allowed by requires-python. (Closes: #1150760)
- Give command line arguments precedence over universal configuration.
(Closes: #1150761)
- Read the version from the package metadata. (Closes: #1150769)
- Use the first source configuring the tool even if empty.
(Closes: #1150770)
* Add patch replacing deprecated typing aliases with built-in generics
and collections.abc.
* Add patch updating the README: document the features, add a usage
example and state that Python 3.10 or later is required.
* Run the upstream test suite as autopkgtest with autopkgtest-pkg-pybuild.
Checksums-Sha1:
36ed3a84e89a8f686a543af981401afa5c4c9fdd 2264 pytoolconfig_1.3.1-6.dsc
7cd911425eb5b2d3a890feef5ff2065e394c2fe0 12080
pytoolconfig_1.3.1-6.debian.tar.xz
bf789f3c250a4a2030ec60dd91787bf189b7e2b0 7992
pytoolconfig_1.3.1-6_source.buildinfo
Checksums-Sha256:
cd1b4be669aa1e148b0c61f8881dba6c66ec55e59a19f8f322f481dcf514a749 2264
pytoolconfig_1.3.1-6.dsc
b7918aa88e766c6c5689e2e2d44e5a7f35651bea3f438bb892494b96fbc94eda 12080
pytoolconfig_1.3.1-6.debian.tar.xz
3cdfba08bc1c41892611429209655695905e76f1b47ac3410c84c6e17e1ece6e 7992
pytoolconfig_1.3.1-6_source.buildinfo
Files:
e26208a5e963536ebc382b72dccebfb7 2264 python optional pytoolconfig_1.3.1-6.dsc
e38e9a0dae1fec519a691a5b7cac3fcc 12080 python optional
pytoolconfig_1.3.1-6.debian.tar.xz
3b6c445537532d5c555253c2a6ee009e 7992 python optional
pytoolconfig_1.3.1-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrTUe8ACgkQMfMURUSh
dBrJiA//dLTQsuJR3PNVQ976Zy3uqV9Gp3Qce5hOCRisICuPWlB2wwzy3TLW6NVJ
09yZb3A00MGHzYU4/lxDEZslgdX2+BtZCK0EHSasF8Fo8tD4ZrSfTMZnl0oPGOof
jW2cePcID77LtswPmrc2VbPfxUd46TrUdvOwD8X895mEzjHZMooSQEkqe9L03A16
N8RgUyWzEUsSjJqrM6GWqDOaZmMYLtrLrOqegWu7AYCNJrctjFlUc2ZNrzZ1404Q
VHRQqFI9nLItelTjgmZn1TxMIexPIqBwxMyCVAaT9KBKYH6WgN65gZTxDn0wVFqK
C68szunRPIfMD8oyr00yZmNoTIbPTIBXT+28U81BGSg1KSyW0ZCmb1L/wUA/7k92
WNxexd7qBu2kKRCM9/SEoool2F2pU1xWBHd9R4VN/3knx8yujkY3FX3kfDkCvJp8
pRn90+WymfNCBAC0LZdwYyLdmxeMh7wfnEQGsAkHYEiBE1IP4TmtweQafyDwjq6D
lcYKZIOVSsE3tlzuQ59w24cbDpX5Z/7L5WhSCdoEqn9nvQS3sgCTY7TGa8V6oFwg
40xzW2v2q0QvuZQwJdTYwLmLZ2/KtoXzQqHrYnKnOW2TFqpwh5fb+3+GzYb8Rz+D
S65d734R7N+mWj80Ac/0EB0KVJU9mNxGEi53YorIURgg1N3jQNE=
=zcEU
-----END PGP SIGNATURE-----
pgp7XwaC9qdZx.pgp
Description: PGP signature
--- End Message ---