Package: python-limits
Version: python3-limits
Severity: normal
X-Debbugs-Cc: [email protected]
python-limits 4.4.1 (in stable, testing and unstable [1]) has the following
requirements
in python-limits/requirements/main.txt [2]:
deprecated>=1.2
packaging>=21,<25
typing_extensions
But stable, testing and unstable all have python-packaging 25.0 [3]. Using
entry points
through pkg_resources, I get the following error:
pkg_resources.ContextualVersionConflict: (packaging 25.0
(/usr/lib/python3/dist-packages), Requirement.parse('packaging<25,>=21'),
{'limits'})
The latest version of limits (5.6.0) drops the upper constraint [4]:
dependencies = [
"deprecated>=1.2",
"packaging>=21",
"typing_extensions",
]
so an upgrade would fix the issue, though it would remain in stable.
[1] https://tracker.debian.org/pkg/python-limits
[2] https://salsa.debian.org/python-team/packages/python-
limits/-/blob/debian/4.4.1-3/requirements/main.txt
[3] https://tracker.debian.org/pkg/python-packaging
[3] https://github.com/alisaifee/limits/blob/master/pyproject.toml
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.13+deb14-amd64 (SMP w/8 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