Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyroute2.nslink for openSUSE:Factory checked in at 2022-07-07 12:56:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyroute2.nslink (Old) and /work/SRC/openSUSE:Factory/.python-pyroute2.nslink.new.1523 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyroute2.nslink" Thu Jul 7 12:56:56 2022 rev:2 rq:986995 version:0.6.13 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyroute2.nslink/python-pyroute2.nslink.changes 2022-05-19 22:50:16.310408085 +0200 +++ /work/SRC/openSUSE:Factory/.python-pyroute2.nslink.new.1523/python-pyroute2.nslink.changes 2022-07-07 12:57:19.667320015 +0200 @@ -1,0 +2,28 @@ +Wed Jul 6 09:07:21 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 0.6.13: + * requests: IPv6 routes default priority + * requests: fix wrong family on empty IP targets + * ndb: fix NetlinkError escalation routine on apply + * ndb: allow dict as keys in `__contains__` + * ndb: fixed `count()` on nested views + * ndb: fix IPv6 addr removal: + * ifinfmsg: fixed IFLA_IPTUN_FLAGS: + * tc: fix tcm_info setting: + * ipdb: fix requests compatibility: + * ipdb: added deprecation warning + * ndb: fix DB reload on incomplete requests in the IPRoute API fallbacks: + * ndb: basic ipvlan support + * ndb: support `ndb.schema.backup("filename")` fro SQLite3 backend + * netlink: filter out all the subsequent messages starting from the first error: + * protocols: fix arp module export + * iproute: deprecate positional arguments to `IPRoute.rule()` + * iproute, ndb: use `pyroute2.requests` to filter and transform API call arguments + * conntrack: fix exports: + * nftables: multiple fixes: + * tc: fix em_ipset crash: + * tests: integrated pre-commit, github actions and more + * tests: support basic OpenBSD tests + * pyroute2-cli: parser fixes + +------------------------------------------------------------------- Old: ---- pyroute2.nslink-0.6.9.tar.gz New: ---- pyroute2.nslink-0.6.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyroute2.nslink.spec ++++++ --- /var/tmp/diff_new_pack.jzvgDo/_old 2022-07-07 12:57:20.043320574 +0200 +++ /var/tmp/diff_new_pack.jzvgDo/_new 2022-07-07 12:57:20.047320580 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyroute2.nslink -Version: 0.6.9 +Version: 0.6.13 Release: 0 Summary: Python Netlink library: the nslink License: Apache-2.0 OR GPL-2.0-or-later ++++++ pyroute2.nslink-0.6.9.tar.gz -> pyroute2.nslink-0.6.13.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/CHANGELOG.md new/pyroute2.nslink-0.6.13/CHANGELOG.md --- old/pyroute2.nslink-0.6.9/CHANGELOG.md 2022-03-21 10:22:22.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/CHANGELOG.md 2022-06-23 23:11:52.000000000 +0200 @@ -1,6 +1,35 @@ Changelog ========= +* 0.6.13 + * requests: IPv6 routes default priority <https://github.com/svinota/pyroute2/issues/934> + * requests: fix wrong family on empty IP targets <https://github.com/svinota/pyroute2/issues/937> + * ndb: fix NetlinkError escalation routine on apply <https://github.com/svinota/pyroute2/issues/934> +* 0.6.12 + * ndb: allow dict as keys in `__contains__` + * ndb: fixed `count()` on nested views + * ndb: fix IPv6 addr removal: <https://github.com/svinota/pyroute2/issues/926> + * ifinfmsg: fixed IFLA_IPTUN_FLAGS: <https://github.com/svinota/pyroute2/pull/924> + * tc: fix tcm_info setting: <https://github.com/svinota/pyroute2/issues/928> +* 0.6.11 + * ipdb: fix requests compatibility: <https://github.com/svinota/pyroute2/issues/920> + * ipdb: added deprecation warning +* 0.6.10 + * ndb: fix DB reload on incomplete requests in the IPRoute API fallbacks: <https://github.com/svinota/pyroute2/issues/890> + * ndb: basic ipvlan support + * ndb: support `ndb.schema.backup("filename")` fro SQLite3 backend + * ndb: transactions, CheckProcess, PingAddress, see `test_ndb/test_transaction.py` and docs + * ndb: make snapshots only for `commit()` calls, no automatic snapshots for `apply()` + * netlink: filter out all the subsequent messages starting from the first error: <https://github.com/svinota/pyroute2/issues/892> + * protocols: fix arp module export + * iproute: deprecate positional arguments to `IPRoute.rule()` + * iproute, ndb: use `pyroute2.requests` to filter and transform API call arguments + * conntrack: fix exports: <https://github.com/svinota/pyroute2/pull/900> + * nftables: multiple fixes: <https://github.com/svinota/pyroute2/pull/902> + * tc: fix em_ipset crash: <https://github.com/svinota/pyroute2/pull/905> + * tests: integrated pre-commit, github actions and more + * tests: support basic OpenBSD tests + * pyroute2-cli: parser fixes * 0.6.9 * wireguard peer fix for both IPv4 and IPv6: <https://github.com/svinota/pyroute2/issues/888> * netns: avoid extra libc reloads: <https://github.com/svinota/pyroute2/pull/887> @@ -128,7 +157,7 @@ * <https://github.com/svinota/pyroute2/pull/593> * ndb: wait() method * ndb: add extra logging, log state transitions - * ndb: nested views, e.g. `ndb.interfaces['br0'].ports + * ndb: nested views, e.g. `ndb.interfaces['br0'].ports` * cli: port pyroute2-cli to use NDB instead of IPDB * iproute: basic Windows support (proof of concept only) * remote: support mitogen proxy chains, support remote netns diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/PKG-INFO new/pyroute2.nslink-0.6.13/PKG-INFO --- old/pyroute2.nslink-0.6.9/PKG-INFO 2022-03-21 10:22:25.499393200 +0100 +++ new/pyroute2.nslink-0.6.13/PKG-INFO 2022-06-23 23:11:53.891256000 +0200 @@ -1,9 +1,9 @@ Metadata-Version: 2.1 Name: pyroute2.nslink -Version: 0.6.9 +Version: 0.6.13 Summary: Python Netlink library: NetNS, NSPopen and remote modules Home-page: https://github.com/svinota/pyroute2 -Author: Peter V. Saveliev +Author: Peter Saveliev Author-email: pe...@svinota.eu License: dual license GPLv2+ and Apache v2 Platform: UNKNOWN @@ -22,6 +22,8 @@ Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Development Status :: 4 - Beta Description-Content-Type: text/x-rst License-File: LICENSE.Apache.v2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/VERSION new/pyroute2.nslink-0.6.13/VERSION --- old/pyroute2.nslink-0.6.9/VERSION 2022-03-21 10:22:21.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/VERSION 2022-06-23 23:11:52.000000000 +0200 @@ -1 +1 @@ -0.6.9 +0.6.13 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/pr2modules/nslink/nslink.py new/pyroute2.nslink-0.6.13/pr2modules/nslink/nslink.py --- old/pyroute2.nslink-0.6.9/pr2modules/nslink/nslink.py 2022-02-16 12:53:30.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/pr2modules/nslink/nslink.py 2022-06-21 22:53:02.000000000 +0200 @@ -64,19 +64,17 @@ ''' -import os -import errno -import signal import atexit +import errno import logging +import os from functools import partial -from pr2modules.netlink.rtnl.iprsocket import MarshalRtnl + from pr2modules.iproute import RTNL_API -from pr2modules.netns import setns -from pr2modules.netns import remove -from ..remote.transport import Server -from ..remote.transport import Transport -from ..remote.transport import RemoteSocket +from pr2modules.netlink.rtnl.iprsocket import MarshalRtnl +from pr2modules.netns import remove, setns + +from ..remote.transport import RemoteSocket, Server, Transport log = logging.getLogger(__name__) @@ -191,12 +189,6 @@ pass log.error('forced shutdown procedure, clean up netns manually') - try: - os.kill(self.child, signal.SIGTERM) - os.waitpid(self.child, 0) - except OSError: - pass - def open_file(self, path): '''Proxy the open_file method if we are the parent.''' if self.child != 0: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/pr2modules/nslink/nspopen.py new/pyroute2.nslink-0.6.13/pr2modules/nslink/nspopen.py --- old/pyroute2.nslink-0.6.9/pr2modules/nslink/nspopen.py 2022-02-16 12:53:30.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/pr2modules/nslink/nspopen.py 2022-06-21 22:53:02.000000000 +0200 @@ -8,16 +8,16 @@ ''' -import sys -import fcntl -import types import atexit -import threading +import fcntl import subprocess +import sys +import threading +import types + from pr2modules import config +from pr2modules.common import file, metaclass from pr2modules.netns import setns -from pr2modules.common import file -from pr2modules.common import metaclass def _handle(result): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/pr2modules/remote/__main__.py new/pyroute2.nslink-0.6.13/pr2modules/remote/__main__.py --- old/pyroute2.nslink-0.6.9/pr2modules/remote/__main__.py 2022-02-11 19:38:53.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/pr2modules/remote/__main__.py 2022-06-21 22:53:02.000000000 +0200 @@ -1,6 +1,5 @@ import sys -from pr2modules.remote import Server -from pr2modules.remote import Transport +from pr2modules.remote import Server, Transport Server(Transport(sys.stdin), Transport(sys.stdout)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/pr2modules/remote/iproute.py new/pyroute2.nslink-0.6.13/pr2modules/remote/iproute.py --- old/pyroute2.nslink-0.6.9/pr2modules/remote/iproute.py 2022-02-16 12:53:30.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/pr2modules/remote/iproute.py 2022-06-21 22:53:02.000000000 +0200 @@ -1,12 +1,14 @@ -import os import errno +import os +import threading + import mitogen.core import mitogen.master -import threading -from .transport import Transport, Server, RemoteSocket from pr2modules.iproute.linux import RTNL_API from pr2modules.netlink.rtnl.iprsocket import MarshalRtnl +from .transport import RemoteSocket, Server, Transport + class Channel(object): def __init__(self, ch): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/pr2modules/remote/shell.py new/pyroute2.nslink-0.6.13/pr2modules/remote/shell.py --- old/pyroute2.nslink-0.6.9/pr2modules/remote/shell.py 2022-02-16 12:53:30.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/pr2modules/remote/shell.py 2022-06-21 22:53:02.000000000 +0200 @@ -1,12 +1,12 @@ -import errno -import struct import atexit +import errno import logging +import struct import subprocess + from pr2modules.iproute import RTNL_API -from pr2modules.remote.transport import Transport -from pr2modules.remote.transport import RemoteSocket from pr2modules.netlink.rtnl.iprsocket import MarshalRtnl +from pr2modules.remote.transport import RemoteSocket, Transport log = logging.getLogger(__name__) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/pr2modules/remote/transport.py new/pyroute2.nslink-0.6.13/pr2modules/remote/transport.py --- old/pyroute2.nslink-0.6.9/pr2modules/remote/transport.py 2022-02-16 12:53:30.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/pr2modules/remote/transport.py 2022-06-21 22:53:02.000000000 +0200 @@ -1,19 +1,19 @@ -import os -import errno import atexit +import errno +import logging +import os import pickle import select -import struct -import logging import signal +import struct import threading import traceback from io import BytesIO -from socket import SOL_SOCKET -from socket import SO_RCVBUF +from socket import SO_RCVBUF, SOL_SOCKET + from pr2modules import config from pr2modules import netns as netnsmod -from pr2modules.netlink.nlsocket import NetlinkMixin +from pr2modules.netlink.nlsocket import NetlinkSocketBase if config.uname[0][-3:] == 'BSD': from pr2modules.iproute.bsd import IPRoute @@ -118,7 +118,7 @@ Server.run = False Server.run = True - signal.signal(signal.SIGTERM, stop_server) + signal.signal(config.signal_stop_remote, stop_server) try: if netns is not None: @@ -213,7 +213,7 @@ ) -class RemoteSocket(NetlinkMixin): +class RemoteSocket(NetlinkSocketBase): trnsp_in = None trnsp_out = None @@ -313,6 +313,11 @@ trnsp.file_obj.close() except Exception: pass + try: + os.kill(self.child, config.signal_stop_remote) + os.waitpid(self.child, 0) + except OSError: + pass def proxy(self, cmd, *argv, **kwarg): with self.cmdlock: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/pyroute2.nslink.egg-info/PKG-INFO new/pyroute2.nslink-0.6.13/pyroute2.nslink.egg-info/PKG-INFO --- old/pyroute2.nslink-0.6.9/pyroute2.nslink.egg-info/PKG-INFO 2022-03-21 10:22:25.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/pyroute2.nslink.egg-info/PKG-INFO 2022-06-23 23:11:53.000000000 +0200 @@ -1,9 +1,9 @@ Metadata-Version: 2.1 Name: pyroute2.nslink -Version: 0.6.9 +Version: 0.6.13 Summary: Python Netlink library: NetNS, NSPopen and remote modules Home-page: https://github.com/svinota/pyroute2 -Author: Peter V. Saveliev +Author: Peter Saveliev Author-email: pe...@svinota.eu License: dual license GPLv2+ and Apache v2 Platform: UNKNOWN @@ -22,6 +22,8 @@ Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Development Status :: 4 - Beta Description-Content-Type: text/x-rst License-File: LICENSE.Apache.v2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/pyroute2.nslink.egg-info/entry_points.txt new/pyroute2.nslink-0.6.13/pyroute2.nslink.egg-info/entry_points.txt --- old/pyroute2.nslink-0.6.9/pyroute2.nslink.egg-info/entry_points.txt 2022-03-21 10:22:25.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/pyroute2.nslink.egg-info/entry_points.txt 2022-06-23 23:11:53.000000000 +0200 @@ -1,6 +1,3 @@ -[console_scripts] - - [pr2modules] NSPopen = pr2modules.nslink.nspopen:NSPopen NetNS = pr2modules.nslink.nslink:NetNS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/setup.cfg new/pyroute2.nslink-0.6.13/setup.cfg --- old/pyroute2.nslink-0.6.9/setup.cfg 2022-03-21 10:22:25.499393200 +0100 +++ new/pyroute2.nslink-0.6.13/setup.cfg 2022-06-23 23:11:53.891256000 +0200 @@ -1,7 +1,7 @@ [metadata] name = pyroute2.nslink version = file: VERSION -author = Peter V. Saveliev +author = Peter Saveliev author_email = pe...@svinota.eu description = Python Netlink library: NetNS, NSPopen and remote modules long_description = file: README.rst @@ -24,6 +24,8 @@ Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Development Status :: 4 - Beta [options] @@ -40,7 +42,6 @@ NSPopen = pr2modules.nslink.nspopen:NSPopen RemoteSocket = pr2modules.remote.transport:RemoteSocket RemoteIPRoute = pr2modules.remote:RemoteIPRoute -console_scripts = [egg_info] tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyroute2.nslink-0.6.9/setup.py new/pyroute2.nslink-0.6.13/setup.py --- old/pyroute2.nslink-0.6.9/setup.py 2022-03-21 10:22:22.000000000 +0100 +++ new/pyroute2.nslink-0.6.13/setup.py 2022-06-21 22:53:02.000000000 +0200 @@ -1,5 +1,5 @@ #!/usr/bin/env python -from setuptools import setup, find_packages +from setuptools import setup if __name__ == '__main__': setup()