View Issue Details

IDProjectCategoryView StatusLast Update
0007546Kali LinuxKali Package Bugpublic2022-02-21 18:43
Reportermtthwstffrd Assigned Todaniruiz  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version2021.4 
Summary0007546: Installing python3-poetry through apt does not install dependency python3-cachecontrol
Description

I installed the python3-poetry package through apt and tried to run poetry. Poetry crashed with ModuleNotFoundError: No module named 'cachecontrol'. I manually installed the python3-cachecontrol package and poetry worked as intended. It looks like python3-cachecontrol should be a dependency of python3-poetry.

Steps To Reproduce

Run the following commands:
sudo apt install python3-poetry
poetry

This returns the error message shown in Additional Information

Now run the following additional commands:
sudo apt install python3-cachecontrol
poetry

Poetry now runs as intended

Additional Information

Error message produced by poetry without python3-cachecontrol package installed:

└─$ poetry
Traceback (most recent call last):
File "/usr/bin/poetry", line 5, in <module>
from poetry.console import main
File "/usr/lib/python3/dist-packages/poetry/console/init.py", line 1, in <module>
from .application import Application
File "/usr/lib/python3/dist-packages/poetry/console/application.py", line 7, in <module>
from .commands.about import AboutCommand
File "/usr/lib/python3/dist-packages/poetry/console/commands/init.py", line 4, in <module>
from .check import CheckCommand
File "/usr/lib/python3/dist-packages/poetry/console/commands/check.py", line 2, in <module>
from poetry.factory import Factory
File "/usr/lib/python3/dist-packages/poetry/factory.py", line 18, in <module>
from .repositories.pypi_repository import PyPiRepository
File "/usr/lib/python3/dist-packages/poetry/repositories/pypi_repository.py", line 11, in <module>
from cachecontrol import CacheControl
ModuleNotFoundError: No module named 'cachecontrol'

Activities

daniruiz

daniruiz

2022-02-21 18:42

manager   ~0015787

We provide this tool unmodified from Debian. So you should verify that you can reproduce those issues in Debian and then report them to Debian (or to the upstream project directly).
See https://www.kali.org/docs/community/submitting-issues-kali-bug-tracker/
We don't have the manpower to investigate those issues ourselves.

Issue History

Date Modified Username Field Change
2022-01-21 07:20 mtthwstffrd New Issue
2022-02-21 18:42 daniruiz Note Added: 0015787
2022-02-21 18:43 daniruiz Assigned To => daniruiz
2022-02-21 18:43 daniruiz Status new => closed
2022-02-21 18:43 daniruiz Resolution open => no change required