forked from pool/python-botocore
- drop remove-six.patch, rejected by upstream and breaks
all dependent projects of botocore OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=152
This commit is contained in:
parent
aa764b9a2d
commit
3bd403c8cf
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 12 06:42:09 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- drop remove-six.patch, rejected by upstream and breaks
|
||||
all dependent projects of botocore
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 11 11:46:31 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -34,9 +34,6 @@ Summary: Python interface for AWS
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/boto/botocore
|
||||
Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM remove-six.patch mcepl@suse.com
|
||||
# Removes dependency on six.
|
||||
Patch0: remove-six.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -45,6 +42,7 @@ Requires: python-jmespath >= 0.7.1
|
||||
Requires: python-python-dateutil < 3.0.0
|
||||
Requires: python-python-dateutil >= 2.1
|
||||
Requires: python-requests
|
||||
Requires: python-six
|
||||
Requires: python-urllib3 < 1.27
|
||||
Requires: python-urllib3 >= 1.25.4
|
||||
BuildArch: noarch
|
||||
@ -60,7 +58,7 @@ BuildRequires: procps
|
||||
A low-level interface to a growing number of Amazon Web Services.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n botocore-%{version}
|
||||
%setup -q -n botocore-%{version}
|
||||
|
||||
# remove bundled cacert.pem
|
||||
rm botocore/cacert.pem
|
||||
@ -84,7 +82,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
|
||||
%pytest --ignore tests/integration -k "not no_bare_six_imports"
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
|
Loading…
Reference in New Issue
Block a user