On Thursday, August 8, 2024 at 5:57:12 AM UTC-7 Marc Culler wrote:

I think it would be possible to use a single spkg for all of the additional 
binary wheels, where the main content of that spkg is a requirements.txt 
file listing versions and hashes.


I did initially look into using requirements.txt files before settling on 
the implementation in https://github.com/sagemath/sage/pull/38219, but I 
had to abandon this idea because it turns out that this format is not 
expressive enough to allow preparing multi-platform requirements with 
hashes. 
The reason: PEP-508 environment markers 
(https://packaging.python.org/en/latest/specifications/dependency-specifiers/#environment-markers)
 
are not able to distinguish between ABI variants expressed in wheel tags 
such as manylinux vs. musllinux.

-- 
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/b587ff6c-d967-4768-a3f6-0a059ce837a7n%40googlegroups.com.

Reply via email to