From edee9eaae8d0c81d6879470d2d14f635c5d33744 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 2 Jul 2026 14:13:11 +0200 Subject: [PATCH] python3Packages.google-cloud-storage: 3.10.1 -> 3.12.0 https://github.com/googleapis/google-cloud-python/blob/google-cloud-storage-v3.12.0/packages/google-cloud-storage/CHANGELOG.md --- .../google-cloud-storage/default.nix | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/google-cloud-storage/default.nix b/pkgs/development/python-modules/google-cloud-storage/default.nix index 55e252a4f12c..10ca5fc8ec98 100644 --- a/pkgs/development/python-modules/google-cloud-storage/default.nix +++ b/pkgs/development/python-modules/google-cloud-storage/default.nix @@ -25,16 +25,18 @@ buildPythonPackage rec { pname = "google-cloud-storage"; - version = "3.10.1"; + version = "3.12.0"; pyproject = true; src = fetchFromGitHub { owner = "googleapis"; - repo = "python-storage"; - tag = "v${version}"; - hash = "sha256-pKy1A9RNyRlAn4bXclcdvbfW4kZOP9Z4HqKWwcrDePo="; + repo = "google-cloud-python"; + tag = "google-cloud-storage-v${version}"; + hash = "sha256-4rmrRvYW9FOpvYY4a+vbDzQRcLXfFHGSCnv7yL6S1FM="; }; + sourceRoot = "${src.name}/packages/google-cloud-storage"; + build-system = [ setuptools ]; dependencies = [ @@ -94,6 +96,16 @@ buildPythonPackage rec { "test_update_user_agent_when_default_clientinfo_provided" "test_update_user_agent_when_none_clientinfo_provided" "test_update_user_agent_with_existing_user_agent" + "test_403_permission_cache_fallback" + "test_404_on_blob_bucket_deleted" + "test_404_on_blob_but_bucket_exists" + "test_cache_eviction_on_bucket_404" + "test_cache_eviction_on_bucket_delete" + "test_cache_stampede_protection" + "test_disable_bucket_md_env_flag" + "test_lru_bounded_capacity_eviction" + "test_sequential_cache_priming" + "test_sequential_cache_priming_multi_region" ]; disabledTestPaths = [ @@ -117,8 +129,8 @@ buildPythonPackage rec { meta = { description = "Google Cloud Storage API client library"; - homepage = "https://github.com/googleapis/python-storage"; - changelog = "https://github.com/googleapis/python-storage/blob/${src.tag}/CHANGELOG.md"; + homepage = "https://github.com/googleapis/google-cloud-python/tree/main/packages/google-cloud-storage"; + changelog = "https://github.com/googleapis/google-cloud-python/blob/${src.tag}/packages/google-cloud-storage/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ sarahec ]; };