-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
Upgrade to gap_packages 4.10 and remove database_gap #26856
Comments
Commit: |
Author: Dima Pasechnik |
Last 10 new commits:
|
Branch: u/dimpase/GQ |
Dependencies: #22626 |
comment:3
Is there a particular reason to merge |
comment:4
historically, there were several reasons to have separate gap, database_gap and gap_packages, and do not install all the possible GAP packages
the 1st one, if we decide not to re-package original GAP tarball (and I am very much for not re-packaging), would be gone. the 2nd one is (completely, from the point of view of GAP's LICENCE file) fixed since GAP 4.10 (or even 4.9). the 3rd one is fixed by #22626, although this has to be verified. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
Note that most of database_gap is already in our new gap (4.10) package, with exception of tomlib. I'll add tomlib to gap 4.10, and get rid of database_gap. |
comment:8
I am checking whether
(that is, adding
Without Needless to say, these tests work at the Sage prompt just fine. My hunch is that it might be related to the recent #25706, which unfortunately mixes |
Changed commit from |
Changed branch from u/dimpase/GQ to none |
comment:9
Replying to @dimpase:
The "doctest framework" is not flaky. Code in Sage or its tests is flaky. |
comment:10
One way or another, I have no idea where to even start looking, and what kind of side effects might cause this, and whether it's side-effects in Sage alone, or in Sage interacting with the doctest framework---in the latter case this means it's not possible to reproduce on "standalone" Sage. |
Commit: |
comment:11
The issue in comment 8 disappears (I dare not call this a fix, cause the only proof I have is that tests pass!) with the latest commit on this branch, At least I can say that my hunch seems to have been right... Last 10 new commits:
|
Branch: u/dimpase/GQ |
comment:12
Replying to @dimpase:
In many cases, the mysterious failure of doctests is due to some changing interaction with the Python garbage collector. For example, adding an extra test might change the time when the garbage collector kicks in, causing these strange failures. This is especially true when weak references are involved. And the failing test involves the coercion model, which is using weak references. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
All that is needed to have the doctests pass with We still need to make sure that tables of marks (GAP 4.8 tomlib package) are there, and then remove |
comment:15
OK, I'll make our default GAP, without
This covers everything that is in |
comment:16
I thought that we should remove It does not really matter. We can modify stripts starting |
comment:126
comment in the commit 293e79a is a bit off, as altlasrep has a cache of files downloaded from the net, not generated. |
comment:127
I am getting timeouts in these iffy parts of libgap:
something these should be tagged |
comment:128
Wherever the files come from I just mean that they are created by the package at runtime and are not "installed". |
comment:129
Replying to @dimpase:
I think they are. I originally meant, as part of #22626 to deprecate these modules and disable their tests, but I forgot to add that to the work items. While we're at it I'll go ahead and mark the tests to be skipped, and will handle the deprecation later, perhaps as part of #26959. |
comment:130
OK, tests are running, I'll have a look in the morning (I'm on UTC+8 now, sorry :-)) |
comment:131
I did a fresh test run earlier today and everything looked good, but it will be good to get a second opinion. I'm about to push one more change to disable skip those problematic tests. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:133
seems to work here! (same timeouts, because I didn't have the final commit yet) Thank you! |
comment:134
OK, great, all works. New commits:
|
Reviewer: Erik Bray, Dima Pasechnik |
Changed branch from public/ticket-26856 to |
This comment has been minimized.
This comment has been minimized.
Changed work issues from work out where/how to build GAP packages to none |
Changed commit from |
After the upgrade to GAP 4.10 in #22626, we revisit what
GAP packages are available in Sage via the GAP standard
SPKG and via extra optional SPGKs.
All GAP packages formerly in our "database_gap"
optional SPKG, except tomlib, now get installed
with GAP as part of our "gap" standard SPKG.
This ticket adds tomlib to the "gap" standard SPKG
and removes the "database_gap" optional SPKG.
(All packages previously in "database_gap" have
GPL-compatible licenses and can therefore be
distributed as part of the "gap" standard SPKG
without license worries.)
We also update the list of extra GAP packages
in gap_packages, which remains a separate and
optional SPKG.
Once the present ticket is merged, GAP packages
shipped with the "gap" standard SPKG and with
the "gap_packages" optional SPKG are as follows.
'''GAP packages now shipped with "gap"
(standard SageMath package)'''
A basic package used by most GAP packages
for their documentation
Five database packages formerly in "database_gap"
Twelve more packages
'''GAP packages now shipped with "gap_packages"
(optional SageMath package)'''
Twenty-five "pure GAP" packages
(not requiring compilation)
Four compiled GAP packages
No longer distributed
see list of "No longer redistributed with GAP or renamed" GAP packages,
source code archived at GitHub
Depends on #22626
Depends on #26889
Depends on #26965
CC: @alex-konovalov @antonio-rojas @dimpase @embray @kiwifb @mantepse @miguelmarco @slel @tscrim @vbraun
Component: packages: optional
Keywords: GAP
Author: Dima Pasechnik, Erik Bray
Branch:
8bf1044
Reviewer: Erik Bray, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/26856
The text was updated successfully, but these errors were encountered: