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
>>> import weakref | |
>>> hash(weakref.WeakKeyDictionary()) | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
TypeError: 'NoneType' object is not callable | |
>>> |
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
(Pdb) p self.query_factory | |
<function query at 0x7ff3107a9c08> | |
(Pdb) p self.query_factory(1, 2) | |
*** TypeError: TypeError('query() takes exactly 0 arguments (2 given)',) | |
(Pdb) p self.query_factory() | |
*** TypeError: TypeError('__init__() takes at least 3 arguments (1 given)',) | |
(Pdb) |
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
{"log_namespace": "log_legacy", "log_time": 1489612162.152082, "log_flattened": {"log_text!s:": "Unhandled Error\nTraceback (most recent call last):\n File \"/nix/store/jg20lya55bnz8yx3zds0ncga2w9h1c87-python-2.7.13-env/lib/python2.7/site-packages/twisted/application/ser | |
vice.py\", line 309, in addService\n service.privilegedStartService()\n File \"/nix/store/jg20lya55bnz8yx3zds0ncga2w9h1c87-python-2.7.13-env/lib/python2.7/site-packages/twisted/application/service.py\", line 278, in privilegedStartService\n service.privilegedStartS | |
ervice()\n File \"/nix/store/jg20lya55bnz8yx3zds0ncga2w9h1c87-python-2.7.13-env/lib/python2.7/site-packages/twisted/application/internet.py\", line 359, in privilegedStartService\n self._waitingForPort = self.endpoint.listen(self.factory)\n File \"/nix/store/jg20lya5 | |
5bnz8yx3zds0ncga2w9h1c87-python-2.7.13-env/lib/python2.7/site-packages/twisted/internet/endpoints.py\", line 470, in listen\n interface=self._interface)\n--- <exception caught here> ---\n File \"/nix/s |
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
idna2_5 = pythonPackages.idna.override rec { | |
version = "2.5"; | |
name = "idna-${version}"; | |
src = pkgs.fetchurl { | |
url = "mirror://pypi/i/idna/${name}.tar.gz"; | |
sha256 = "0frxgmgi234lr9hylg62j69j4ik5zhg0wz05w5dhyacbjfnrl68n"; | |
}; | |
}; |
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
Running setup.py bdist_wheel for unittest2: started | |
Running setup.py bdist_wheel for unittest2: finished with status 'error' | |
Complete output from command /nix/store/ci2hhzxxhxdilhvk3rmrzivygjma86mm-python-2.7.13/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/nix/pypi2nix/cache/pip/unittest2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n')$ | |
f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp2qwjNEpip-wheel-: | |
/nix/store/4sn5b78skqxvr2lxlnnnbv9gqjiqdrcg-pypi2nix-bootstrap/extra/setuptools/dist.py:343: UserWarning: The version specified (<__main__.late_version instance at 0x7fd954e29bd8>) is an invalid version, this may not work as expected with newer versions of setuptools, $ | |
ip, and PyPI. Please see PEP 440 for more details. |
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
let | |
remove = element: list: builtins.filter (x: x != element) list; | |
pbr = pkgs: list: list ++ [ pkgs.pythonPackages.pbr ]; | |
in | |
{ pkgs, python }: | |
# remove Twisted from Automat.propagatedBuildInputs | |
# remove Twisted from incremental.propagatedBuildInputs | |
# remove fixtures from testtools.propagatedBuildInputs | |
# remove pyutil from zbase32 propagatedBuildInputs |
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
# let | |
# remove = element: list: builtins.filter (x: x != element) list; | |
# pbr = pkgs: list: list ++ [ pkgs.pythonPackages.pbr ]; | |
# in |
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
"Automat" = python.mkDerivation { | |
name = "Automat-0.6.0"; | |
src = pkgs.fetchurl { url = "https://pypi.python.org/packages/de/05/b8e453085cf8a7f27bb1226596f4ccf5cc9e758377d60284f990bbdc592c/Automat-0.6.0.tar.gz"; sha256 = "3c1fd04ecf08ac87b4dd3feae409542e9bf7827257\ | |
097b2b6ed5692f69d6f6a8"; }; | |
doCheck = commonDoCheck; | |
buildInputs = commonBuildInputs; | |
propagatedBuildInputs = [ | |
self."Twisted" | |
self."attrs" | |
self."six" |
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
Copying fixtures.egg-info to build/bdist.linux-x86_64/wheel/fixtures-3.0.0-py2.7.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/fixtures-3.0.0.dist-info/WHEEL | |
installing | |
/tmp/nix-build-python2.7-python2.7-fixtures-3.0.0.drv-0/fixtures-3.0.0/dist /tmp/nix-build-python2.7-python2.7-fixtures-3.0.0.drv-0/fixtures-3.0.0 | |
Processing ./fixtures-3.0.0-py2.py3-none-any.whl | |
Requirement already satisfied: six in /nix/store/83l2753z8sal9hy89x6s3dkxrz5nnykn-python2.7-six-1.10.0/lib/python2.7/site-packages (from fixtures==3.0.0) | |
Collecting testtools>=0.9.22 (from fixtures==3.0.0) | |
Could not find a version that satisfies the requirement testtools>=0.9.22 (from fixtures==3.0.0) (from versions: ) | |
No matching distribution found for testtools>=0.9.22 (from fixtures==3.0.0) |
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
"fixtures" = python.overrideDerivation super."fixtures" (old: rec { | |
# nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.pythonPackages.testtools ]; | |
# patchPhase = '' | |
# sed -i -e 's/, "testtools (>=0.9.22)"//' | |
# ''; | |
}); | |
"testtools" = python.overrideDerivation super."testtools" (old: rec { | |
propaga |