Sync from SUSE:SLFO:Main python-google-resumable-media revision 65210b21422f883ecadf7019b88f6726
This commit is contained in:
parent
1fca1a3a90
commit
478c2eda42
BIN
google-resumable-media-2.6.0.tar.gz
(Stored with Git LFS)
BIN
google-resumable-media-2.6.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
google_resumable_media-2.7.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
google_resumable_media-2.7.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 12:03:02 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 2.7.1
|
||||
* Add a check for partial response data (#435)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 20:31:04 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- 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 <rjschwei@suse.com>
|
||||
|
||||
- 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 <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <adrian.glaubitz@suse.com>
|
||||
|
||||
@ -87,7 +122,7 @@ Thu Sep 30 06:30:37 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 28 21:00:40 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- 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 <adrian.glaubitz@suse.com>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user