Merge pull request #248893 from fabaff/ibm-watson-bump

python311Packages.ibm-watson: 7.0.0 -> 7.0.1
This commit is contained in:
Fabian Affolter
2023-08-13 13:32:21 +02:00
committed by GitHub
@@ -1,20 +1,20 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, responses
, pytestCheckHook
, python-dotenv
, pytest-rerunfailures
, requests
, python-dateutil
, websocket-client
, ibm-cloud-sdk-core
, pytest-rerunfailures
, pytestCheckHook
, python-dateutil
, python-dotenv
, pythonOlder
, requests
, responses
, websocket-client
}:
buildPythonPackage rec {
pname = "ibm-watson";
version = "7.0.0";
version = "7.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@@ -23,28 +23,23 @@ buildPythonPackage rec {
owner = "watson-developer-cloud";
repo = "python-sdk";
rev = "refs/tags/v${version}";
hash = "sha256-AerEd4TkK/A0KhSy+QWxRDD4pjobsx4oDxMr+wUCGt0=";
hash = "sha256-f/nf9WFiUNDQBkFNMV16EznCw0TN9L4fDIPQ/j4B1Sc=";
};
propagatedBuildInputs = [
requests
python-dateutil
websocket-client
ibm-cloud-sdk-core
python-dateutil
requests
websocket-client
];
nativeCheckInputs = [
responses
pytest-rerunfailures
pytestCheckHook
python-dotenv
pytest-rerunfailures
responses
];
postPatch = ''
substituteInPlace setup.py \
--replace websocket-client==1.1.0 websocket-client>=1.1.0
'';
pythonImportsCheck = [
"ibm_watson"
];
@@ -52,6 +47,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Client library to use the IBM Watson Services";
homepage = "https://github.com/watson-developer-cloud/python-sdk";
changelog = "https://github.com/watson-developer-cloud/python-sdk/blob/v${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ globin ];
};