diff --git a/google-resumable-media-2.6.0.tar.gz b/google-resumable-media-2.6.0.tar.gz deleted file mode 100644 index 1f166e4..0000000 --- a/google-resumable-media-2.6.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:972852f6c65f933e15a4a210c2b96930763b47197cdf4aa5f5bea435efb626e7 -size 2161310 diff --git a/google_resumable_media-2.7.2.tar.gz b/google_resumable_media-2.7.2.tar.gz new file mode 100644 index 0000000..ca19c2d --- /dev/null +++ b/google_resumable_media-2.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5280aed4629f2b60b847b0d42f9857fd4935c11af266744df33d8074cae92fe0 +size 2163099 diff --git a/python-google-resumable-media.changes b/python-google-resumable-media.changes index d215733..aad1c5a 100644 --- a/python-google-resumable-media.changes +++ b/python-google-resumable-media.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Tue Sep 3 12:03:02 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 2.7.2 + * Correctly calculate starting offset for retries of ranged reads (#450) +- Adjust upstream source name in spec file + +------------------------------------------------------------------- +Mon Jun 24 11:55:02 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 2.7.1 + * Add a check for partial response data (#435) + +------------------------------------------------------------------- +Tue Mar 5 20:31:04 UTC 2024 - Robert Schweikert + +- Obsolete Python 3.6 build for SLE 15 SP4 and openSUSE Leap 15.4 and later + +------------------------------------------------------------------- +Mon Feb 26 20:38:41 UTC 2024 - Robert Schweikert + +- Version update in SLE 15 SP4 and later (jsc#PED-6697) +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Thu Jan 4 11:00:19 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 2.7.0 + * Add support for Python 3.12 (#407) + * Support brotli encoding (#403) +- Skip online tests + * test_brotli + * test_constructor + * test_decompress + ------------------------------------------------------------------- Tue Sep 12 13:11:29 UTC 2023 - John Paul Adrian Glaubitz @@ -87,7 +122,7 @@ Thu Sep 30 06:30:37 UTC 2021 - Matej Cepl ------------------------------------------------------------------- Tue Sep 28 21:00:40 UTC 2021 - Matej Cepl -- Run test suite correctly (from tests/ directory moved elsewhere) +- Run test suite correctly (from tests/ directory moved elsewhere) (bsc#1197841) ------------------------------------------------------------------- Tue Aug 31 09:04:07 UTC 2021 - John Paul Adrian Glaubitz diff --git a/python-google-resumable-media.spec b/python-google-resumable-media.spec index c561083..3fc983f 100644 --- a/python-google-resumable-media.spec +++ b/python-google-resumable-media.spec @@ -1,7 +1,7 @@ # # spec file for package python-google-resumable-media # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,16 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-google-resumable-media -Version: 2.6.0 +Version: 2.7.2 Release: 0 Summary: Utilities for Google Media Downloads and Resumable Uploads License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/googleapis/google-resumable-media-python -Source: https://files.pythonhosted.org/packages/source/g/google-resumable-media/google-resumable-media-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/g/google_resumable_media/google_resumable_media-%{version}.tar.gz BuildRequires: %{python_module google-auth} BuildRequires: %{python_module google-crc32c} BuildRequires: %{python_module pip} @@ -39,13 +39,16 @@ Requires: python-google-crc32c Recommends: python-aiohttp Recommends: python-requests >= 2.18.0 BuildArch: noarch +%if 0%{?sle_version} >= 150400 +Obsoletes: python3-google-resumable-media < %{version} +%endif %python_subpackages %description Utilities for Google Media Downloads and Resumable Uploads %prep -%setup -q -n google-resumable-media-%{version} +%setup -q -n google_resumable_media-%{version} %build %pyproject_wheel @@ -56,7 +59,11 @@ Utilities for Google Media Downloads and Resumable Uploads %check export PYTEST_ADDOPTS="--import-mode=importlib" -%pytest tests/unit +# skip online tests +donttest="test_brotli" +donttest="$donttest or test_constructor" +donttest="$donttest or test_decompress" +%pytest tests/unit -k "not ($donttest)" %files %{python_files} %license LICENSE