Merge pull request #123042 from fabaff/fix-dendropy

python3Packages.dendropy: 4.4.0 -> 4.5.1

authored by Fabian Affolter and committed by GitHub a2c3ea5b fc63be7a

+21 -19
+21 -19
pkgs/development/python-modules/dendropy/default.nix
··· 1 { lib 2 - , pkgs 3 , buildPythonPackage 4 , fetchFromGitHub 5 - , pytest 6 }: 7 8 buildPythonPackage rec { 9 - pname = "DendroPy"; 10 - version = "4.4.0"; 11 12 - # tests are incorrectly packaged in pypi version 13 src = fetchFromGitHub { 14 owner = "jeetsukumaran"; 15 repo = pname; 16 rev = "v${version}"; 17 - sha256 = "097hfyv2kaf4x92i4rjx0paw2cncxap48qivv8zxng4z7nhid0x9"; 18 }; 19 20 - preCheck = '' 21 - # Needed for unicode python tests 22 - export LC_ALL="en_US.UTF-8" 23 - cd tests # to find the 'support' module 24 - ''; 25 26 - checkInputs = [ pytest pkgs.glibcLocales ]; 27 28 - checkPhase = '' 29 - pytest -k 'not test_dataio_nexml_reader_tree_list and not test_pscores_with' 30 - ''; 31 32 - meta = { 33 homepage = "https://dendropy.org/"; 34 - description = "A Python library for phylogenetic computing"; 35 - maintainers = with lib.maintainers; [ unode ]; 36 - license = lib.licenses.bsd3; 37 }; 38 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , pytestCheckHook 5 }: 6 7 buildPythonPackage rec { 8 + pname = "dendropy"; 9 + version = "4.5.1"; 10 11 src = fetchFromGitHub { 12 owner = "jeetsukumaran"; 13 repo = pname; 14 rev = "v${version}"; 15 + sha256 = "sha256-FP0+fJkkFtSysPxoHXjyMgF8pPin7aRyzmHe9bH8LlM="; 16 }; 17 18 + checkInputs = [ 19 + pytestCheckHook 20 + ]; 21 22 + disabledTests = [ 23 + # FileNotFoundError: [Errno 2] No such file or directory: 'paup' 24 + "test_basic_split_count_with_incorrect_rootings_raises_error" 25 + "test_basic_split_count_with_incorrect_weight_treatment_raises_error" 26 + "test_basic_split_counting_under_different_rootings" 27 + "test_group1" 28 + # AssertionError: 6 != 5 29 + "test_by_num_lineages" 30 + ]; 31 32 + pythonImportsCheck = [ "dendropy" ]; 33 34 + meta = with lib; { 35 + description = "Python library for phylogenetic computing"; 36 homepage = "https://dendropy.org/"; 37 + license = licenses.bsd3; 38 + maintainers = with maintainers; [ unode ]; 39 }; 40 }