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