Re: [ANNOUNCE] libnftnl 1.2.6 release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jan,

On Mon, Jul 17, 2023 at 10:09:09AM +0200, Jan Engelhardt wrote:
> 
> On Tuesday 2023-07-11 18:58, Pablo Neira Ayuso wrote:
> >The Netfilter project proudly presents:
> >        libnftnl 1.2.6
> 
> Something is off here.
> With 1.2.5 I had:
> 
> /usr/lib/python3.11/site-packages/nftables
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg-info
> /usr/lib/python3.11/site-packages/nftables/__init__.py
> /usr/lib/python3.11/site-packages/nftables/__pycache__
> /usr/lib/python3.11/site-packages/nftables/__pycache__/__init__.cpython-311.pyc
> /usr/lib/python3.11/site-packages/nftables/__pycache__/nftables.cpython-311.pyc
> /usr/lib/python3.11/site-packages/nftables/nftables.py
> /usr/lib/python3.11/site-packages/nftables/schema.json
> 
> With 1.2.6 I get:
> 
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/EGG-INFO
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/EGG-INFO/PKG-INFO
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/EGG-INFO/SOURCES.txt
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/EGG-INFO/dependency_links.txt
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/EGG-INFO/not-zip-safe
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/EGG-INFO/top_level.txt
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/nftables
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/nftables/__init__.py
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/nftables/__pycache__
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/nftables/__pycache__/__init__.cpython-311.pyc
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/nftables/__pycache__/nftables.cpython-311.pyc
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/nftables/nftables.py
> /usr/lib/python3.11/site-packages/nftables-0.1-py3.11.egg/nftables/schema.json
> 
> And then python3 -c 'import nftables' no longer wants to do anything with it:
> 
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
> ModuleNotFoundError: No module named 'nftables'
> 
> Looking at how other modules are laid out, I find e.g.
> 
> [...]
> /usr/lib/python3.11/site-packages/pycparser/plyparser.py
> /usr/lib/python3.11/site-packages/pycparser/yacctab.py
> /usr/lib/python3.11/site-packages/pycparser-2.21-py3.11.egg-info
> /usr/lib/python3.11/site-packages/pycparser-2.21-py3.11.egg-info/PKG-INFO
> /usr/lib/python3.11/site-packages/pycparser-2.21-py3.11.egg-info/SOURCES.txt
> [...]
> 
> So there is one directory level too much.

Could you revert:

1acc2fd48c75 ("py: replace distutils with setuptools")

I suspect the problem is in the update from distutil to setuptools.



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux