-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
The current distribution on PyPI is broken as it fails to install with both pip and uv. From the error messages it seems that smodels isn't being packaged correctly.
Reproducer with pip
$ docker run --rm -ti python:3.12 bash
root@c118f93e5e26:/# python -m venv venv && . venv/bin/activate
(venv) root@c118f93e5e26:/# python -m pip install --upgrade pip
(venv) root@c118f93e5e26:/# python -m pip install smodels
...
ModuleNotFoundError: No module named 'smodels.tools.smodelsLogging'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for smodelsReproducer with uv
$ docker run --rm -ti python:3.12 bash
root@c118f93e5e26:/# python -m venv venv && . venv/bin/activate
(venv) root@c118f93e5e26:/# python -m pip install --upgrade uv
(venv) root@c118f93e5e26:/# uv pip install smodels
...
from smodels.tools.smodelsLogging import logger
ModuleNotFoundError: No module named 'smodels.tools.smodelsLogging'
hint: This usually indicates a problem with the package or the build environment.Metadata
Metadata
Assignees
Labels
No labels