Hi,

I'm one of the conda maintainers.  I don't think you'll see a common
package format because conda and pip serve very different use cases.  pip
is a package management tool for python, whereas conda is a package manager
for conda environments, which can contain python packages, python itself,
or really pretty much anything else (R, perl, lua, arbitrary binaries and
shared libraries).  You can use pip to manage python packages in conda
environments.  Historically, that has been fragile, because having two
package managers manage the same space in different ways can result in
undesirable clobbering and problems.  The latest release of conda, 4.6,
introduces some steps towards making conda more aware of pip's metadata,
and also helping conda directly act on packages that have been installed
using pip.  I don't know what the pip community's plans are for the inverse.

To make this a bit more complicated, Conda actually has a new package
format in development.  The basic outline is at
https://docs.google.com/document/d/1HGKsbg_j69rKXPihhpCb1kNQSE8Iy3yOsUU2x68x8uw
and some preliminary tools are at
https://github.com/conda/conda-package-handling

It all comes down to a few issues:

1. what metadata is necessary to install a package (and how is this
expressed?)
2. what does a package represent?  What can it contain, and how do tools
unpack its contents into the right place?  Most conda packages are just
dumb extraction operations.  Some require actual logic ("noarch python"
packages, for example).

I don't really think you'll ever see conda and pip using a single format,
but I do think you'll see them operating in the same space more peacefully
in the near future.

On Sat, Jan 26, 2019 at 5:03 PM Antonio Cavallo <
antonio.cavallo...@gmail.com> wrote:

> Hi,
> is there any initiative to share a common package format between conda and
> pip? They look very similar.
>
> Thanks
> --
> Distutils-SIG mailing list -- distutils-sig@python.org
> To unsubscribe send an email to distutils-sig-le...@python.org
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/archives/list/distutils-sig@python.org/message/FSUL3PHPCAA3RQ7WMYNWGK5F3TVHP7Q5/
>
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/HBBAGRNMJWP3NQ3URVZTDHHH46R3CYHF/

Reply via email to