-
Notifications
You must be signed in to change notification settings - Fork 35
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
Replace IsIntegerMatrix and IsMatrixOverFiniteField by MatrixObj #827
Replace IsIntegerMatrix and IsMatrixOverFiniteField by MatrixObj #827
Conversation
I believe that this resolves the original issue raised in #807 |
af5af48
to
559094c
Compare
I've adjusted this again to remove the changes to the matrices over finite fields code, and also to try to make this work with GAP master and 4.11 and 4.10. I've tested this with 4.11 and it works ok. |
559094c
to
ac790ca
Compare
Slight revision, I don't currently expect this to work with |
ac790ca
to
2f1f179
Compare
I have now replaced the code in Semigroups for matrices over finite fields, and I expect that the Semigroups package tests will pass with GAP master, not sure about the other versions of GAP. |
@fingolfin @wilfwilson the CI seems to be broken again with a 404 for https://www.gap-system.org/pub/gap/gap4pkgs/packages-stable-4.10.tar.gz in https://github.com/semigroups/Semigroups/runs/7041559173?check_suite_focus=true |
That link seems to be resolving now. |
Broken CI was due to migration of the GAP website; I forgot to restore on HTTP redirect rule... fixed now Now I've done the following: I took a GAP master build with the latest package distro, and replace semigroups in there with what is in this branch. I then run parts of the GAP test suite, after first loading Semigroups (I did not yet try "all" combinations). This revealed a minor test regressions:
but that looks like something we can easily adjust in the GAP test suite (e.g. by suppressing the print output; we can't just change the expected output, though, as it now differs depending on whether semigroups is loaded or not...) I am now going to run GAP's |
Thanks @fingolfin, we are running some GAP tests in the jobs on azure, but these are not being run here (they use GAP 4.10 and 4.11). I think the best solution to that change is to suppress the output, as you say. |
Is there a gh action for running the GAP library tests anywhere? |
f3d784b
to
10b4bc3
Compare
Seems like gh-actions is having a "major outage". |
af44ae8
to
deaeba6
Compare
No, but assuming you already have a running GAP, then normally you can run the (minimal) test suite via |
Thanks @fingolfin, I think I'm just a little confused about how to do this in the context of the gh actions for GAP, since there's nowhere in the I am nearly finished with this, I need to add a few more tests, and rebase the PR, but otherwise everything is looking good! |
@james-d-mitchell it should be possible to run
|
Ah OK, I see you also got it to work by hacking |
Thanks @fingolfin, yup I figured it out, thanks for letting me know. I've tried as far as possible to not require any changes to the GAP tests for this version of Semigroups, but there are some I can't workaround (without doing too much work), so I'll likely submit a PR to GAP for this. |
Great. And of course if there are changes needed on the GAP side, that's fine (and kinda to be expected). Let me know if I can help with anything, or if a chat would help at any point. |
@fingolfin I think the only changes required in GAP |
This reverts commit 851b21d.
2545af8
to
0f8a1f6
Compare
This PR so far contains changes that removes the code for integer matrices in the Semigroups package and replaces them with
MatrixObj
. This is WIP, and shouldn't be merged, at least in part because I think there's no released version of GAP that this will work with, and it's a backwards incompatible change.