Merge pull request #136913 from r-ryantm/auto-update/python3.8-xmlschema

python38Packages.xmlschema: 1.7.0 -> 1.7.1

authored by Fabian Affolter and committed by GitHub 18ce2af9 0c711cd6

+28 -14
+28 -14
pkgs/development/python-modules/xmlschema/default.nix
··· 1 - { lib, buildPythonPackage, fetchFromGitHub 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 2 4 , elementpath 3 5 , lxml 4 - , pytest 6 + , pytestCheckHook 7 + , pythonOlder 5 8 }: 6 9 7 10 buildPythonPackage rec { 8 - version = "1.7.0"; 11 + version = "1.7.1"; 9 12 pname = "xmlschema"; 13 + 14 + disabled = pythonOlder "3.6"; 10 15 11 16 src = fetchFromGitHub { 12 17 owner = "sissaschool"; 13 18 repo = "xmlschema"; 14 19 rev = "v${version}"; 15 - sha256 = "0vf0gj1sbv9f7gjm3zbyl0b8pkrn00yzx57ddff0h2kazv8jlpwi"; 20 + sha256 = "124wq44aqzxrh92ylm44rry9dsyb68drgzbhzacrm511n1j0ziww"; 16 21 }; 17 22 18 - propagatedBuildInputs = [ elementpath ]; 23 + propagatedBuildInputs = [ 24 + elementpath 25 + ]; 19 26 20 - checkInputs = [ lxml pytest ]; 27 + checkInputs = [ 28 + lxml 29 + pytestCheckHook 30 + ]; 21 31 22 32 # Ignore broken fixtures, and tests for files which don't exist. 23 33 # For darwin, we need to explicity say we can't reach network 24 - checkPhase = '' 25 - pytest tests \ 26 - --ignore=tests/test_factory.py \ 27 - --ignore=tests/test_schemas.py \ 28 - --ignore=tests/test_memory.py \ 29 - --ignore=tests/test_validation.py \ 30 - -k 'not element_tree_import_script and not export_remote' 31 - ''; 34 + disabledTests = [ 35 + "export_remote" 36 + "element_tree_import_script" 37 + ]; 38 + 39 + disabledTestPaths = [ 40 + "tests/test_schemas.py" 41 + "tests/test_memory.py" 42 + "tests/test_validation.py" 43 + ]; 44 + 45 + pythonImportsCheck = [ "xmlschema" ]; 32 46 33 47 meta = with lib; { 34 48 description = "XML Schema validator and data conversion library for Python";