generated from cobaltcore-dev/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi,
The Swift CLI errors at runtime:
$ "$(nix build github:cobaltcore-dev/openstack-nix#python-swiftclient --print-out-paths --no-link)/bin/swift"
Traceback (most recent call last):
File "/nix/store/hpvpnp495qyzljsk0rbidk9i2ig7yv5s-python3.12-python-swiftclient-4.6.0/bin/.swift-wrapped", line 6, in <module>
from swiftclient.shell import main
File "/nix/store/hpvpnp495qyzljsk0rbidk9i2ig7yv5s-python3.12-python-swiftclient-4.6.0/lib/python3.12/site-packages/swiftclient/__init__.py", line 19, in <module>
from .client import * # noqa
^^^^^^^^^^^^^^^^^^^^^
File "/nix/store/hpvpnp495qyzljsk0rbidk9i2ig7yv5s-python3.12-python-swiftclient-4.6.0/lib/python3.12/site-packages/swiftclient/client.py", line 22, in <module>
from urllib3.exceptions import HTTPError as urllib_http_error
ModuleNotFoundError: No module named 'urllib3'Looks like propagagedBuildInputs should be propagatedBuildInputs here:
https://github.com/cobaltcore-dev/openstack-nix/blob/main/packages/python-swiftclient.nix#L29
If you'd like I'll open a PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels