Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyroute2.nftables for
openSUSE:Factory checked in at 2022-07-07 12:57:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyroute2.nftables (Old)
and /work/SRC/openSUSE:Factory/.python-pyroute2.nftables.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyroute2.nftables"
Thu Jul 7 12:57:02 2022 rev:2 rq:987194 version:0.6.13
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pyroute2.nftables/python-pyroute2.nftables.changes
2022-05-19 22:50:15.086406517 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyroute2.nftables.new.1523/python-pyroute2.nftables.changes
2022-07-07 12:57:22.495324225 +0200
@@ -1,0 +2,30 @@
+Wed Jul 6 12:37:10 UTC 2022 - Dirk M??ller <[email protected]>
+
+- 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
+ * 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:
+ * 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.nftables-0.6.9.tar.gz
New:
----
pyroute2.nftables-0.6.13.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyroute2.nftables.spec ++++++
--- /var/tmp/diff_new_pack.tx1q29/_old 2022-07-07 12:57:22.843324742 +0200
+++ /var/tmp/diff_new_pack.tx1q29/_new 2022-07-07 12:57:22.847324749 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pyroute2.nftables
-Version: 0.6.9
+Version: 0.6.13
Release: 0
Summary: Python Netlink library: nftables API
License: Apache-2.0 OR GPL-2.0-or-later
++++++ pyroute2.nftables-0.6.9.tar.gz -> pyroute2.nftables-0.6.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyroute2.nftables-0.6.9/CHANGELOG.md
new/pyroute2.nftables-0.6.13/CHANGELOG.md
--- old/pyroute2.nftables-0.6.9/CHANGELOG.md 2022-03-21 10:22:22.000000000
+0100
+++ new/pyroute2.nftables-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.nftables-0.6.9/PKG-INFO
new/pyroute2.nftables-0.6.13/PKG-INFO
--- old/pyroute2.nftables-0.6.9/PKG-INFO 2022-03-21 10:22:25.200390000
+0100
+++ new/pyroute2.nftables-0.6.13/PKG-INFO 2022-06-23 23:11:53.729254500
+0200
@@ -1,9 +1,9 @@
Metadata-Version: 2.1
Name: pyroute2.nftables
-Version: 0.6.9
+Version: 0.6.13
Summary: Python Netlink library: nftables
Home-page: https://github.com/svinota/pyroute2
-Author: Peter V. Saveliev
+Author: Peter Saveliev
Author-email: [email protected]
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.nftables-0.6.9/VERSION
new/pyroute2.nftables-0.6.13/VERSION
--- old/pyroute2.nftables-0.6.9/VERSION 2022-03-21 10:22:21.000000000 +0100
+++ new/pyroute2.nftables-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.nftables-0.6.9/pr2modules/nftables/expressions.py
new/pyroute2.nftables-0.6.13/pr2modules/nftables/expressions.py
--- old/pyroute2.nftables-0.6.9/pr2modules/nftables/expressions.py
2022-02-16 12:53:30.000000000 +0100
+++ new/pyroute2.nftables-0.6.13/pr2modules/nftables/expressions.py
2022-06-21 22:53:02.000000000 +0200
@@ -1,5 +1,5 @@
-import struct
import socket
+import struct
from collections import OrderedDict
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyroute2.nftables-0.6.9/pr2modules/nftables/main.py
new/pyroute2.nftables-0.6.13/pr2modules/nftables/main.py
--- old/pyroute2.nftables-0.6.9/pr2modules/nftables/main.py 2022-02-16
12:53:30.000000000 +0100
+++ new/pyroute2.nftables-0.6.13/pr2modules/nftables/main.py 2022-06-21
22:53:02.000000000 +0200
@@ -2,20 +2,20 @@
'''
from pr2modules.netlink.nfnetlink import nfgen_msg
from pr2modules.netlink.nfnetlink.nftsocket import (
- NFTSocket,
- nft_table_msg,
- nft_chain_msg,
- nft_rule_msg,
- NFT_MSG_NEWTABLE,
- NFT_MSG_GETTABLE,
+ NFT_MSG_DELCHAIN,
+ NFT_MSG_DELRULE,
NFT_MSG_DELTABLE,
- NFT_MSG_NEWCHAIN,
NFT_MSG_GETCHAIN,
- NFT_MSG_DELCHAIN,
- NFT_MSG_NEWRULE,
NFT_MSG_GETRULE,
- NFT_MSG_DELRULE,
NFT_MSG_GETSET,
+ NFT_MSG_GETTABLE,
+ NFT_MSG_NEWCHAIN,
+ NFT_MSG_NEWRULE,
+ NFT_MSG_NEWTABLE,
+ NFTSocket,
+ nft_chain_msg,
+ nft_rule_msg,
+ nft_table_msg,
)
@@ -49,10 +49,12 @@
nft.table('add', name='test0')
'''
- commands = {'add': NFT_MSG_NEWTABLE, 'del': NFT_MSG_DELTABLE}
- # fix default kwargs
- if 'flags' not in kwarg:
- kwarg['flags'] = 0
+ commands = {
+ 'add': NFT_MSG_NEWTABLE,
+ 'create': NFT_MSG_NEWTABLE,
+ 'del': NFT_MSG_DELTABLE,
+ 'get': NFT_MSG_GETTABLE,
+ }
return self._command(nft_table_msg, commands, cmd, kwarg)
def chain(self, cmd, **kwarg):
@@ -69,7 +71,12 @@
type='filter',
policy=0)
'''
- commands = {'add': NFT_MSG_NEWCHAIN, 'del': NFT_MSG_DELCHAIN}
+ commands = {
+ 'add': NFT_MSG_NEWCHAIN,
+ 'create': NFT_MSG_NEWCHAIN,
+ 'del': NFT_MSG_DELCHAIN,
+ 'get': NFT_MSG_GETCHAIN,
+ }
# TODO: What about 'ingress' (netdev family)?
hooks = {
'prerouting': 0,
@@ -103,13 +110,18 @@
expressions=(ipv4addr(src='192.168.0.0/24'),
verdict(code=1)))
'''
- # TODO: more operations
- commands = {'add': NFT_MSG_NEWRULE, 'del': NFT_MSG_DELRULE}
+ commands = {
+ 'add': NFT_MSG_NEWRULE,
+ 'create': NFT_MSG_NEWRULE,
+ 'insert': NFT_MSG_NEWRULE,
+ 'replace': NFT_MSG_NEWRULE,
+ 'del': NFT_MSG_DELRULE,
+ 'get': NFT_MSG_GETRULE,
+ }
if 'expressions' in kwarg:
expressions = []
for exp in kwarg['expressions']:
expressions.extend(exp)
kwarg['expressions'] = expressions
- # FIXME: flags!!!
- return self._command(nft_rule_msg, commands, cmd, kwarg, flags=3585)
+ return self._command(nft_rule_msg, commands, cmd, kwarg)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyroute2.nftables-0.6.9/pr2modules/nftables/parser/expr.py
new/pyroute2.nftables-0.6.13/pr2modules/nftables/parser/expr.py
--- old/pyroute2.nftables-0.6.9/pr2modules/nftables/parser/expr.py
2022-02-16 12:53:30.000000000 +0100
+++ new/pyroute2.nftables-0.6.13/pr2modules/nftables/parser/expr.py
2022-06-21 22:53:02.000000000 +0200
@@ -5,7 +5,8 @@
"""
from socket import AF_INET, AF_INET6
-from pyroute2.nftables.parser.parser import nfta_nla_parser, conv_map_tuple
+
+from pyroute2.nftables.parser.parser import conv_map_tuple, nfta_nla_parser
class NFTReg(object):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyroute2.nftables-0.6.9/pr2modules/nftables/rule.py
new/pyroute2.nftables-0.6.13/pr2modules/nftables/rule.py
--- old/pyroute2.nftables-0.6.9/pr2modules/nftables/rule.py 2022-02-16
12:53:30.000000000 +0100
+++ new/pyroute2.nftables-0.6.13/pr2modules/nftables/rule.py 2022-06-21
22:53:02.000000000 +0200
@@ -1,9 +1,8 @@
-from pyroute2.nftables.parser.parser import nfta_nla_parser, conv_map_tuple
from pyroute2.nftables.parser.expr import (
- get_expression_from_netlink,
get_expression_from_dict,
+ get_expression_from_netlink,
)
-
+from pyroute2.nftables.parser.parser import conv_map_tuple, nfta_nla_parser
NAME_2_NFPROTO = {
"unspec": 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pyroute2.nftables-0.6.9/pyroute2.nftables.egg-info/PKG-INFO
new/pyroute2.nftables-0.6.13/pyroute2.nftables.egg-info/PKG-INFO
--- old/pyroute2.nftables-0.6.9/pyroute2.nftables.egg-info/PKG-INFO
2022-03-21 10:22:25.000000000 +0100
+++ new/pyroute2.nftables-0.6.13/pyroute2.nftables.egg-info/PKG-INFO
2022-06-23 23:11:53.000000000 +0200
@@ -1,9 +1,9 @@
Metadata-Version: 2.1
Name: pyroute2.nftables
-Version: 0.6.9
+Version: 0.6.13
Summary: Python Netlink library: nftables
Home-page: https://github.com/svinota/pyroute2
-Author: Peter V. Saveliev
+Author: Peter Saveliev
Author-email: [email protected]
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.nftables-0.6.9/pyroute2.nftables.egg-info/entry_points.txt
new/pyroute2.nftables-0.6.13/pyroute2.nftables.egg-info/entry_points.txt
--- old/pyroute2.nftables-0.6.9/pyroute2.nftables.egg-info/entry_points.txt
2022-03-21 10:22:25.000000000 +0100
+++ new/pyroute2.nftables-0.6.13/pyroute2.nftables.egg-info/entry_points.txt
2022-06-23 23:11:53.000000000 +0200
@@ -1,6 +1,3 @@
-[console_scripts]
-
-
[pr2modules]
NFTables = pr2modules.nftables.main:NFTables
nftables = pr2modules.nftables
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyroute2.nftables-0.6.9/setup.cfg
new/pyroute2.nftables-0.6.13/setup.cfg
--- old/pyroute2.nftables-0.6.9/setup.cfg 2022-03-21 10:22:25.201390300
+0100
+++ new/pyroute2.nftables-0.6.13/setup.cfg 2022-06-23 23:11:53.729254500
+0200
@@ -1,7 +1,7 @@
[metadata]
name = pyroute2.nftables
version = file: VERSION
-author = Peter V. Saveliev
+author = Peter Saveliev
author_email = [email protected]
description = Python Netlink library: nftables
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]
@@ -36,7 +38,6 @@
pr2modules =
NFTables = pr2modules.nftables.main:NFTables
nftables = pr2modules.nftables
-console_scripts =
[egg_info]
tag_build =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pyroute2.nftables-0.6.9/setup.py
new/pyroute2.nftables-0.6.13/setup.py
--- old/pyroute2.nftables-0.6.9/setup.py 2022-03-21 10:22:22.000000000
+0100
+++ new/pyroute2.nftables-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()