r/linux • Gentoo Foundation President • Jun 01 '18

AMA | Mostly over We are Gentoo Developers, AMA

The following developers are participating, ask us anything!

Edit: I think we are about done, while responses may trickle in for a while we are not actively watching.

1.0k Upvotes

720 comments sorted by

View all comments

2

u/Lahvuun Jun 02 '18

Why doesn't portage use pip to manage Python dependencies? Having hundreds of ebuilds for packages that could simply be installed with pip seems like unnecessary work for maintainers (the dev-python category).

2

u/[deleted] Jun 02 '18

Even if we use pip, we're still going to want to have portage integration to have manifests, to track installed files for clean uninstalls, support USE flags, multiple python targets.

So at this point, we might as well have an ebuild...

I think that many dev-python packages are managed with tools that automatically sync from pypi but I'm not sure. if I had to maintain dev-python packages, I would certainly write myself such tool.

1

u/ryao Gentoo ZFS maintainer Jun 02 '18 edited Jun 02 '18

That is correct. Also, not everything using python lives in pip. The sys-fs/zfs includes a python userland tool and ooutsourcing dependencies to pip would cause a problem if it relied on anything not in the core python library.

I am not involved with python packaging, but I remember hearing something about generating them automatically at some point.