forked from pool/python-botocore
Accepting request 1090097 from devel:languages:python:aws
- update to 1.29.144: * see https://raw.githubusercontent.com/boto/botocore/1.29.144/CHANGELOG.rst - use vendored urllib3/requests to avoid conflicts with urllib3 2.x and requests OBS-URL: https://build.opensuse.org/request/show/1090097 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-botocore?expand=0&rev=118
This commit is contained in:
commit
cb19dcc966
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a31293b84ecfe5f5f2c4b7dc85a77d7b890b468a376b593fde15cacc76862dd
|
||||
size 10947204
|
3
botocore-1.29.144.tar.gz
Normal file
3
botocore-1.29.144.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c60b9158cbc7447411abdec77b87a71d86d9404064702e92d317dca6a1ec9a5b
|
||||
size 11009225
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 31 20:20:09 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.29.144:
|
||||
* see https://raw.githubusercontent.com/boto/botocore/1.29.144/CHANGELOG.rst
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 30 11:13:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use vendored urllib3/requests to avoid conflicts with
|
||||
urllib3 2.x and requests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 11:09:44 UTC 2023 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-botocore%{?psuffix}
|
||||
Version: 1.29.130
|
||||
Version: 1.29.144
|
||||
Release: 0
|
||||
Summary: Python interface for AWS
|
||||
License: Apache-2.0
|
||||
@ -40,12 +40,13 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-requests
|
||||
Requires: (python-jmespath >= 0.7.1 with python-jmespath < 2.0.0)
|
||||
Requires: (python-python-dateutil >= 2.1 with python-python-dateutil < 3.0.0)
|
||||
Requires: (python-urllib3 >= 1.25.4 with python-urllib3 < 1.27)
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module botocore = %{version}}
|
||||
BuildRequires: %{python_module jsonschema}
|
||||
BuildRequires: %{python_module pytest >= 6.2.5}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module urllib3 < 2}
|
||||
BuildRequires: procps
|
||||
%endif
|
||||
%python_subpackages
|
||||
@ -58,12 +59,6 @@ A low-level interface to a growing number of Amazon Web Services.
|
||||
|
||||
# remove bundled cacert.pem
|
||||
rm botocore/cacert.pem
|
||||
# remove bundled 3rd party Python modules
|
||||
rm -r botocore/vendored/
|
||||
# fix all imports:
|
||||
sed -i 's/from botocore\.vendored //' botocore/*.py tests/functional/*.py tests/integration/*.py tests/unit/*.py
|
||||
sed -i 's/botocore.vendored.requests.model.Response/requests.model.Response/' botocore/endpoint.py
|
||||
sed -i 's/botocore\.vendored\.//' botocore/*.py tests/functional/*.py tests/integration/*.py tests/unit/*.py
|
||||
|
||||
%if !%{with test}
|
||||
%build
|
||||
@ -78,7 +73,7 @@ sed -i 's/botocore\.vendored\.//' botocore/*.py tests/functional/*.py tests/inte
|
||||
%check
|
||||
# TODO: Figure out whether integration tests are possible offline
|
||||
# no_bare_six_imports: we "fixed" that above.
|
||||
%pytest --ignore tests/integration -k "not six"
|
||||
%pytest %{?jobs:-n 4} --ignore tests/integration -k "not six"
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
Loading…
Reference in New Issue
Block a user