On Sunday, May 28, 2023 at 9:18:50 AM UTC-7 Dima Pasechnik wrote:

On Sun, 28 May 2023, 16:18 Matthias Koeppe, <matthia...@gmail.com> wrote:

If the Sage library were to support a larger version range than 
Sage-the-distribution were to support, we would have to test this version 
support by another mechanism, separate from Sage-the-distribution.


I don't understand - Sage the distribution is already on a newer than 3.8 
Python, whereas Sage library does support 3.8.


"Support", not "ship". As you are aware, through our spkg-configure 
mechanism, we accept system Python 3.8–3.11. 
(https://github.com/sagemath/sage/blob/develop/build/pkgs/python3/spkg-configure.m4)

spkg-configure is a mechanism of the Sage distribution, not of the Sage 
library. The version check is not just for ensuring that the Sage library 
works with the system Python, but also for all the Python packages that the 
Sage distribution ships.

The Python version check of the Sage library, on the other hand, is done by 
"pip" on the basis of "python_requires" defined in src/setup.cfg[.m4] 
(https://github.com/sagemath/sage/blob/develop/src/setup.cfg.m4).

-- 
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/b88ae2a0-8d12-4e68-b261-aa2a23efa40fn%40googlegroups.com.

Reply via email to