Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.libnetworkcache
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • slapos.libnetworkcache
  • Merge requests
  • !13

remove deprecated __init__.py

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Thomas Gambier requested to merge remove_init into master Mar 03, 2026
  • Overview 1
  • Commits 1
  • Changes 1

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: remove_init
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7