Re: [sage-devel] [sage-release] Re: Sage 9.5 released

2022-04-26 Thread Michael Orlitzky
On Tue, 2022-04-26 at 16:41 -0700, Matthias Koeppe wrote:
> 
> The same is also standard practice in the Python world. In modern Python 
> packaging, there is no such thing as a build-time optional dependency. The 
> build environment is fully specified in pyproject.toml. Additional 
> functionality can be provided by "extras-require" declarations -- which are 
> handled only at installation time (not build time) simply by installing 
> additional packages. Python code discovers them at runtime.
> 

Using python packaging for sage components is not a foregone
conclusion, and this is a great argument against using it. All python
packaging is a joke, and pip is not a package manager. We are making
sage worse to achieve feature-parity with a bad system.

We've had multiple tickets open for a real solution. Recently #14834
and #29119 come to mind.


-- 
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/4db15350e93e00794b0400755350556ede19ad8c.camel%40orlitzky.com.


Re: [sage-devel] [sage-release] Re: Sage 9.5 released

2022-04-26 Thread Matthias Koeppe
On Tuesday, April 26, 2022 at 4:07:00 PM UTC-7 François Bissey wrote:

> From what I can see on debian, they try to build for pretty much any 
> options they have available, and those runtime dependencies have to be 
> installed and be included in the dependency tree for that distribution’s 
> binary.
>

This is certainly true for shared libraries that are linked into 
executables.
But many packages allow for extra functionality either by the presence of 
plugins or just by calling some executables.
Such packages are declared as Recommended or Suggested packages and are 
usually discovered at runtime.

The same is also standard practice in the Python world. In modern Python 
packaging, there is no such thing as a build-time optional dependency. The 
build environment is fully specified in pyproject.toml. Additional 
functionality can be provided by "extras-require" declarations -- which are 
handled only at installation time (not build time) simply by installing 
additional packages. Python code discovers them at runtime.


-- 
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/557050f6-4750-4385-a73f-71814efdce1cn%40googlegroups.com.


Re: [sage-devel] [sage-release] Re: Sage 9.5 released

2022-04-26 Thread François Bissey
Well binary packages are not so well known in Gentoo. But in any case, your 
argument about source distribution applies pretty much to all distro package 
maintainers. At some point they have to choose which options they will enable 
in the build, binary or otherwise, they distribute.

>From what I can see on debian, they try to build for pretty much any options 
>they have available, and those runtime dependencies have to be installed and 
>be included in the dependency tree for that distribution’s binary. Binaries do 
>not magically appear, someone has to build them, a source distribution just 
>make the building the user problem by default, but all distributions have 
>build recipes that you can use yourself if you so wish.

> On 27/04/2022, at 10:56, Matthias Koeppe  wrote:
> 
> On Tuesday, April 26, 2022 at 3:53:46 PM UTC-7 Michael Orlitzky wrote:
> By the same reasoning, Gentoo isn't source-based, 
> because you have the option of installing pre-built binary packages 
> with the default set of options.
> 
> Oh, I didn't know. Haven't met a Gentoo user, only Gentoo developers.
>  
> 
> -- 
> 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/2f321a2a-9b42-4c69-8030-d68ecf2a7264n%40googlegroups.com.

-- 
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/FD326296-C44B-4417-B598-9A6D636D14BF%40gmail.com.