#2 Update python-botocore to 1.10.43 for EL7
Closed 3 years ago by fale. Opened 5 years ago by xavierb.
rpms/ xavierb/python-botocore epel7  into  epel7

file modified
+8
@@ -40,3 +40,11 @@ 

  /botocore-1.5.53.tar.gz

  /botocore-1.5.72.tar.gz

  /botocore-1.6.0.tar.gz

+ /botocore-1.8.21.tar.gz

+ /botocore-1.8.26.tar.gz

+ /botocore-1.8.29.tar.gz

+ /botocore-1.8.33.tar.gz

+ /botocore-1.9.1.tar.gz

+ /botocore-1.10.41.tar.gz

+ /botocore-1.10.42.tar.gz

+ /botocore-1.10.43.tar.gz

@@ -1,34 +0,0 @@ 

- diff -ur botocore-1.5.3.orig/requirements.txt botocore-1.5.3/requirements.txt

- --- botocore-1.5.3.orig/requirements.txt	2017-01-20 11:06:07.081344531 +0000

- +++ botocore-1.5.3/requirements.txt	2017-01-20 11:06:56.409021742 +0000

- @@ -1,5 +1,5 @@

-  tox>=2.5.0,<3.0.0

- -python-dateutil>=2.1,<3.0.0

- +python-dateutil>=1.4,<3.0.0

-  nose==1.3.0

-  mock==1.3.0

-  wheel==0.24.0

- diff -ur botocore-1.5.3.orig/setup.cfg botocore-1.5.3/setup.cfg

- --- botocore-1.5.3.orig/setup.cfg	2017-01-20 11:06:07.082344504 +0000

- +++ botocore-1.5.3/setup.cfg	2017-01-20 11:07:15.994496531 +0000

- @@ -3,7 +3,7 @@

-  

-  [metadata]

-  requires-dist = 

- -	python-dateutil>=2.1,<3.0.0

- +	python-dateutil>=1.4,<3.0.0

-  	jmespath>=0.7.1,<1.0.0

-  	docutils>=0.10

-  	ordereddict==1.1; python_version=="2.6"

- diff -ur botocore-1.5.3.orig/setup.py botocore-1.5.3/setup.py

- --- botocore-1.5.3.orig/setup.py	2017-01-20 11:06:07.078344611 +0000

- +++ botocore-1.5.3/setup.py	2017-01-20 11:07:27.367191557 +0000

- @@ -6,7 +6,7 @@

-  

-  

-  requires = ['jmespath>=0.7.1,<1.0.0',

- -            'python-dateutil>=2.1,<3.0.0',

- +            'python-dateutil>=1.4,<3.0.0',

-              'docutils>=0.10']

-  

-  

@@ -0,0 +1,43 @@ 

+ Original patch from:

+ Haikel Guemar <hguemar@fedoraproject.org>

+ diff -u botocore-1.10.43.orig/requirements.txt botocore-1.10.43/requirements.txt

+ --- botocore-1.10.43.orig/requirements.txt	2018-06-21 22:05:21.000000000 +0200

+ +++ botocore-1.10.43/requirements.txt	2018-12-12 12:45:19.188946147 +0100

+ @@ -1,6 +1,6 @@

+  tox>=2.5.0,<3.0.0

+ -python-dateutil>=2.1,<2.7.0; python_version=="2.6"

+ -python-dateutil>=2.1,<3.0.0; python_version>="2.7"

+ +python-dateutil>=1.4,<2.7.0; python_version=="2.6"

+ +python-dateutil>=1.4,<3.0.0; python_version>="2.7"

+  nose==1.3.7

+  mock==1.3.0

+  wheel==0.24.0

+ diff -u botocore-1.10.43.orig/setup.cfg botocore-1.10.43/setup.cfg

+ --- botocore-1.10.43.orig/setup.cfg	2018-06-21 22:05:23.000000000 +0200

+ +++ botocore-1.10.43/setup.cfg	2018-12-12 12:45:19.189946145 +0100

+ @@ -3,8 +3,8 @@

+  

+  [metadata]

+  requires-dist = 

+ -	python-dateutil>=2.1,<2.7.0; python_version=="2.6"

+ -	python-dateutil>=2.1,<3.0.0; python_version>="2.7"

+ +	python-dateutil>=1.4,<2.7.0; python_version=="2.6"

+ +	python-dateutil>=1.4,<3.0.0; python_version>="2.7"

+  	jmespath>=0.7.1,<1.0.0

+  	docutils>=0.10

+  	ordereddict==1.1; python_version=="2.6"

+ diff -u botocore-1.10.43.orig/setup.py botocore-1.10.43/setup.py

+ --- botocore-1.10.43.orig/setup.py	2018-06-21 22:05:21.000000000 +0200

+ +++ botocore-1.10.43/setup.py	2018-12-12 12:45:19.190946143 +0100

+ @@ -38,9 +38,9 @@

+      # JSON objects.  The 2.7 json module has this.  For 2.6

+      # we need simplejson.

+      requires.append('simplejson==3.3.0')

+ -    requires.append('python-dateutil>=2.1,<2.7.0')

+ +    requires.append('python-dateutil>=1.4,<2.7.0')

+  else:

+ -    requires.append('python-dateutil>=2.1,<3.0.0')

+ +    requires.append('python-dateutil>=1.4,<3.0.0')

+  

+  

