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 smodels
pip_full_log.txt
Reproducer 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.
uv_full_log.txt
The current distribution on PyPI is broken as it fails to install with both
pipanduv. From the error messages it seems thatsmodelsisn't being packaged correctly.Reproducer with pip
pip_full_log.txt
Reproducer with uv
uv_full_log.txt