From a0cd9771a89857be1abbe367cefd4b3384285f9c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 21 Nov 2023 09:38:36 +0100 Subject: [PATCH] python311Packages.google-cloud-automl: 2.11.3 -> 2.11.4 Changelog: https://github.com/googleapis/google-cloud-python/tree/google-cloud-automl-v2.11.4/packages/google-cloud-automl --- .../google-cloud-automl/default.nix | 24 ++++++++++--------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-automl/default.nix b/pkgs/development/python-modules/google-cloud-automl/default.nix index b12ee489cc29..b45492a171f8 100644 --- a/pkgs/development/python-modules/google-cloud-automl/default.nix +++ b/pkgs/development/python-modules/google-cloud-automl/default.nix @@ -12,20 +12,25 @@ , pytest-asyncio , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "google-cloud-automl"; - version = "2.11.3"; - format = "setuptools"; + version = "2.11.4"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-VcqQn7w2sTpDHKfniwkwsEXDa8YIV+G1jlbPOu8NVl0="; + hash = "sha256-oUMXQWkwHMFI26hpe36mAyoh+bQogtyoDgTaBRactUU="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ google-api-core proto-plus @@ -58,14 +63,11 @@ buildPythonPackage rec { rm -r google ''; - disabledTestPaths = [ - # requires credentials - "tests/system/gapic/v1beta1/test_system_tables_client_v1.py" - ]; - disabledTests = [ - # requires credentials + # Test requires credentials "test_prediction_client_client_info" + # Test requires project ID + "test_list_models" ]; pythonImportsCheck = [ @@ -76,8 +78,8 @@ buildPythonPackage rec { meta = with lib; { description = "Cloud AutoML API client library"; - homepage = "https://github.com/googleapis/python-automl"; - changelog = "https://github.com/googleapis/python-automl/blob/v${version}/CHANGELOG.md"; + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-automl"; + changelog = "https://github.com/googleapis/google-cloud-python/tree/google-cloud-automl-v${version}/packages/google-cloud-automl"; license = licenses.asl20; maintainers = with maintainers; [ ]; };