Unverified Commit 9f45127a authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

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

python311Packages.google-cloud-automl: 2.11.3 -> 2.11.4
parents e5d7fa1e a0cd9771
Loading
Loading
Loading
Loading
+13 −11
Original line number Diff line number Diff line
@@ -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; [ ];
  };