Skip to content

Broken gstatus v1.0.9: ModuleNotFoundError: No module named 'packaging' #70

@NouemanKHAL

Description

@NouemanKHAL

Hey everyone 👋

I just want to report that the v1.0.9 gstatus artifact is broken:

(.venv) $ sudo ./gstatus
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/noueman.khalikine/git-clone/gstatus/build/./gstatus/__main__.py", line 7, in <module>
ModuleNotFoundError: No module named 'packaging'

There is a mismatch between the required dependencies setup.py and the requirements.txt file.

setup.py:

install_requires=['glustercli', 'packaging'],

requirements.txt:

glustercli==0.8.3

The reason seems to be that the Makefile is using the requirements.txt to build the gstatus release:

@${PYTHON} -m pip install -r requirements.txt --target build/src

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions