Package: python3-poetry
Version: 1.3.2+dfsg-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
I've observed on Debian Sid that python3-pylev has to be removed when
upgrading to python3.11. Alas, when trying to work with poetry, i got the
following traceback :
❯ poetry new
Traceback (most recent call last):
File "/usr/bin/poetry", line 5, in <module>
from poetry.console.application import main
File "/usr/lib/python3/dist-packages/poetry/console/application.py", line 11,
in <module>
from cleo.application import Application as BaseApplication
File "/usr/lib/python3/dist-packages/cleo/application.py", line 12, in
<module>
from cleo.commands.completions_command import CompletionsCommand
File "/usr/lib/python3/dist-packages/cleo/commands/completions_command.py",
line 10, in <module>
from cleo import helpers
File "/usr/lib/python3/dist-packages/cleo/helpers.py", line 5, in <module>
from cleo.io.inputs.argument import Argument
File "/usr/lib/python3/dist-packages/cleo/io/inputs/argument.py", line 5, in
<module>
from cleo.exceptions import CleoLogicError
File "/usr/lib/python3/dist-packages/cleo/exceptions/__init__.py", line 3, in
<module>
from cleo._utils import find_similar_names
File "/usr/lib/python3/dist-packages/cleo/_utils.py", line 8, in <module>
from pylev import levenshtein
ModuleNotFoundError: No module named 'pylev'
Poetry should depends on python3-pylev : if I install poetry in a Python
virtualenv, every thing works as excpeted and it pulls pylev from pip ; if I
install python3-pylev direct, poetry works fine.
I've even tested on a fresh new debian:sid docker image.
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-poetry depends on:
ii python3 3.11.1-1
ii python3-cachecontrol 0.12.12-2
ii python3-cleo 2.0.1-3
ii python3-crashtest 0.4.1-1
ii python3-dulwich 0.20.50-1+b1
ii python3-filelock 3.9.0-1
ii python3-html5lib 1.1-3
ii python3-importlib-metadata 4.12.0-1
ii python3-jsonschema 4.9.1-3
ii python3-keyring 23.9.3-2
ii python3-lockfile 1:0.12.2-2.2
ii python3-packaging 23.0-1
ii python3-pexpect 4.8.0-4
ii python3-pkginfo 1.8.2-2
ii python3-platformdirs 2.6.0-1
ii python3-poetry-core 1.4.0-3
ii python3-requests 2.28.1+dfsg-1
ii python3-requests-toolbelt 0.10.1-1
ii python3-shellingham 1.5.0-1
ii python3-tomli 2.0.1-2
ii python3-tomlkit 0.11.6-1
ii python3-urllib3 1.26.12-1
ii python3-virtualenv 20.17.1+ds-1
python3-poetry recommends no packages.
python3-poetry suggests no packages.
-- no debconf information
--
Vincent-Xavier JUMEL Id: 0xBC8C2BAB14ABB3F2 https://blog.thetys-retz.net
Société Libre, Logiciel Libre http://www.april.org/adherer
Parinux, logiciel libre à Paris : http://www.parinux.org