-
-
Notifications
You must be signed in to change notification settings - Fork 691
Let standard Gap packages be standard Sage packages #37151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
|
This will need some input from Gap / downstream packaging experts @dimpase @orlitzky @tornaria @antonio-rojas; I have not followed the discussion on this closely. The alternative to what is done here in the PR would be to keep the feature definitions for these packages and to change the tags from |
|
I don't care what you want to call it but the tests shouldn't fail when the system gap is missing one of these packages. The only GAP packages that you can assume to be present are gapdoc, primgrp, smallgrp, and transgrp. |
|
Could you use something like |
|
I think it's OK for sage to assume some GAP packages are available if the funtionality they provide is deemed to be non-optional, the same way it assumes all standard dependencies are installed (and it's the packagers responsibility to make sure sage pulls them as dependencies). But in that case the spkg-configure script should be adapted to only accept system GAP if all required packages are available. |
Do we have CI runs that cover such cases? If yes can you give an example? |
Currently |
|
How about simply moving all such GAP packages from |
Probably not, but those packages are what's tested in spkg-configure.m4 and in the new meson (build system for sagelib) pull request. So they're guaranteed to be there but nothing else is. I run without the others. |
Yes, that would be a solution. Or alternatively make it a separate |
|
upstream GAP's default is in of these, ctbllib is 73Mb, tomlib 53Mb, irredsol 27Mb . The rest don't have data, only code, and are much smaller. OK to move them all? |
At least it would be consequent! But I don't know if the additional volume of datasize is justified. |
I'm confused. I thought the warning was caused by Since |
Sorry! I missed that detail. You are right, that should not lead to the warning! |
|
Documentation preview for this PR (built with commit b392d5b; changes) is ready! 🎉 |
@dimpase who can do that? Shall we have a follow-up issue / PR for that? Then I would just delete my branch! |
|
I don't think we ever got around to this, so please complete this one, and we'll merge it |
|
Ah, OK, sorry, I was not reading well. It is fine to move all such GAP packages to be installed by gap spkg. In case you don't see how to do this, open an issue, otherwise just another PR. |
|
One problem you are going to run into is that the packages in It would be much better to split them out into separate SPKGs that can be version-bumped and feature-tested independently. Most have their own upstreams and release schedules. In any case, I don't really care what you do in sage-the-distro, so long as these tests still pass when the GAP packages aren't installed. The cohomolo and datastructures packages, for example, still can't be built on ~arch Gentoo so it's pretty convenient that they're optional. |
|
I would rather have GAP's PackageManager take care of this. Move to gcc-15 is a one time event, which can be addressed by e.g. a custom tarball |
This PR implements the suggestion made in #36741 (comment) :
📝 Checklist
⌛ Dependencies