On Sun, Feb 18, 2024 at 5:24 PM Matthias Koeppe <matthiaskoe...@gmail.com>
wrote:

> On Sunday, February 18, 2024 at 9:07:04 AM UTC-8 Dima Pasechnik wrote:
>
> 1) you can even just get a binary wheel of pytest installed - it is very
> fast, and robust.
>
>
> Yes, that's what my PR https://github.com/sagemath/sage/pull/37301 does.
> It installs pytest as a "wheel" package.
>
there are wheels and wheels.
Binary wheels don't need any building, Sage's wheel packages still do
building from source - in case the package has C extensions, possibly
cythonizing or running a similar built processs involving
compilation/linking.
The wheel you talk about is just another packaging of a source package,
isn't it?

Just the other day we saw how one can very well install pyscipopt, an
(optional) Sage package,
from a binary wheel, without building (cause Sage's Cython is too new for
pyscipopt, one can't in present build it from source).
https://groups.google.com/g/sage-devel/c/htVeuOH_3t8/m/mIjBH7aRAgAJ
Doing the same with e.g. scipy will shave off quite a bit  of build time
(by for this scipy needs to become a pip package).



> Whether you install a package from an sdist or from a wheel, you still
> have the same runtime dependencies ("install-requires").
> What goes away when you use a wheel is only the build-time dependencies
> ("build-system requires").
>

>
> 2) The major improvement is that sagelib will be easier to install into an
> existing venv, and that's a wish of quite a number of users. Much more
> Pythonic, too.
>
>
> The pip-installability of sagelib has absolutely nothing to do with this
> discussion.
>

Of course it does, a lot. As having less deps pinning will model
installability and useability of sagelib in a "foreign" venv. At the moment
using sagelib in a foreign venv is complicated and error-prone, and
untested.

And I should also say that less deps will make it easier for downstreams to
package sage/sagelib.



>
> --
> 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/3299fe86-fa67-4830-9f3c-1386235c37c8n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/3299fe86-fa67-4830-9f3c-1386235c37c8n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAAWYfq0jkCCKzxhFGFLLsZYacUPzZU%2BhvkPUroKKc2XNBHTbeg%40mail.gmail.com.

Reply via email to