Merge pull request #313006 from r-ryantm/auto-update/python311Packages.ibm-watson
python311Packages.ibm-watson: 8.0.0 -> 8.1.0
This commit is contained in:
commit
01cef44757
@ -1,13 +1,15 @@
|
|||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, fetchPypi
|
buildPythonPackage,
|
||||||
, pyjwt
|
fetchPypi,
|
||||||
, pytestCheckHook
|
pyjwt,
|
||||||
, python-dateutil
|
pytestCheckHook,
|
||||||
, pythonOlder
|
python-dateutil,
|
||||||
, requests
|
pythonAtLeast,
|
||||||
, responses
|
pythonOlder,
|
||||||
, setuptools
|
requests,
|
||||||
|
responses,
|
||||||
|
setuptools,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -22,11 +24,9 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-CqbZcEP1ianvRRpx527KBjQTjvGBzlSmoKY1Pe5MXRA=";
|
hash = "sha256-CqbZcEP1ianvRRpx527KBjQTjvGBzlSmoKY1Pe5MXRA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
setuptools
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
pyjwt
|
pyjwt
|
||||||
python-dateutil
|
python-dateutil
|
||||||
requests
|
requests
|
||||||
@ -52,6 +52,10 @@ buildPythonPackage rec {
|
|||||||
"test_retry_config_external"
|
"test_retry_config_external"
|
||||||
# assertion error due to requests brotli support
|
# assertion error due to requests brotli support
|
||||||
"test_http_client"
|
"test_http_client"
|
||||||
|
] ++ lib.optionals (pythonAtLeast "3.12") [
|
||||||
|
# Tests are blocking or failing
|
||||||
|
"test_abstract_class_instantiation"
|
||||||
|
"test_abstract_class_instantiation"
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
|
@ -1,21 +1,23 @@
|
|||||||
{ lib
|
{
|
||||||
, buildPythonPackage
|
lib,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, ibm-cloud-sdk-core
|
fetchFromGitHub,
|
||||||
, pytest-rerunfailures
|
ibm-cloud-sdk-core,
|
||||||
, pytestCheckHook
|
pytest-rerunfailures,
|
||||||
, python-dateutil
|
pytestCheckHook,
|
||||||
, python-dotenv
|
python-dateutil,
|
||||||
, pythonOlder
|
python-dotenv,
|
||||||
, requests
|
pythonOlder,
|
||||||
, responses
|
requests,
|
||||||
, websocket-client
|
setuptools,
|
||||||
|
responses,
|
||||||
|
websocket-client,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "ibm-watson";
|
pname = "ibm-watson";
|
||||||
version = "8.0.0";
|
version = "8.1.0";
|
||||||
format = "setuptools";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
@ -23,10 +25,12 @@ buildPythonPackage rec {
|
|||||||
owner = "watson-developer-cloud";
|
owner = "watson-developer-cloud";
|
||||||
repo = "python-sdk";
|
repo = "python-sdk";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-p2LyR7Fxd0Ny6QCypAWIusnINuhWAhWOnRfZ14FKvro=";
|
hash = "sha256-r7A5i17KIy1pBrj01yeknfrOFjb5yZco8ZOc7tlFM7k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
build-system = [ setuptools ];
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
ibm-cloud-sdk-core
|
ibm-cloud-sdk-core
|
||||||
python-dateutil
|
python-dateutil
|
||||||
requests
|
requests
|
||||||
@ -40,9 +44,7 @@ buildPythonPackage rec {
|
|||||||
responses
|
responses
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "ibm_watson" ];
|
||||||
"ibm_watson"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Client library to use the IBM Watson Services";
|
description = "Client library to use the IBM Watson Services";
|
||||||
|
Loading…
Reference in New Issue
Block a user