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
, moto
12
, paramiko
13
, pytestCheckHook
0
14
}:
15
16
buildPythonPackage rec {
17
pname = "smart-open";
18
-
version = "6.3.0";
19
format = "setuptools";
20
21
disabled = pythonOlder "3.6";
···
24
owner = "RaRe-Technologies";
25
repo = "smart_open";
26
rev = "refs/tags/v${version}";
27
-
hash = "sha256-sVKrCph5M7xsE7gtzsP/eVEbZyFfoucW3p30YYpwVFI=";
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
28
};
29
30
-
propagatedBuildInputs = [
31
-
azure-common
32
-
azure-core
33
-
azure-storage-blob
34
-
boto3
35
-
google-cloud-storage
36
-
requests
37
];
38
39
nativeCheckInputs = [
40
moto
41
-
paramiko
42
pytestCheckHook
43
-
];
0
44
45
pytestFlagsArray = [
46
"smart_open"
47
];
48
49
-
pythonImportsCheck = [
50
-
"smart_open"
0
0
0
0
51
];
52
53
meta = with lib; {
···
11
, moto
12
, paramiko
13
, pytestCheckHook
14
+
, responses
15
}:
16
17
buildPythonPackage rec {
18
pname = "smart-open";
19
+
version = "6.4.0";
20
format = "setuptools";
21
22
disabled = pythonOlder "3.6";
···
25
owner = "RaRe-Technologies";
26
repo = "smart_open";
27
rev = "refs/tags/v${version}";
28
+
hash = "sha256-fciNaVw603FAcgrSrND+LEycJffmnFQij2ZpatYZ/e4=";
29
+
};
30
+
31
+
passthru.optional-dependencies = {
32
+
s3 = [
33
+
boto3
34
+
];
35
+
gcs = [
36
+
google-cloud-storage
37
+
];
38
+
azure = [
39
+
azure-storage-blob
40
+
azure-common
41
+
azure-core
42
+
];
43
+
http = [
44
+
requests
45
+
];
46
+
webhdfs = [
47
+
requests
48
+
];
49
+
ssh = [
50
+
paramiko
51
+
];
52
};
53
54
+
pythonImportsCheck = [
55
+
"smart_open"
0
0
0
0
0
56
];
57
58
nativeCheckInputs = [
59
moto
0
60
pytestCheckHook
61
+
responses
62
+
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
63
64
pytestFlagsArray = [
65
"smart_open"
66
];
67
68
+
disabledTests = [
69
+
# https://github.com/RaRe-Technologies/smart_open/issues/784
70
+
"test_https_seek_forward"
71
+
"test_seek_from_current"
72
+
"test_seek_from_end"
73
+
"test_seek_from_start"
74
];
75
76
meta = with lib; {