Re: [poposal for preparing a pep] sharing package installations between virtualenvs

Ronny Pfannschmidt <[email protected]>
Newsgroups gmane.comp.python.distutils.devel
Message-ID <[email protected]>
Hi Joni,

thanks for the references.

buildout has been on my inspirations for this proposal.

The historic shift of buildout vs virtualenv+pip as well as build-outs
unfortunate dependency on eggs are some of the pain points that did
happen quite a while back.

If build-out was able to run on wheels and in designated controllable
folders i wouldn't even have to start with my proposal.

Unfortunately buildout as is is not very well aligned with the needs i
perceive on my coworkers/peers/collaborators as well as myself.

-- Ronny

Am 08.10.18 um 11:03 schrieb Joni Orponen:
> On Mon, Oct 8, 2018 at 10:15 AM Thomas Kluyver <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Have you tried using conda envs? Conda avoids duplication by
>     unpacking all packages to a shared directory and then hard-linking
>     them into environments.
>
>     I'm not saying that should preclude doing something similar for
>     virtualenvs, but it's probably worth looking at existing solutions
>     before embarking on a change of this magnitude.
>
>
> Buildout has also done this for quite a long time.
>
> http://www.buildout.org/en/latest/topics/optimizing.html
>
> On Mon, Oct 8, 2018 at 10:22 AM Freddy Rietdijk
> <[email protected] <mailto:[email protected]>> wrote:
>
>     What Conda and Nix do is basically having a store with packages,
>     and then indeed linking them to form environments. While this
>     works, it is important that one is very careful tracing how the
>     packages are built, because not doing so can easily cause trouble
>     in case of modules with extension types.
>
>
> Buildout shares this problem. PIL is a classic example of an egg,
> which can have vastly different runtime based on the compile time.
>
> -- 
> Joni Orponen
>
> --
> Distutils-SIG mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
> Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/DTM2EGNZ5MQHZN36T4U5HQ2AE4MJRVAO/

--
Distutils-SIG mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at https://mail.python.org/mm3/archives/list/[email protected]/message/IZTVI6EX7A2ZOITWMA67GSM7HPU2ZAFU/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.