------------------------------------------------------------------- Fri Apr 15 08:55:20 UTC 2022 - Matej Cepl - Update to 2.3.0: - add dual region bucket support and sample - track invocation id for retry metrics - deps: drop pkg_resources - fix links in blob module ------------------------------------------------------------------- Wed Apr 13 10:13:58 UTC 2022 - John Paul Adrian Glaubitz - Update to 2.2.1 Bug Fixes * remove py.typed marker file for PEP 561 (#735), closes (#734) - from version 2.2.0 Features * allow no project in client methods using storage emulator (#703) Bug Fixes * add user agent in python-storage when calling resumable media (c7bf615) * **deps:** require google-api-core>=1.31.5, >=2.3.2 (#722) (e9aab38) * Fix BlobReader handling of interleaved reads and seeks (#721) (5d1cfd2) * retry client side requests timeout (#727) (e0b3b35) Documentation * fixed download_blob_to_file example (#704) (2c94d98) - from 2.1.0 Features * add turbo replication support and samples (#622) (4dafc81) * avoid authentication with storage emulator (#679) (8789afa) * remove python 3.6 support (#689) (8aa4130) - from version 2.0.0 BREAKING CHANGES * Remove Python 2 support (#657) Features * Remove Python 2 support (#657) (b611670) - from version 1.44.0 Features * add raw_download kwarg to BlobReader (#668) (10cdad6) Documentation * Describe code sample more specifically (#660) (0459cb4) * refresh readme instructions (#667) (ceb9314) * This is just a simple PR to better describe what the code is doing in the comments. (0459cb4) * use writeable streamin example for 'download_blob_to_file' (#676) (96092d4) - from version 1.43.0 Features * add ignore_flush parameter to BlobWriter (#644) (af9c9dc) * add support for Python 3.10 (#615) (f81a2d0) Bug Fixes * raise a ValueError in BucketNotification.create() if a topic name is not set (#617) (9dd78df) Documentation * add contributing and authoring guides under samples/ (#633) (420591a) * add links to samples and how to guides (#641) (49f78b0) * add README to samples subdirectory (#639) (58af882) * update samples readme with cli args (#651) (75dda81) - from 1.42.3 Bug Fixes * changeover unspecified to inherited (#603) (283a419) * check response code in batch.finish (#609) (318a286) * skip tests that use unspecified pap until we get the change in (#600) (38b9b55) - from version 1.42.2 Bug Fixes * add preconditions and retry config support to ACL patch operationss (#586) (4333caf) * add unpinned protobuf for python3 (#592) (53f7ad0) * pin six as a required dependency (#589) (9ca97bf) - from version 1.42.1 Bug Fixes * do not append duplicates to user agent string (#570) (57cf3a1) Documentation * pass explicit 'client' in '{Blob.Bucket}.from_string' examples (#545) (6eff22d) - from version 1.42.0 Features * add 'page_size' parameter to 'Bucket.list_blobs, list_buckets (#520) (c5f4ad8) Bug Fixes * **deps:** add explicit ranges for 'google-api-core' and 'google-auth' (#530) (310f207) * downloading no longer marks metadata fields as 'changed' (#523) (160d1ec) * make 'requests.exceptions.ChunkedEncodingError retryable by default (#526) (4abb403) Documentation * update supported / removed Python versions in README (#519) (1f1b138) - from version 1.41.1 Bug Fixes * **deps:** pin `{api,cloud}-core`, `auth` to allow 2.x versions on Python 3 (#512) (4d7500e) * remove trailing commas from error message constants (#505) (d4a86ce) Documentation * replace usage of deprecated function `download_as_string` in docs (#508) (8dfa4d4) - from version 1.41.0 Features * add support for Etag headers on reads (#489) (741d3fd) Bug Fixes * **deps:** update minimum dependency versions to pick up bugfixes (#496) (92251a5) * populate etag / generation / metageneration properties during download (#488) (49ba14c) * revise and rename is_etag_in_json(data) (#483) (0a52546) - from version 1.40.0 Features * add preconditions and retry configuration to blob.create_resumable_upload_session (#484) (0ae35ee) * add public access prevention to bucket IAM configuration (#304) (e3e57a9) Bug Fixes * replace default retry for upload operations (#480) (c027ccf) - from version 1.39.0 Features * media operation retries can be configured using the same interface as with non-media operation (#447) (0dbbb8a) Bug Fixes * add ConnectionError to default retry (#445) (8344253) * apply idempotency policies for ACLs (#458) (2232f38) * replace python lifecycle action parsing ValueError with warning (#437) (2532d50) * revise blob.compose query parameters `if_generation_match` (#454) (70d19e7) Documentation * streamline 'timeout' / 'retry' docs in docstrings (#461) (78b2eba) * streamline docstrings for conditional parmas (#464) (6999370) - Drop patches for issues fixed upstream * no-network.patch * no-sic.patch - Refresh patches for new upstream version * no-relative-imports.patch - Update BuildRequires and Require from setup.py ------------------------------------------------------------------- Thu Sep 30 09:19:18 UTC 2021 - Matej Cepl - Add no-relative-imports.patch to fix relative imports. ------------------------------------------------------------------- Thu Sep 30 09:04:12 UTC 2021 - Steve Kowalik - Copy the testsuite before we run it to avoid import problems. - Remove horrible workarounds creating __init__.py and then removing them. - Drop Requires on python-google-filesystem. ------------------------------------------------------------------- Tue Jun 22 06:34:36 UTC 2021 - Steve Kowalik - Correct Requires to googleapis-common-protos. - Add Requires on python-google-filesystem, and stop including a file it now ships. ------------------------------------------------------------------- Fri Jun 4 07:09:47 UTC 2021 - Matej Cepl - Update to 1.38.0: - add getters and setters for encryption_key and kms_key_name - retry auth.TransportError errors - revise docstrings for generate_signed_url - Ensure consistency check in test runs even if expected error occurs - silence expected errors for routine operations on BlobReader - add blob.open() for file-like I/O - update user_project usage and documentation in bucket/client class methods - update batch connection to request api endpoint info from client - allow metadata keys to be cleared - allow signed url version v4 without signed credentials - correctly encode bytes for V2 signature - add mtls support - correctly decode times without microseconds - expose num_retries parameter for blob upload methods - pass the unused parameter - set custom_time on uploads - address incorrect usage of request preconditions - Amend default retry behavior for bucket operations on client - support ConnectionError retries for media operations - make retry parameter public and added in other methods - avoid triggering global logging config - fall back to 'charset' of 'content_type' in 'download_as_text' - fix conditional retry handling of camelCase query params - retry uploads only conditionally - update 'custom_time' setter to record change - add testing support for Python 3.9, drop Python 3.5 - use passed-in client within Blob.from_string and helpers - preserve metadata value when uploading new file content - retry API calls with exponential backoff - field policy return string - self-upload files for Unicode system test - use version.py for versioning, avoid issues with discovering version via get_distribution - preserve existing blob hashes when 'X-Goog-Hash header' is not present - blob: base64 includes additional characters - add configurable checksumming for blob uploads and downloads - add support for 'Blob.custom_time' and lifecycle rules - error message return from api - storage: add support of daysSinceNoncurrentTime and noncurrentTimeBefore - pass 'client_options' to base class ctor - rename 'Blob.download_as_{string,bytes}', add 'Blob.download_as_text' - change datetime.now to utcnow - extract hashes correctly during download - add timeouts to Blob methods where missing - auto-populate standard headers for non-chunked downloads - migrate to Service Account Credentials API - add multiprocessing.rst to synthool excludes - Fix URL to the correct https://github.com/googleapis/python-storage - Add no-network.patch marking tests requiring network access (gh#googleapis/python-storage#457). - Add no-sic.patch to work even with old setuptools and packaging packages. ------------------------------------------------------------------- Tue Apr 13 19:30:16 UTC 2021 - Robert Schweikert - Skip Python 2 build as dependencies are no longer built for Python 2 either ------------------------------------------------------------------- Mon Jun 29 15:55:00 UTC 2020 - Sean Marlow - Update version requirement for mock package. + The tests require at least version 3.0.0. ------------------------------------------------------------------- Thu Jun 18 10:41:05 UTC 2020 - John Paul Adrian Glaubitz - Update to 1.29.0 + Features * add *generation*match args into Blob.compose() (#122) * add Bucket.reload() and Bucket.update() wrappers to restrict generation match args (#153), closes (#127) * add helper for bucket bound hostname URLs (#137), closes (#121) * add if*generation*match support for Bucket.rename_blob() (#141) * add if*generation*Match support, pt1 (#123) * add offset and includeTrailingPrefix options to list_blobs (#125) * Create CODEOWNERS (#135) + Bug Fixes * **storage:** add documentaion of list_blobs with user project (#147) * **storage:** add projection parameter to blob.reload method (#146) * **storage:** add unused variables to method generation match (#152) * **storage:** change the method names in snippets file (#161) * **storage:** fix upload object with bucket cmek enabled (#158) * set default POST policy scheme to "http" (#172) - from version 1.28.0 + Bug Fixes * **storage:** anonymous credentials for private bucket (#107) * add bucket name into POST policy conditions (#118) ------------------------------------------------------------------- Tue Apr 28 07:48:26 UTC 2020 - Tomáš Chvátal - Update to 1.28.0: * Many various bugfixes all around * Updated dependency requirements ------------------------------------------------------------------- Thu Sep 26 13:51:51 UTC 2019 - Tomáš Chvátal - Update to 1.19.1: * Minor bugfix over previous release ------------------------------------------------------------------- Thu Sep 12 10:18:12 UTC 2019 - Tomáš Chvátal - Update to 1.19.0: * Huge range of updates and tweaks, mostly bugfixing ------------------------------------------------------------------- Thu May 16 23:24:53 UTC 2019 - Guang Yee - Update to version 1.15.1 * Widen range for 'google-cloud-core' - Update to version 1.15.0 * New Features - Add support for V4 signed URLs - Add generation arguments to bucket / blob methods * Implementation Changes - Remove classifier for Python 3.4 for end-of-life - Ensure that 'Blob.reload' passes encryption headers * Documentation - Update client library documentation URLs * Iternal / Testing Changes - Fix failing system tests - Increase number of retries for 429 errors - Un-flake KMS integration tests expecting empty bucket ------------------------------------------------------------------- Mon Feb 18 08:05:01 UTC 2019 - John Vandenberg - Activate test suite - Increase minimum versions: * google-api-core >= 0.6.1 * google-cloud-core >= 0.29.0 - Adds new dependency google-cloud-kms - Update to version 1.14.0 * New Features - Add 'Bucket.iam_configuration' property, enabling Bucket-Policy-Only. * Documentation - Improve docs for 'generate_signed_url' - from 1.13.2 * Implementation Changes - Update Blob.update_storage_class to support rewrite tokens. * Internal / Testing Changes - Skip signing tests for insufficient credentials - Document Python 2 deprecation - Normalize docs for page_size / max_results / page_token. - from 1.13.1 * Implementation Changes - Import iam.policy from google.api_core. - Accomodate new back-end restriction on retention period. - Avoid deleting a blob renamed to itself * Dependencies - Update dependency to google-cloud-core - Bump minimum api_core version for all GAPIC libs to 1.4.1. * Documentation - Normalize use of support level badges * Internal / Testing Changes - Blacken libraries - Add templates for flake8, coveragerc, noxfile, and black. - Harden teardown in system tests. - Harden create_bucket call in systests vs. 429 TooManyRequests. - Skip public bucket test in VPC Service Controls - Fix lint failure. - Disable test running in VPC Service Controls restricted environment - Use new Nox - from 1.13.0 * New Features - Add support for bucket retention policies - Allow destination.content_type to be None in Blob.compose. * Implementation Changes - Ensure that method for Blob.generate_signed_url is uppercase. * Documentation - Clarify GCS URL signing limitations on GCE - Redirect renamed 'usage.html'/'client.html' -> 'index.html'. - from 1.12.0 * New Features - Add support for Python 3.7, drop support for Python 3.4. - Add lifecycle rules helpers to bucket. * Implementation Changes - Add 'stacklevel=2' to deprecation warnings. * Documentation - Storage docs: fix typos. - Prep storage docs for repo split. * Internal / Testing Changes - Harden systest teardown further. - Nox: use inplace installs ------------------------------------------------------------------- Tue Dec 4 12:48:39 UTC 2018 - Matej Cepl - Remove superfluous devel dependency for noarch package ------------------------------------------------------------------- Fri May 18 04:42:37 UTC 2018 - tbechtold@suse.com - Initial packaging (version 1.11.0)