diff options
Diffstat (limited to 'pkgs/development/python-modules/hypothesis/default.nix')
-rw-r--r-- | pkgs/development/python-modules/hypothesis/default.nix | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/hypothesis/default.nix b/pkgs/development/python-modules/hypothesis/default.nix index 8a00cae1e1a4a..a76b8e2ff29d3 100644 --- a/pkgs/development/python-modules/hypothesis/default.nix +++ b/pkgs/development/python-modules/hypothesis/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pname = "hypothesis"; - version = "6.100.1"; + version = "6.103.0"; pyproject = true; disabled = pythonOlder "3.7"; @@ -32,7 +32,7 @@ buildPythonPackage rec { owner = "HypothesisWorks"; repo = "hypothesis"; rev = "hypothesis-python-${version}"; - hash = "sha256-3Mwa1nS6rvFBcU5QXLH4/wa38qCvDX9sRina1aJS1Rs="; + hash = "sha256-sll0GAI1nvBQvRqgpTkLpj7GQI988AftDQHV1zh2t1w="; }; # I tried to package sphinx-selective-exclude, but it throws @@ -73,16 +73,18 @@ buildPythonPackage rec { pytestFlagsArray = [ "tests/cover" ]; disabledTests = - if (pythonOlder "3.10") then - [ - # not sure why these tests fail with only 3.9 - # FileNotFoundError: [Errno 2] No such file or directory: 'git' - "test_observability" - "test_assume_has_status_reason" - "test_observability_captures_stateful_reprs" - ] - else - null; + [ + # racy, fails to find a file sometimes + "test_recreate_charmap" + "test_uses_cached_charmap" + ] + ++ lib.optionals (pythonOlder "3.10") [ + # not sure why these tests fail with only 3.9 + # FileNotFoundError: [Errno 2] No such file or directory: 'git' + "test_observability" + "test_assume_has_status_reason" + "test_observability_captures_stateful_reprs" + ]; pythonImportsCheck = [ "hypothesis" ]; |