Merge pull request #128983 from fabaff/bump-ibm-watson
python3Packages.ibm-watson: 5.2.0 -> 5.2.1
This commit is contained in:
commit
06f62afd8a
2 changed files with 14 additions and 7 deletions
|
@ -38,9 +38,17 @@ buildPythonPackage rec {
|
|||
|
||||
# Various tests try to access credential files which are not included with the source distribution
|
||||
disabledTests = [
|
||||
"test_iam" "test_cwd" "test_configure_service" "test_get_authenticator"
|
||||
"test_read_external_sources_2" "test_files_duplicate_parts" "test_files_list"
|
||||
"test_files_dict" "test_retry_config_external" "test_gzip_compression_external"
|
||||
"test_configure_service"
|
||||
"test_cp4d_authenticator"
|
||||
"test_cwd"
|
||||
"test_files_dict"
|
||||
"test_files_duplicate_parts"
|
||||
"test_files_list"
|
||||
"test_get_authenticator"
|
||||
"test_gzip_compression_external"
|
||||
"test_iam"
|
||||
"test_read_external_sources_2"
|
||||
"test_retry_config_external"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -14,13 +14,13 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "ibm-watson";
|
||||
version = "5.2.0";
|
||||
version = "5.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "watson-developer-cloud";
|
||||
repo = "python-sdk";
|
||||
rev = "v${version}";
|
||||
sha256 = "1abink5mv9nw506nwm9hlvnr1lq6dkxxj2j12iwphcyd7xs63n2s";
|
||||
sha256 = "sha256-0F4BZf0D0dqGm0OkJaSgmH5RxEA8KCzOlbnhIQVsgzQ=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
|
@ -40,8 +40,7 @@ buildPythonPackage rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace websocket-client==0.48.0 websocket-client>=0.48.0 \
|
||||
--replace ibm_cloud_sdk_core==3.3.6 ibm_cloud_sdk_core>=3.3.6
|
||||
--replace websocket-client==1.1.0 websocket-client>=1.1.0
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue