mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-04 03:53:56 +00:00
python310Packages.smart-open: 5.2.1 -> 6.0.0
This commit is contained in:
parent
f734041415
commit
ce38d2669c
@ -9,21 +9,21 @@
|
|||||||
, google-cloud-storage
|
, google-cloud-storage
|
||||||
, requests
|
, requests
|
||||||
, moto
|
, moto
|
||||||
, parameterizedtestcase
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "smart-open";
|
pname = "smart-open";
|
||||||
version = "5.2.1";
|
version = "6.0.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "RaRe-Technologies";
|
owner = "RaRe-Technologies";
|
||||||
repo = "smart_open";
|
repo = "smart_open";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "13a1qsb4vwrhx45hz4qcl0d7bgv20ai5vsy7cq0q6qbj212nff19";
|
sha256 = "sha256-FEIJ1DBW0mz7n+J03C1Lg8uAs2ZxI0giM7+mvuNPyGg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
@ -37,35 +37,17 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
moto
|
moto
|
||||||
parameterizedtestcase
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
pytestFlagsArray = [ "smart_open" ];
|
pytestFlagsArray = [
|
||||||
|
"smart_open"
|
||||||
disabledTestPaths = [
|
|
||||||
"smart_open/tests/test_http.py"
|
|
||||||
"smart_open/tests/test_s3.py"
|
|
||||||
"smart_open/tests/test_s3_version.py"
|
|
||||||
"smart_open/tests/test_sanity.py"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
pythonImportsCheck = [
|
||||||
"test_compression_invalid"
|
"smart_open"
|
||||||
"test_gs_uri_contains_question_mark"
|
|
||||||
"test_gzip_compress_sanity"
|
|
||||||
"test_http"
|
|
||||||
"test_ignore_ext"
|
|
||||||
"test_initialize_write"
|
|
||||||
"test_read_explicit"
|
|
||||||
"test_s3_handles_querystring"
|
|
||||||
"test_s3_uri_contains_question_mark"
|
|
||||||
"test_webhdfs"
|
|
||||||
"test_write"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "smart_open" ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library for efficient streaming of very large file";
|
description = "Library for efficient streaming of very large file";
|
||||||
homepage = "https://github.com/RaRe-Technologies/smart_open";
|
homepage = "https://github.com/RaRe-Technologies/smart_open";
|
||||||
|
Loading…
Reference in New Issue
Block a user