+  setup(

file modified
+66 -16
@@ -14,14 +14,14 @@ 

  %global pypi_name botocore

  

  Name:           python-%{pypi_name}

- Version:        1.6.0

- Release:        1%{?dist}

+ Version:        1.10.43

+ Release:        1%{?dist}.1

  Summary:        Low-level, data-driven core of boto 3

  

  License:        ASL 2.0

  URL:            https://github.com/boto/botocore

  Source0:        https://pypi.io/packages/source/b/%{pypi_name}/%{pypi_name}-%{version}.tar.gz

- Patch0:         botocore-1.5.3-fix_dateutil_version.patch

+ Patch0:         python-botocore-1.10.43-Fix-date-util-version-for-EL7.patch

  BuildArch:      noarch

  

  %description
@@ -31,29 +31,34 @@ 

  %package -n     python2-%{pypi_name}

  Summary:        Low-level, data-driven core of boto 3

  BuildRequires:  python2-devel

- BuildRequires:  python-setuptools

+ BuildRequires:  python2-setuptools

  %if %{with docs}

- BuildRequires:  python-sphinx

+ BuildRequires:  python2-sphinx

  BuildRequires:  python-guzzle_sphinx_theme

  %endif # with docs

  %if %{with tests}

  %{?fc23:BuildRequires: mock}

  %{!?fc23:BuildRequires: python2-mock}

- BuildRequires:  python-behave

- BuildRequires:  python-nose

- BuildRequires:  python-six

- BuildRequires:  python-wheel

- BuildRequires:  python-docutils

- BuildRequires:  python-dateutil

+ BuildRequires:  python2-behave

+ BuildRequires:  python2-nose

+ BuildRequires:  python2-six

+ BuildRequires:  python2-wheel

+ BuildRequires:  python2-docutils

+ BuildRequires:  python2-dateutil

  BuildRequires:  python2-jmespath

  %endif # with tests

- Requires:       python-jmespath >= 0.7.1

+ Requires:       python2-jmespath >= 0.7.1

  %if %{with fix_dateutil}

- Requires:       python-dateutil >= 1.4

+ Requires:       python2-dateutil >= 1.4

  %else

- Requires:       python-dateutil >= 2.1

+ Requires:       python2-dateutil >= 2.1

  %endif # with fix_dateutil

- Requires:       python-docutils >= 0.10

+ Requires:       python2-docutils >= 0.10

+ %if ! 0%{el7}

+ Requires:       python2-urllib3

+ %else

+ Requires:       python-urllib3

+ %endif

  %{?el6:Provides: python-%{pypi_name}}

  %{?python_provide:%python_provide python2-%{pypi_name}}

  
@@ -158,13 +163,58 @@ 

  %{python3_sitelib}/%{pypi_name}/

  %{python3_sitelib}/%{pypi_name}-*.egg-info/

  %endif # with python3

- 

  %if %{with docs}

  %files doc

  %doc html

  %endif # with docs

  

  %changelog

+ * Wed Dec 12 2018 Xavier Bachelot <xavier@bachelot.org> - 1.10.43-1.1

+ - Rebase EL7 patch against 1.10.43.

+ 

+ * Wed Sep 5 2018 David Duncan <davdunc@amazon.com> - 1.10.43-1

+ - Bumping version to 1.10.43 Updates bz#1531330

+ 

+ * Mon Sep 3 2018 David Duncan <davdunc@amazon.com> - 1.10.42-1

+ - Bumping version to 1.10.42 Updates bz#1531330

+ 

+ * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.41-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

+ 

+ * Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1.10.41-3

+ - Rebuilt for Python 3.7

+ 

+ * Wed Jun 20 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 1.10.41-2

+ - Fix EL7 dateutil patch

+ 

+ * Wed Jun 20 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 1.10.41-1

+ - Upstream 1.10.41

+ 

+ * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.9.1-3

+ - Rebuilt for Python 3.7

+ 

+ * Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.9.1-2

+ - Update Python 2 dependency declarations to new packaging standards

+   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

+ 

+ * Wed Feb 28 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.9.1-1

+ - Update to 1.9.1

+ 

+ * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.33-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

+ 

+ * Sat Jan 20 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.8.33-1

+ - Update to 1.8.33

+ 

+ * Tue Jan 16 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.8.29-1

+ - Update to 1.8.29

+ 

+ * Wed Jan 10 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.8.26-1

+ - Update to 1.8.26

+ 

+ * Wed Jan 03 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.8.21-1

+ - Update to 1.8.21

+ 

  * Sun Aug 13 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.6.0-1

  - Update to 1.6.0

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (botocore-1.6.0.tar.gz) = 680ec363ab5558af145f9bec823b65471d540666ae2de27b1f90d0f7c8299d9e9a0e8d70a6f64e5e8843d32f94b3600b55ad0fc766912703733415e266cc8e8e

+ SHA512 (botocore-1.10.43.tar.gz) = fc896aa55c359e4c95d454633c66b5844d97c37ce7d1794cea2534546c84c65b8d656e07d625b5bad8c60e6712d8d90309701ee68d0c7dbc0c6f5facc1788041

This PR aims at upgrading python-botocore for EL7.
awscli package was adopted into RHEL/CentOS, but the package as available in at least 7.6 is not fully working, if at all.
One way to somewhat fix awscli is to install botocore from EPEL7 but it is too old, hence this PR.
For more context, see https://bugzilla.redhat.com/show_bug.cgi?id=1656445

The problem got solved in a different way

Pull-Request has been closed by fale

3 years ago