There is a new release with python3_x support on the github page. https://github.com/ldx/python-iptables/releases
and on pypi https://pypi.python.org/pypi/python-iptables/
a non-fatal test for CONFIG_NET_SCHED would be nice, too. x python-iptables # python Python 3.3.5 (default, Jul 29 2014, 22:01:20) [GCC 4.9.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from pyroute2 import IPRoute Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python3.3/site-packages/pyroute2/__init__.py", line 2, in <module> from pyroute2.iproute import IPRoute File "/usr/lib64/python3.3/site-packages/pyroute2/iproute.py", line 61, in <module> from pyroute2.netlink.client import Netlink File "/usr/lib64/python3.3/site-packages/pyroute2/netlink/client.py", line 4, in <module> from pyroute2.iocore.iocore import IOCore File "/usr/lib64/python3.3/site-packages/pyroute2/iocore/iocore.py", line 34, in <module> from pyroute2.iocore.broker import pairPipeSockets File "/usr/lib64/python3.3/site-packages/pyroute2/iocore/broker.py", line 23, in <module> from pyroute2.iocore.modules import modules File "/usr/lib64/python3.3/site-packages/pyroute2/iocore/modules/__init__.py", line 1, in <module> from . import connect File "/usr/lib64/python3.3/site-packages/pyroute2/iocore/modules/connect.py", line 12, in <module> from pyroute2.netlink.rtnl import RtnlSocket File "/usr/lib64/python3.3/site-packages/pyroute2/netlink/rtnl/__init__.py", line 53, in <module> from pyroute2.netlink.rtnl.tcmsg import tcmsg File "/usr/lib64/python3.3/site-packages/pyroute2/netlink/rtnl/tcmsg.py", line 28, in <module> _psched = open('/proc/net/psched', 'r') FileNotFoundError: [Errno 2] No such file or directory: '/proc/net/psched' >>> KeyboardInterrupt >>>
*python-iptables-0.5.0 (01 Nov 2014) 01 Nov 2014; Ian Delaney <idella4@gentoo.org> +python-iptables-0.5.0.ebuild, -python-iptables-0.3.0-r3.ebuild, -python-iptables-0.3.0_p20130331.ebuild: bump; add py3 support, keyword x86, IUSE doc and all that goes with a doc build, remove edundant patch, tidy, fixes Bug #526276, rm old I don't follow about CONFIG_NET_SCHED , probably something I don't know bout.
(In reply to Ian Delaney from comment #3) > I don't follow about CONFIG_NET_SCHED , probably something I don't know bout. He means a kernel check; see linux-info.eclass. xmw: Can you file a separate bug for that please?