On Thu, Jan 21, 2016 at 11:37 AM, Nathaniel Smith <n...@pobox.com> wrote:

>  Glyph told us last week that this proposal is exactly how the
> cryptography package wants to handle their openssl dependency:
> https://www.mail-archive.com/distutils-sig@python.org/msg23506.html
>
> well, SSL is a pretty unique case --  there's one where controlling the
version of the lib, and having it be recent it critical.

We will have issues with all sorts of other "Pretty common, but can't count
on it" libs.

> Is manylinux1 the perfect panacea for every package? Probably not. In
> particular it's great for popular cross platform packages, because it works
> now and means they can basically reuse the work that
>
they're already doing to make static windows and OSX wheels;
>
except that static linking is a pain on LInux  -- the toolchain really
doesn't want you to do that :-) It's also not part of the culture.

Windows is "working" because of Chris Gohlke's heroic efforts.

OS-X is kind-of sort of working, because of Matthew Brett's also heroic
efforts.

But Anaconda and Canopy exist, and are popular, for a reason -- they solve
a very real problem, and many linux is only solving a very small part of
that problem -- the easy part.

Maybe there will be a Gohlke-like figure that will step up and build
statically linked wheels for all sorts of stuff -- but is that the end-game
we want anyway? everyting statically linked?

One plus -- with Docker and CI systems, it's getting pretty easy to set up
a build sandbox that only has the manylinux libs on it -- so not too hard
to automate and test your builds....

> The idea to include the needed share libs in the wheel
> > goes completely against the idea of relying on a system
> > vendor to provide updates and security fixes. In some cases,
> > this may be reasonable, but as design approach, it's
> > not a good idea.
>
Is this any different than static linking -- probably not. And that's
pretty much what I mean by the culture os dynamic linking on Linux.

On Windows, dll hell is such that we've all accepted that we're going to
need to statically link and provide dlls.

On OS-X, at least the base system is pretty well defined --  though I sure
wish they'd supply more of what really should be basic libs.

-CHB

-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

chris.bar...@noaa.gov
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to