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