Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-netmiko for openSUSE:Factory 
checked in at 2026-01-19 18:37:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-netmiko (Old)
 and      /work/SRC/openSUSE:Factory/.python-netmiko.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-netmiko"

Mon Jan 19 18:37:48 2026 rev:25 rq:1328002 version:4.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-netmiko/python-netmiko.changes    
2025-07-01 11:35:15.076037492 +0200
+++ /work/SRC/openSUSE:Factory/.python-netmiko.new.1928/python-netmiko.changes  
2026-01-19 18:41:45.871143273 +0100
@@ -1,0 +2,9 @@
+Sun Jan 18 14:38:47 UTC 2026 - Ben Greiner <[email protected]>
+
+- Fix dependencies
+  * Update the list (See also gh#ktbyers/netmiko#3515)
+  * Nobody needs full poetry to build a rpm package
+- Remove shebangs and excutable bits from python module dir
+- Remove python-bytecode-inconsistent-mtime "fix".
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-netmiko.spec ++++++
--- /var/tmp/diff_new_pack.sF0CG2/_old  2026-01-19 18:41:48.039232981 +0100
+++ /var/tmp/diff_new_pack.sF0CG2/_new  2026-01-19 18:41:48.067234139 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-netmiko
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,28 +26,28 @@
 Source:         
https://files.pythonhosted.org/packages/source/n/netmiko/netmiko-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.9}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module poetry}
-BuildRequires:  %{python_module setuptools >= 65.0.0}
-BuildRequires:  %{python_module wheel}
+BuildRequires:  %{python_module poetry-core}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-PyYAML >= 6.0.2
-Requires:       python-cffi >= 1.17.0
 Requires:       python-ntc-templates >= 3.1.0
 Requires:       python-paramiko >= 2.9.5
 Requires:       python-pyserial >= 3.3
+Requires:       python-rich >= 13.8
+Requires:       python-ruamel.yaml >= 0.17
 Requires:       python-scp >= 0.13.6
-Requires:       python-setuptools
-Requires:       python-tenacity
 Requires:       python-textfsm >= 1.1.3
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 BuildArch:      noarch
-# SECTION test requirements
-BuildRequires:  %{python_module PyYAML >= 5.3}
-BuildRequires:  %{python_module paramiko >= 2.6.0}
+# SECTION at least check for the runtime requirements
+BuildRequires:  %{python_module PyYAML >= 6.0.2}
+BuildRequires:  %{python_module ntc-templates >= 3.1.0}
+BuildRequires:  %{python_module paramiko >= 2.9.5}
 BuildRequires:  %{python_module pyserial >= 3.3}
-BuildRequires:  %{python_module scp >= 0.13.2}
+BuildRequires:  %{python_module rich >= 13.8}
+BuildRequires:  %{python_module ruamel.yaml >= 0.17}
+BuildRequires:  %{python_module scp >= 0.13.6}
 BuildRequires:  %{python_module textfsm >= 1.1.3}
 # /SECTION
 %python_subpackages
@@ -59,8 +59,14 @@
 %setup -q -n netmiko-%{version}
 # drop shebang
 sed -i -e '/^#!\//, 1d' \
+  netmiko/nokia/nokia_srl.py \
   netmiko/nokia/nokia_sros.py \
-  netmiko/cdot/cdot_cros_ssh.py
+  netmiko/cdot/cdot_cros_ssh.py \
+  netmiko/cli_tools/netmiko_*.py
+chmod -x \
+  netmiko/nokia/__init__.py \
+  netmiko/ssh_dispatcher.py \
+  netmiko/cli_tools/netmiko_*.py
 
 %build
 %pyproject_wheel
@@ -73,11 +79,6 @@
 %python_clone -a %{buildroot}%{_bindir}/netmiko-grep
 %python_clone -a %{buildroot}%{_bindir}/netmiko-show
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
-# Fix python-bytecode-inconsistent-mtime
-pushd %{buildroot}%{python_sitelib}
-find . -name '*.pyc' -exec rm -f '{}' ';'
-python%python_bin_suffix -m compileall *.py ';'
-popd
 
 %check
 # NOTE: for testing, we have to manually run it against a given device.
@@ -86,6 +87,7 @@
 #
 # Unfortunately, we can't do that during build as those doesn't appeared
 # to be unit tests.
+# (there are unit tests in the github repo, but not in the sdist. See github 
workflow.)
 
 %post
 %python_install_alternative netmiko-bulk-encrypt

Reply via email to