Skip to content

Remove deprecated namespace slapos/__init__.py

Xavier Thompson requested to merge feat/remove-deprecated-namespace-init-py into master

See https://peps.python.org/pep-0420/

Also, buildout regenerates this init.py file when needed.

Removing this file will fix the case when slapos.libnetworkcache is installed locally by pip in editable mode (so keeping init.py file). Indeed, in this case, any other doing "import slapos.XXX" will end up searching in slapos.libnetworkcache directory and will fail.

Co-authored-by: Thomas Gambier thomas.gambier@nexedi.com

Merge request reports