git.iko.soy/typeable/nixpkgs
on master help sign in
hypothesis: disabled for Python 3.3
commita312abedeb1b935829f2b76e6bbaa494fbcf3f25 authorFrederik Rietdijk <fridh@fridh.nl> dateTue 14 Mar 2017, 10:49 (10 years ago) parent648db95
1 file changed+5−1
pkgs/development/python-modules/hypothesis.nix+5−1
pkgs/development/python-modules/hypothesis.nix+5−1
@@ -1,5 +1,5 @@
11{ stdenv, buildPythonPackage, fetchFromGitHub, python
2−, pythonOlder, enum34
2+, pythonOlder, pythonAtLeast, enum34
33, doCheck ? true, pytest, flake8, flaky
44}:
55buildPythonPackage rec {
@@ -30,6 +30,10 @@ buildPythonPackage rec {
3030 ${python.interpreter} -m pytest tests/cover
3131 '';
3232
33+ # Unsupport by upstream on certain versions
34+ # https://github.com/HypothesisWorks/hypothesis-python/issues/477
35+ disabled = pythonOlder "3.4" && pythonAtLeast "2.8";
36+
3337 meta = with stdenv.lib; {
3438 description = "A Python library for property based testing";
3539 homepage = https://github.com/DRMacIver/hypothesis;