Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge pull request #268906 from fabaff/google-cloud-automl-bump

python311Packages.google-cloud-automl: 2.11.3 -> 2.11.4

authored by Fabian Affolter and committed by GitHub 9f45127a e5d7fa1e

+13 -11
+13 -11
pkgs/development/python-modules/google-cloud-automl/default.nix
··· 12 12 , pytest-asyncio 13 13 , pytestCheckHook 14 14 , pythonOlder 15 + , setuptools 15 16 }: 16 17 17 18 buildPythonPackage rec { 18 19 pname = "google-cloud-automl"; 19 - version = "2.11.3"; 20 - format = "setuptools"; 20 + version = "2.11.4"; 21 + pyproject = true; 21 22 22 23 disabled = pythonOlder "3.7"; 23 24 24 25 src = fetchPypi { 25 26 inherit pname version; 26 - hash = "sha256-VcqQn7w2sTpDHKfniwkwsEXDa8YIV+G1jlbPOu8NVl0="; 27 + hash = "sha256-oUMXQWkwHMFI26hpe36mAyoh+bQogtyoDgTaBRactUU="; 27 28 }; 29 + 30 + nativeBuildInputs = [ 31 + setuptools 32 + ]; 28 33 29 34 propagatedBuildInputs = [ 30 35 google-api-core ··· 58 63 rm -r google 59 64 ''; 60 65 61 - disabledTestPaths = [ 62 - # requires credentials 63 - "tests/system/gapic/v1beta1/test_system_tables_client_v1.py" 64 - ]; 65 - 66 66 disabledTests = [ 67 - # requires credentials 67 + # Test requires credentials 68 68 "test_prediction_client_client_info" 69 + # Test requires project ID 70 + "test_list_models" 69 71 ]; 70 72 71 73 pythonImportsCheck = [ ··· 76 78 77 79 meta = with lib; { 78 80 description = "Cloud AutoML API client library"; 79 - homepage = "https://github.com/googleapis/python-automl"; 80 - changelog = "https://github.com/googleapis/python-automl/blob/v${version}/CHANGELOG.md"; 81 + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-automl"; 82 + changelog = "https://github.com/googleapis/google-cloud-python/tree/google-cloud-automl-v${version}/packages/google-cloud-automl"; 81 83 license = licenses.asl20; 82 84 maintainers = with maintainers; [ ]; 83 85 };