On Fri, 9 Jun 2023 at 02:02, Matthias Koeppe <matthiaskoe...@gmail.com>
wrote:

> On Thursday, June 8, 2023 at 4:40:06 PM UTC-7 Michael Orlitzky wrote:
>
> Pip [...] can't do anything with the non-python software on which sage
> subsists.
> To make sage-via-pip work, we'll have to maintain a new pseudo-
> distribution on pypi that either ships people pre-built wheels or wraps
> autotools/cmake/etc in python. As was made clear in recent threads,
> many developers don't want to be maintaining the *first* sage
> distribution, much less a second one.
>
>
> That's right, building binary wheels to be distributed on PyPI (in
> addition to the source distributions) will be one of the key steps in order
> to make it very user-friendly -- i.e., on par with doing "pip install
> scipy" on standard platforms.
>
> It is normal practice of Python projects to create binary wheels and make
> them available on PyPI. There is sufficient mainstream infrastructure (such
> as https://github.com/pypa/cibuildwheel) that makes it easy.
>

What is your plan for dealing with sage's non-Python dependencies?

Binary wheels which bundle compiled non-Python dependencies using tools
such as auditwheel are extremely fragile, as there is nothing preventing
the user from installing a package which might bundle a different version
of the same library, resulting in hard-to-debug erratic runtime errors due
to ABI inconsistencies, symbol collisions, etc.

The scipy situation is not the same, as, to my knowledge, scipy's depends
only on widely available libraries with simple and stable ABIs (e.g., BLAS,
lapack).

I do not think it's realistic to expect to be able to sanely manage a
multi-language software distribution with language-specific package
managers.

Cheers,

  Francesco.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAHExjCtsSEksU8TJioNEKWfrU9zk1gKDxO22je52QZsC4hbpeA%40mail.gmail.com.

Reply via email to