-
Notifications
You must be signed in to change notification settings - Fork 5
Require setup-gap@v3 to simplify some code
#45
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: main
Are you sure you want to change the base?
Conversation
|
CI tests failing for this PR seems to be a problem with EDIT: fix is in, CI tests here work now. |
stertooy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! (only some tiny remarks)
|
Hmm, this still does which I really don't like. Actually, now I wonder, why doesn't it just do Am I missing something? |
wilfwilson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
ebb1233 to
b9157c9
Compare
|
One failure left, which seems to be due to an issue in |
|
Ah and @wilfwilson is already on top of it, great: gap-packages/RepnDecomp#24 |
|
The failing test should be taken care of by gap-actions/setup-gap#59 as a workaround, until RepnDecomp has had a release. |
|
Almost... I thought it would be, but I've made gap-actions/setup-gap#60 to hopefully deal with the issue for good. |
|
It's Whac-A-Mole! This reveals a problem with the HeLP package that @fingolfin already identified at gap-packages/HeLP#22. We didn't encounter this problem earlier because HeLP requires IO, which wasn't compiled, and therefore couldn't be loaded, and so HeLP couldn't be loaded. |
|
We could probably check for these warnings in the PackageDistro when running CI against a package for acceptance. Maybe? i.e. checking that we can load the package without warnings when using |
|
@wilfwilson we do check packages in the PackageDistro using What we don't test is loading packages there with no other packages being built -- and in general this can't work as the needed dependencies for a package obviously must be there in order to be able to test it. What one could do, at least in principle, is to run a final test round on the PackageDistro, where all the |
@fingolfin, since RepnDecomp has had a release, we could remove the workaround introduced in gap-actions/setup-gap#59 and then the tests here should then pass (since the only failing test now is HeLP, which only started failing when the workaround in gap-actions/setup-gap#59 was introduced). What do you think? |
b9157c9 to
41fd71a
Compare
limakzi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I totally missed this conversation.
Love this simplification!
|
|
||
| There are several changes between v3 and v4: the introduction of the `mode` option, | ||
| the renaming of some options, | ||
| the renaming of some options, the requirement for using `gap-actions/setup-gap@v3` or newer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've rebased this PR now; but since we already released v4, I feel this should really be waiting for a v5 release.
It's not urgent right now: before worrying about this PR at all, we should get at least all gap-packages repos to use setup-gap@v3 in their CI.yml. Right now just 9 out of 150 do that :-/.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fingolfin Shall we help them and make pull-requests? Haha!
While this is not strictly necessary, I feel that if we release a breaking v4 soon anyway, we might as well do this now.
On the other hand, it will make the transition to the new version a bit harder because the user has to first upgrade to
setup-gap@v3. But then we probably should do that automatically for everything ingap-packagesanyway, with some scripts...