Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-netutils for openSUSE:Factory
checked in at 2026-09-08 16:54:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-netutils (Old)
and /work/SRC/openSUSE:Factory/.python-netutils.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-netutils"
Tue Sep 8 16:54:02 2026 rev:18 rq:1376067 version:1.19.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-netutils/python-netutils.changes
2026-07-23 23:13:29.190898517 +0200
+++
/work/SRC/openSUSE:Factory/.python-netutils.new.1265/python-netutils.changes
2026-09-08 16:55:03.247322791 +0200
@@ -1,0 +2,24 @@
+Mon Sep 7 05:53:22 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 1.19.1:
+ ## Added
+ * Added a library mapping for ncclient which is used for NETCONF
+ communication.
+ * Added a Library Mapper for LibreNMS obtained values in order to map with
+ existing network_drivers.
+ * Added bit, Kbit, Mbit to normalize bandwidth utility.
+ * Added Aruba AOS-CX support to the Netmiko and Hier Config library
+ mappers.
+ * Added sanitize_config_jinja to render each replacement as a Jinja2
+ template.
+ ## Fixed
+ * Fixed platform mappings to reconcile Netmiko driver support.
+ * Fixed the incorrect running configuration command for aruba_os.
+ * Fixed typo in Ansible mappings for dell_os10.
+ * Fixed config parser failing to parse more than three consecutive banners,
+ which caused "Unable to parse banner end." errors on configs with many
+ banners (e.g. Cisco IOS).
+- Add patch support-python-315.patch:
+ * Allow building with Python 3.15.
+
+-------------------------------------------------------------------
Old:
----
netutils-1.17.3.tar.gz
New:
----
netutils-1.19.1.tar.gz
support-python-315.patch
----------(New B)----------
New: banners (e.g. Cisco IOS).
- Add patch support-python-315.patch:
* Allow building with Python 3.15.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-netutils.spec ++++++
--- /var/tmp/diff_new_pack.xKfTBo/_old 2026-09-08 16:55:04.271365020 +0200
+++ /var/tmp/diff_new_pack.xKfTBo/_new 2026-09-08 16:55:04.273365103 +0200
@@ -16,15 +16,22 @@
#
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
%{?sle15_python_module_pythons}
Name: python-netutils
-Version: 1.17.3
+Version: 1.19.1
Release: 0
Summary: Common helper functions useful in network automation
License: Apache-2.0
URL: https://netutils.readthedocs.io
Source:
https://github.com/networktocode/netutils/archive/refs/tags/v%{version}.tar.gz#/netutils-%{version}.tar.gz
-BuildRequires: %{python_module base >= 3.9}
+# PATCH-FIX-OPENSUSE Allow building for Python 3.15
+Patch0: support-python-315.patch
+BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module jinja2}
BuildRequires: %{python_module legacycrypt if %python-base >= 3.13}
BuildRequires: %{python_module pip}
@@ -34,10 +41,17 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Recommends: python-napalm
-BuildArch: noarch
%if 0%{?python_version_nodots} >= 313
-Requires: python-legacycrypt
+Recommends: python-legacycrypt
%endif
+%if %{with libalternatives}
+BuildRequires: alts
+Requires: alts
+%else
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
+BuildArch: noarch
%python_subpackages
%description
@@ -52,6 +66,7 @@
%install
%pyproject_install
+%python_clone -a %{buildroot}%{_bindir}/netutils
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,9 +74,19 @@
# test_sphinx_build: needs Sphinx, which is a huge dependency just for the one
test
%pytest -k "not (test_is_fqdn_resolvable or test_fqdn_to_ip or test_tcp_ping
or test_sphinx_build)"
+%pre
+%python_libalternatives_reset_alternative netutils
+
+%post
+%python_install_alternative netutils
+
+%postun
+%python_uninstall_alternative netutils
+
%files %{python_files}
%license LICENSE
%doc README.md
+%python_alternative %{_bindir}/netutils
%{python_sitelib}/netutils
%{python_sitelib}/netutils-%{version}.dist-info
++++++ netutils-1.17.3.tar.gz -> netutils-1.19.1.tar.gz ++++++
++++ 27211 lines of diff (skipped)
++++++ support-python-315.patch ++++++
Index: netutils-1.19.1/pyproject.toml
===================================================================
--- netutils-1.19.1.orig/pyproject.toml
+++ netutils-1.19.1/pyproject.toml
@@ -31,7 +31,7 @@ packages = [
]
[tool.poetry.dependencies]
-python = ">=3.10,<3.15"
+python = ">=3.10,<3.16"
napalm = [
{version = "^4.1.0", optional = true, python = ">=3.10,<3.14"},
{version = "^5.0.0", optional = true, python = ">=3.14"}