-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.
Description
Issue description
pysaml2 depends on dbm, which is a core package of python that's only available on pythonFull.
Steps to reproduce
Run:
nix-shell -p "(import ./. {}).python" -p "(import ./. {}).pythonPackages.pysaml2"
In the shell, import saml2.server, and it'll tell you
>>> import saml2.server
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/nix/store/3rn4v9cqh5yi6askkcdjq4wipmswxjr9-python2.7-pysaml2-3.0.2/lib/python2.7/site-packages/saml2/server.py", line 12, in <module>
import dbm
ImportError: No module named dbm
If instead you use:
nix-shell -p "(import ./. {}).pythonFull" -p "(import ./. {}).pythonPackages.pysaml2"
Everything works fine.
Technical details
- Nix version: nix-env (Nix) 1.10
- Nixpkgs version: e70a2ba
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: pythonPython is a high-level, general-purpose programming language.Python is a high-level, general-purpose programming language.