Accepting request 783247 from devel:languages:python:aws
- Skip test failing on python 3.8, it is race condition that needs to be fixed in tests - Update to 0.3.3: * bugfix:dependency: Updated botocore version range - Drop patch hide_py_pckgmgmt.patch it should not be needed * we updated setuptools on SLE 12 to handle complex dependencies - Use pytest for test execution: * the nose is used by upstream but really not needed and it will get borked with python 3.10 OBS-URL: https://build.opensuse.org/request/show/783247 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-s3transfer?expand=0&rev=12
This commit is contained in:
commit
71fbf8d508
@ -1,43 +0,0 @@
|
||||
diff -Nru s3transfer-0.3.2.orig/setup.py s3transfer-0.3.2/setup.py
|
||||
--- s3transfer-0.3.2.orig/setup.py 2020-01-23 20:10:38.000000000 +0100
|
||||
+++ s3transfer-0.3.2/setup.py 2020-01-27 17:03:58.370465807 +0100
|
||||
@@ -10,15 +10,15 @@
|
||||
VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+)['"]''')
|
||||
|
||||
|
||||
-requires = [
|
||||
- 'botocore>=1.12.36,<2.0.0',
|
||||
-]
|
||||
+# requires = [
|
||||
+# 'botocore>=1.12.36,<2.0.0',
|
||||
+# ]
|
||||
|
||||
|
||||
-if sys.version_info[0] == 2:
|
||||
- # concurrent.futures is only in python3, so for
|
||||
- # python2 we need to install the backport.
|
||||
- requires.append('futures>=2.2.0,<4.0.0')
|
||||
+# if sys.version_info[0] == 2:
|
||||
+# # concurrent.futures is only in python3, so for
|
||||
+# # python2 we need to install the backport.
|
||||
+# requires.append('futures>=2.2.0,<4.0.0')
|
||||
|
||||
|
||||
def get_version():
|
||||
@@ -36,11 +36,11 @@
|
||||
url='https://github.com/boto/s3transfer',
|
||||
packages=find_packages(exclude=['tests*']),
|
||||
include_package_data=True,
|
||||
- install_requires=requires,
|
||||
- extras_require={
|
||||
- ':python_version=="2.7"': [
|
||||
- 'futures>=2.2.0,<4.0.0']
|
||||
- },
|
||||
+ # install_requires=requires,
|
||||
+ # extras_require={
|
||||
+ # ':python_version=="2.7"': [
|
||||
+ # 'futures>=2.2.0,<4.0.0']
|
||||
+ # },
|
||||
license="Apache License 2.0",
|
||||
classifiers=(
|
||||
'Development Status :: 3 - Alpha',
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 10 09:45:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Skip test failing on python 3.8, it is race condition that needs
|
||||
to be fixed in tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 08:21:19 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.3.3:
|
||||
* bugfix:dependency: Updated botocore version range
|
||||
- Drop patch hide_py_pckgmgmt.patch it should not be needed
|
||||
* we updated setuptools on SLE 12 to handle complex dependencies
|
||||
- Use pytest for test execution:
|
||||
* the nose is used by upstream but really not needed and it
|
||||
will get borked with python 3.10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 27 16:10:36 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -18,18 +18,17 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-s3transfer
|
||||
Version: 0.3.2
|
||||
Version: 0.3.3
|
||||
Release: 0
|
||||
Summary: Python S3 transfer manager
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/boto/s3transfer
|
||||
Source0: https://files.pythonhosted.org/packages/source/s/s3transfer/s3transfer-%{version}.tar.gz
|
||||
Patch0: hide_py_pckgmgmt.patch
|
||||
Patch1: no-bundled-packages.patch
|
||||
BuildRequires: %{python_module botocore >= 1.12.36}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module urllib3}
|
||||
BuildRequires: fdupes
|
||||
@ -51,9 +50,8 @@ A transfer manager for Amazon Web Services S3
|
||||
|
||||
%prep
|
||||
%setup -q -n s3transfer-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
# remove integration tests that need running s3 :)
|
||||
# remove integration tests that need running s3
|
||||
rm -rf tests/integration
|
||||
|
||||
%build
|
||||
@ -64,10 +62,8 @@ rm -rf tests/integration
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# on 32bit the tests fail on OOM and various other funny things
|
||||
%ifarch x86_64
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%endif
|
||||
# test_download_futures_fail_triggers_shutdown - https://github.com/boto/s3transfer/pull/162
|
||||
%pytest -k 'not test_download_futures_fail_triggers_shutdown'
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4924e10451cc37901945806423d16c2c2040a6530645a614ed87e995ccec764c
|
||||
size 118876
|
3
s3transfer-0.3.3.tar.gz
Normal file
3
s3transfer-0.3.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:921a37e2aefc64145e7b73d50c71bb4f26f46e4c9f414dc648c6245ff92cf7db
|
||||
size 118872
|
Loading…
Reference in New Issue
Block a user