tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
python3Packages.smart-open: 6.3.0 -> 6.4.0
Martin Weinelt
2 years ago
d4e7dc20
190d423e
+36
-13
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
smart-open
default.nix
+36
-13
pkgs/development/python-modules/smart-open/default.nix
···
11
11
, moto
12
12
, paramiko
13
13
, pytestCheckHook
14
14
+
, responses
14
15
}:
15
16
16
17
buildPythonPackage rec {
17
18
pname = "smart-open";
18
18
-
version = "6.3.0";
19
19
+
version = "6.4.0";
19
20
format = "setuptools";
20
21
21
22
disabled = pythonOlder "3.6";
···
24
25
owner = "RaRe-Technologies";
25
26
repo = "smart_open";
26
27
rev = "refs/tags/v${version}";
27
27
-
hash = "sha256-sVKrCph5M7xsE7gtzsP/eVEbZyFfoucW3p30YYpwVFI=";
28
28
+
hash = "sha256-fciNaVw603FAcgrSrND+LEycJffmnFQij2ZpatYZ/e4=";
29
29
+
};
30
30
+
31
31
+
passthru.optional-dependencies = {
32
32
+
s3 = [
33
33
+
boto3
34
34
+
];
35
35
+
gcs = [
36
36
+
google-cloud-storage
37
37
+
];
38
38
+
azure = [
39
39
+
azure-storage-blob
40
40
+
azure-common
41
41
+
azure-core
42
42
+
];
43
43
+
http = [
44
44
+
requests
45
45
+
];
46
46
+
webhdfs = [
47
47
+
requests
48
48
+
];
49
49
+
ssh = [
50
50
+
paramiko
51
51
+
];
28
52
};
29
53
30
30
-
propagatedBuildInputs = [
31
31
-
azure-common
32
32
-
azure-core
33
33
-
azure-storage-blob
34
34
-
boto3
35
35
-
google-cloud-storage
36
36
-
requests
54
54
+
pythonImportsCheck = [
55
55
+
"smart_open"
37
56
];
38
57
39
58
nativeCheckInputs = [
40
59
moto
41
41
-
paramiko
42
60
pytestCheckHook
43
43
-
];
61
61
+
responses
62
62
+
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
44
63
45
64
pytestFlagsArray = [
46
65
"smart_open"
47
66
];
48
67
49
49
-
pythonImportsCheck = [
50
50
-
"smart_open"
68
68
+
disabledTests = [
69
69
+
# https://github.com/RaRe-Technologies/smart_open/issues/784
70
70
+
"test_https_seek_forward"
71
71
+
"test_seek_from_current"
72
72
+
"test_seek_from_end"
73
73
+
"test_seek_from_start"
51
74
];
52
75
53
76
meta = with lib; {