lol

toil: 5.6.0 -> 5.7.1

+55 -9
+55 -9
pkgs/applications/science/misc/toil/default.nix
··· 1 1 { lib 2 2 , fetchFromGitHub 3 3 , python3 4 + , rsync 4 5 }: 5 6 6 7 python3.pkgs.buildPythonApplication rec { 7 8 pname = "toil"; 8 - version = "5.6.0"; 9 + version = "5.7.1"; 9 10 format = "setuptools"; 10 11 11 - src = python3.pkgs.fetchPypi { 12 - inherit pname version; 13 - sha256 = "sha256-m6tzrRCCLULO+wB8htUlt0KESLm/vdIeTzBrihnAo/I="; 12 + src = fetchFromGitHub { 13 + owner = "DataBiosphere"; 14 + repo = pname; 15 + rev = "refs/tags/releases/${version}"; 16 + hash = "sha256-m+XvNyzd0ly2YqKhgxezgGaCXLs3CmupJMnp5RIZqNI="; 14 17 }; 18 + 19 + postPatch = '' 20 + substituteInPlace requirements.txt \ 21 + --replace "docker>=3.7.2, <6" "docker" 22 + ''; 15 23 16 24 propagatedBuildInputs = with python3.pkgs; [ 17 25 addict 26 + dill 18 27 docker 19 - pytz 20 - pyyaml 21 28 enlighten 22 29 psutil 23 30 py-tes 31 + pypubsub 24 32 python-dateutil 25 - dill 33 + pytz 34 + pyyaml 35 + requests 36 + typing-extensions 26 37 ]; 27 38 28 - checkInputs = with python3.pkgs; [ 39 + checkInputs = [ 40 + rsync 41 + ] ++ (with python3.pkgs; [ 42 + boto 43 + botocore 44 + flask 45 + mypy-boto3-s3 29 46 pytestCheckHook 30 - ]; 47 + stubserver 48 + ]); 31 49 32 50 pytestFlagsArray = [ 33 51 "src/toil/test" ··· 35 53 36 54 pythonImportsCheck = [ 37 55 "toil" 56 + ]; 57 + 58 + disabledTestPaths = [ 59 + # Tests are reaching their timeout 60 + "src/toil/test/docs/scriptsTest.py" 61 + "src/toil/test/jobStores/jobStoreTest.py" 62 + "src/toil/test/provisioners/aws/awsProvisionerTest.py" 63 + "src/toil/test/src" 64 + "src/toil/test/wdl" 65 + "src/toil/test/utils/utilsTest.py" 66 + ]; 67 + 68 + disabledTests = [ 69 + # Tests fail starting with 5.7.1 70 + "testServices" 71 + "testConcurrencyWithDisk" 72 + "testJobConcurrency" 73 + "testNestedResourcesDoNotBlock" 74 + "test_omp_threads" 75 + "testFileSingle" 76 + "testFileSingle10000" 77 + "testFileSingleCheckpoints" 78 + "testFileSingleNonCaching" 79 + "testFetchJobStoreFiles" 80 + "testFetchJobStoreFilesWSymlinks" 81 + "testJobStoreContents" 82 + "test_cwl_on_arm" 83 + "test_cwl_toil_kill" 38 84 ]; 39 85 40 86 meta = with lib; {