Package: python3-levenshtein Version: 0.12.2-2+b4 Severity: minor X-Debbugs-Cc: cqu...@arcor.de
I am trying to install with pip a package that depends on Levenshtein. I usually do that in a venv with the --system-site-packages option so that the packages installed with apt can be seen. However it looks as if the python3-levenshtein package is not recognized by pip: $ pip install sublime_music-0.12.0-py3-none-any.whl Requirement already satisfied: bleach in /usr/lib/python3/dist-packages (from sublime-music==0.12.0) (5.0.1) Requirement already satisfied: dataclasses-json in /usr/lib/python3/dist- packages (from sublime-music==0.12.0) (0.5.7) Requirement already satisfied: deepdiff in /usr/lib/python3/dist-packages (from sublime-music==0.12.0) (6.2.2) Requirement already satisfied: thefuzz in /usr/lib/python3/dist-packages (from sublime-music==0.12.0) (0.19.0) Requirement already satisfied: peewee in /usr/lib/python3/dist-packages (from sublime-music==0.12.0) (3.14.10) Requirement already satisfied: PyGObject in /usr/lib/python3/dist-packages (from sublime-music==0.12.0) (3.42.2) Requirement already satisfied: python-dateutil in /usr/lib/python3/dist- packages (from sublime-music==0.12.0) (2.8.2) Collecting Levenshtein Using cached Levenshtein-0.21.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (173 kB) Requirement already satisfied: python-mpv in /usr/lib/python3/dist-packages (from sublime-music==0.12.0) (1.0.1) Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from sublime-music==0.12.0) (2.28.1) Requirement already satisfied: semver in /usr/lib/python3/dist-packages (from sublime-music==0.12.0) (2.10.2) Requirement already satisfied: rapidfuzz<4.0.0,>=2.3.0 in /home/user/.local/lib/python3.11/site-packages (from Levenshtein->sublime- music==0.12.0) (3.0.0) Requirement already satisfied: pycairo>=1.16.0 in /usr/lib/python3/dist- packages (from PyGObject->sublime-music==0.12.0) (1.20.1) Installing collected packages: Levenshtein, sublime-music Successfully installed Levenshtein-0.21.0 sublime-music-0.12.0 As can be seen, all dependencies are found in the system, but not Levenshtein, despite being installed in the system: dpkg -l | grep python3-levenshtein ii python3-levenshtein 0.12.2-2+b4 I think it has to do with the name in PKG-INFO: $ grep Name /usr/lib/python3/dist-packages/python_Levenshtein-0.12.2.egg- info/PKG-INFO Name: python-Levenshtein (rather than simply Name: Levenshtein). But I am not sure whether that's enough. -- System Information: Debian Release: 12.0 APT prefers testing APT policy: (990, 'testing'), (500, 'testing-security') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-9-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE=es_ES:es Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-levenshtein depends on: ii libc6 2.36-9 ii python3 3.11.2-1+b1 ii python3-pkg-resources 66.1.1-1 python3-levenshtein recommends no packages. python3-levenshtein suggests no packages. -- no debconf information