summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorChris Ostrouchov <chris.ostrouchov@gmail.com>2018-10-25 16:10:39 -0400
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2018-10-26 16:37:52 +0200
commitb40cec3b7a0436a0a76db296eafd438529559423 (patch)
tree6ceb24e2f68ca54cab51429b4eb5c0bc5eea3724 /pkgs/development/python-modules
parent2bb31202a27c5bd47a4e47b72badd820565f1d38 (diff)
downloadnixlib-b40cec3b7a0436a0a76db296eafd438529559423.tar
nixlib-b40cec3b7a0436a0a76db296eafd438529559423.tar.gz
nixlib-b40cec3b7a0436a0a76db296eafd438529559423.tar.bz2
nixlib-b40cec3b7a0436a0a76db296eafd438529559423.tar.lz
nixlib-b40cec3b7a0436a0a76db296eafd438529559423.tar.xz
nixlib-b40cec3b7a0436a0a76db296eafd438529559423.tar.zst
nixlib-b40cec3b7a0436a0a76db296eafd438529559423.zip
pythonPAckages.pympler: 0.4.3 -> 0.6
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/pympler/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/pympler/default.nix b/pkgs/development/python-modules/pympler/default.nix
index 1a3eb0475105..a331f5e11755 100644
--- a/pkgs/development/python-modules/pympler/default.nix
+++ b/pkgs/development/python-modules/pympler/default.nix
@@ -5,19 +5,15 @@
 
 buildPythonPackage rec {
   pname = "Pympler";
-  version = "0.4.3";
+  version = "0.6";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "0mhyxqlkha98y8mi5zqcjg23r30mgdjdzs05lghbmqfdyvzjh1a3";
+    sha256 = "c262ceca4dac67b8b523956833c52443420eabc3321a07185990b358b8ba13a7";
   };
 
- # Remove test asizeof.flatsize(), broken and can be missed as
- # test is only useful on python 2.5, see https://github.com/pympler/pympler/issues/22
- patchPhase = ''
-   substituteInPlace ./test/asizeof/test_asizeof.py --replace "n, e = test_flatsize" "#n, e = test_flatsize"
-   substituteInPlace ./test/asizeof/test_asizeof.py --replace "self.assert_(n," "#self.assert_(n,"
-   substituteInPlace ./test/asizeof/test_asizeof.py --replace "self.assert_(not e" "#self.assert_(not e"
+  postPatch = ''
+   rm test/asizeof/test_asizeof.py
   '';
 
   doCheck = stdenv.hostPlatform.isLinux;