Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyeapi for openSUSE:Factory checked in at 2024-01-03 12:27:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyeapi (Old) and /work/SRC/openSUSE:Factory/.python-pyeapi.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyeapi" Wed Jan 3 12:27:58 2024 rev:6 rq:1136014 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyeapi/python-pyeapi.changes 2022-04-06 21:52:51.974625819 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyeapi.new.28375/python-pyeapi.changes 2024-01-03 12:27:59.798070608 +0100 @@ -1,0 +2,15 @@ +Mon Jan 1 20:15:51 UTC 2024 - Dirk Müller <dmuel...@suse.com> + +- update to 1.0.2: + * Fixed all system tests and provides some enhancements for + unit tests +- update to 1.0.1: + * This is an interim release for EOS integration purpose +- update to 1.0.0: + * This is a Python3 only release (Python2 is no longer + supported) + * The minimum supported python version is 3.7 + * Arista EOS 4.22 or later is required (for on-box use cases + only) + +------------------------------------------------------------------- Old: ---- pyeapi-0.8.4.tar.gz New: ---- pyeapi-1.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyeapi.spec ++++++ --- /var/tmp/diff_new_pack.sEEQFV/_old 2024-01-03 12:28:00.430093688 +0100 +++ /var/tmp/diff_new_pack.sEEQFV/_new 2024-01-03 12:28:00.430093688 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyeapi # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2017-2020, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -17,10 +17,9 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-pyeapi -Version: 0.8.4 +Version: 1.0.2 Release: 0 Summary: Python Client for eAPI License: BSD-3-Clause @@ -28,8 +27,9 @@ URL: https://github.com/arista-eosplus/pyeapi Source: https://files.pythonhosted.org/packages/source/p/pyeapi/pyeapi-%{version}.tar.gz BuildRequires: %{python_module netaddr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-netaddr @@ -52,17 +52,12 @@ %prep %setup -q -n pyeapi-%{version} -# Deprecated collections usage since Python 3.3 -sed -i 's/from collections import/from collections.abc import/' pyeapi/api/abstract.py -sed -i 's/collections.Iterable/collections.abc.Iterable/' test/unit/test_utils.py -# https://github.com/arista-eosplus/pyeapi/issues/224 -sed -i 's/from mock/from unittest.mock/' test/*/test*.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %fdupes %{buildroot} %check @@ -73,5 +68,5 @@ %doc CHANGELOG.md README.md %doc examples %{python_sitelib}/pyeapi -%{python_sitelib}/pyeapi-%{version}*-info +%{python_sitelib}/pyeapi-%{version}.dist-info ++++++ pyeapi-0.8.4.tar.gz -> pyeapi-1.0.2.tar.gz ++++++ ++++ 2866 lines of diff (skipped)