#3 Update to 1.3.16
Merged 3 months ago by xavierb. Opened 3 months ago by orion.
rpms/ orion/python-f5-icontrol-rest update  into  rawhide

file modified
+1
@@ -3,3 +3,4 @@ 

  /f5-icontrol-rest-1.3.11.tar.gz

  /f5-icontrol-rest-1.3.13.tar.gz

  /f5-icontrol-rest-1.3.15.tar.gz

+ /f5-icontrol-rest-1.3.16.tar.gz

@@ -0,0 +1,15 @@ 

+ diff -up f5-icontrol-rest-python-1.3.16/icontrol/test/unit/test_session.py.mock f5-icontrol-rest-python-1.3.16/icontrol/test/unit/test_session.py

+ --- f5-icontrol-rest-python-1.3.16/icontrol/test/unit/test_session.py.mock	2024-01-05 00:31:09.000000000 -0700

+ +++ f5-icontrol-rest-python-1.3.16/icontrol/test/unit/test_session.py	2024-02-17 18:50:35.677456635 -0700

+ @@ -12,7 +12,10 @@

+  #   See the License for the specific language governing permissions and

+  #   limitations under the License.

+  

+ -import mock

+ +try:

+ +    from unittest import mock

+ +except:

+ +    import mock

+  import pytest

+  import requests

+  

file modified
+10 -10
@@ -13,13 +13,15 @@ 

  %endif

  

  Name:           python-%{srcname}

- Version:        1.3.15

- Release:        13%{?dist}

+ Version:        1.3.16

+ Release:        1%{?dist}

  Summary:        %{sum}

  

  License:        ASL 2.0

  URL:            https://pypi.python.org/pypi/%{srcname}

- Source0:        https://github.com/F5Networks/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz

+ Source0:        https://github.com/F5Networks/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz

+ # Use unittest.mock if available

+ Patch0:         python-f5-icontrol-rest-mock.patch

  

  BuildArch:      noarch

  
@@ -36,13 +38,11 @@ 

  BuildRequires:  python2-pytest

  # Not packaged yet...

  #BuildRequires:  python2-pytest-symbols

- %{!?el7:BuildRequires:  python2-coveralls}

  %{!?el7:BuildRequires:  python2-flake8}

  %{?el7:BuildRequires:  python-flake8}

  BuildRequires:  python2-mccabe

  BuildRequires:  python2-pyflakes

  BuildRequires:  python2-requests-mock

- BuildRequires:  python2-pytest-cov

  %endif

  

  %if 0%{?with_python3}
@@ -54,13 +54,10 @@ 

  BuildRequires:  python%{python3_pkgversion}-sphinx

  BuildRequires:  python%{python3_pkgversion}-sphinx_rtd_theme

  # tests

- %{!?el7:BuildRequires:  python%{python3_pkgversion}-coveralls}

  %{!?el7:BuildRequires:  python%{python3_pkgversion}-flake8}

  BuildRequires:  python%{python3_pkgversion}-mccabe

- BuildRequires:  python%{python3_pkgversion}-mock

  BuildRequires:  python%{python3_pkgversion}-pyflakes

  BuildRequires:  python%{python3_pkgversion}-pytest

- BuildRequires:  python%{python3_pkgversion}-pytest-cov

  # Not packaged yet...

  #BuildRequires:  python%{python3_pkgversion}-pytest-symbols

  %{!?el7:BuildRequires:  python%{python3_pkgversion}-requests-mock}
@@ -95,7 +92,7 @@ 

  

  

  %prep

- %autosetup -n %{srcname}-python-%{version}

+ %autosetup -p1 -n %{srcname}-python-%{version}

  # Remove functional tests, they need a real BIG-IP

  rm -rf icontrol/test/functional

  
@@ -106,7 +103,7 @@ 

  %endif

  %if 0%{?with_python3}

  %py3_build

- %{!?el7:%{__python3} setup.py build_sphinx}

+ %{!?el7:sphinx-build docs build/sphinx/html}

  %{!?el7:rm build/sphinx/html/.buildinfo}

  %endif

  
@@ -147,6 +144,9 @@ 

  

  

  %changelog

+ * Sun Feb 18 2024 Orion Poplawski <orion@nwra.com> - 1.3.16-1

+ - Update to 1.3.16

+ 

  * Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.15-13

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

  

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

- SHA512 (f5-icontrol-rest-1.3.15.tar.gz) = 609ee8986284600dc1e8290a251ac4fa3bfe714d7a47b07fa1f079b0c9cbd6f8d6723845ad64f0a8ab17b615026ae23167a4e3c8ffe7a7edc78c29b870aeb09b

+ SHA512 (f5-icontrol-rest-1.3.16.tar.gz) = 0f7a56d1cb7bddca441c0cd2c2a805dc197fb056e1f774e2463bdc999c6c60b09dd71209685bf77e71714db55a6d67547e608438b740045d42db954bee8d5ba1

no initial comment

Pull-Request has been merged by xavierb

3 months ago

@orion Thanks for the patch :-)
Would you like to take over this package ? I don't have a use for it anymore, so I'd be glad to give it to someone who will give it more love than me.

No, this was just a drive by fix as I was working on a dependency. I have no need for this package. I would as for help on the devel list or on the discourse server.