-
-
Save exarkun/bdf097481bc64626abbef8c56d48ddc4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: eliot.tests.test_testing (unittest.loader.ModuleImportFailure) | |
---------------------------------------------------------------------- | |
ImportError: Failed to import test module: eliot.tests.test_testing | |
Traceback (most recent call last): | |
File "/nix/store/imarc2jsq4ms73njy64v3lw7cdlah849-python-2.7.16/lib/python2.7/unittest/loader.py", line 254, in _find_tests | |
module = self._get_module_from_name(name) | |
File "/nix/store/imarc2jsq4ms73njy64v3lw7cdlah849-python-2.7.16/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name | |
__import__(name) | |
File "/build/eliot-1.7.0/eliot/__init__.py", line 7, in <module> | |
from ._message import Message | |
File "/build/eliot-1.7.0/eliot/_message.py", line 209, in <module> | |
from . import _output | |
File "/build/eliot-1.7.0/eliot/_output.py", line 19, in <module> | |
from zope.interface import Interface, implementer | |
ImportError: No module named zope.interface | |
====================================================================== | |
ERROR: eliot.tests.test_json (unittest.loader.ModuleImportFailure) | |
---------------------------------------------------------------------- | |
ImportError: Failed to import test module: eliot.tests.test_json | |
Traceback (most recent call last): | |
File "/nix/store/imarc2jsq4ms73njy64v3lw7cdlah849-python-2.7.16/lib/python2.7/unittest/loader.py", line 254, in _find_tests | |
module = self._get_module_from_name(name) | |
File "/nix/store/imarc2jsq4ms73njy64v3lw7cdlah849-python-2.7.16/lib/python2.7/unittest/loader.py", line 232, in _get_module_from_name | |
__import__(name) | |
File "/build/eliot-1.7.0/eliot/__init__.py", line 7, in <module> | |
from ._message import Message | |
File "/build/eliot-1.7.0/eliot/_message.py", line 209, in <module> | |
from . import _output | |
File "/build/eliot-1.7.0/eliot/_output.py", line 18, in <module> | |
from . import _bytesjson as bytesjson | |
ImportError: cannot import name _bytesjson |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, buildPythonPackage, fetchPypi, zope_interface, pyrsistent, boltons | |
, hypothesis, testtools, six, pytest }: | |
buildPythonPackage rec { | |
pname = "eliot"; | |
version = "1.7.0"; | |
src = fetchPypi { | |
inherit pname version; | |
sha256 = "0ylyycf717s5qsrx8b9n6m38vyj2k8328lfhn8y6r31824991wv8"; | |
}; | |
postPatch = '' | |
substituteInPlace setup.py \ | |
--replace "boltons >= 19.0.1" boltons | |
# depends on eliot.prettyprint._main which we don't have here. | |
rm eliot/tests/test_prettyprint.py | |
''; | |
checkInputs = [ testtools pytest hypothesis ]; | |
propagatedBuildInputs = [ six zope_interface pyrsistent boltons ]; | |
meta = with lib; { | |
homepage = https://github.com/itamarst/eliot/; | |
description = "Logging library that tells you why it happened"; | |
license = licenses.asl20; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment