lol

python3Packages.typesystem: 0.2.4 -> 0.4.1

authored by

Fabian Affolter and committed by
Jonathan Ringer
cf62e9c0 982de405

+10 -16
+10 -16
pkgs/development/python-modules/typesystem/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , isPy27 4 + , jinja2 5 5 , pytestCheckHook 6 - , pytest-cov 7 - , jinja2 6 + , pythonOlder 8 7 , pyyaml 9 8 }: 10 9 11 10 buildPythonPackage rec { 12 11 pname = "typesystem"; 13 - version = "0.2.4"; 14 - disabled = isPy27; 12 + version = "0.4.1"; 13 + format = "setuptools"; 14 + 15 + disabled = pythonOlder "3.7"; 15 16 16 17 src = fetchFromGitHub { 17 18 owner = "encode"; 18 19 repo = pname; 19 20 rev = version; 20 - sha256 = "1k0jwcky17zwaz2vx4x2zbsnp270g4mgn7kx5bpl8jgx76qmsnba"; 21 + hash = "sha256-fjnheHWjIDbJY1iXCRKCpqTCwtUWK9YXbynRCZquQ7c="; 21 22 }; 22 23 23 24 propagatedBuildInputs = [ ··· 27 28 28 29 checkInputs = [ 29 30 pytestCheckHook 30 - pytest-cov 31 31 ]; 32 32 33 - disabledTests = [ 34 - # https://github.com/encode/typesystem/issues/102. cosmetic issue where python3.8 changed 35 - # the default string formatting of regular expression flags which breaks test assertion 36 - "test_to_json_schema_complex_regular_expression" 37 - ]; 38 - disabledTestPaths = [ 39 - # for some reason jinja2 not picking up forms directory (1% of tests) 40 - "tests/test_forms.py" 33 + pythonImportsCheck = [ 34 + "typesystem" 41 35 ]; 42 36 43 37 meta = with lib; { 44 38 description = "A type system library for Python"; 45 39 homepage = "https://github.com/encode/typesystem"; 46 40 license = licenses.bsd3; 47 - maintainers = [ maintainers.costrouc ]; 41 + maintainers = with maintainers; [ costrouc ]; 48 42 }; 49 43 }