Skip to content
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

Enable group conformance tests #3070

Closed
wants to merge 5 commits into from

Conversation

lgoettgens
Copy link
Member

Now that finally GroupsCore v0.4.1 has been released, we can enable the group conformance tests again.

@felix-roehrich Once this is merged, you can rebase #3051 on top and have the conformance test available there as well.

@lgoettgens
Copy link
Member Author

Please wait with reviews until this is marked as ready. Sorry for pinging you too early.

@thofma
Copy link
Collaborator

thofma commented Dec 5, 2023

I thought the idea was to drop GroupsCore eventually. Or am I confusing it with some other package?

@fingolfin
Copy link
Member

Indeed: I don't really see any benefit from having GroupsCore, only drawbacks.

@lgoettgens
Copy link
Member Author

I am fine with dropping it, IF we provide a similar group interface in AA.

@thofma
Copy link
Collaborator

thofma commented Dec 6, 2023

We did not use it before, so what do we lose by continuing with not using it?

@lgoettgens
Copy link
Member Author

We are possibly using it for a lot of group things (it's a dependency of AA). The stuff that was not used before were the conformance tests

@lgoettgens
Copy link
Member Author

I thought the idea was to drop GroupsCore eventually. Or am I confusing it with some other package?

If we want to drop it in favor of our own Group interface e.g. in AA, this has to happen before Oscar 1.0, right?

@fingolfin
Copy link
Member

We "use" it only in the sense that we derive our Group type from theirs (which is one of the things causing pain) and I think one exception type. I can't think of anything else. The main idea always was to agree on some conventions and names for various functions and then use them across different packages implementing groups, but that never really happened.

@lgoettgens
Copy link
Member Author

We "use" it only in the sense that we derive our Group type from theirs (which is one of the things causing pain) and I think one exception type. I can't think of anything else. The main idea always was to agree on some conventions and names for various functions and then use them across different packages implementing groups, but that never really happened.

For example

julia> @which istrivial(generic_group([0,1], (x,y) -> (x+y)%2)[1])
istrivial(G::GroupsCore.Group)
     @ GroupsCore ~/.julia/packages/GroupsCore/xRZbK/src/groups.jl:144

falls back to some GroupsCore functionality, and I cannot imagine right now how much else as well.
Nonetheless, even changing the parent type of AA.Group from GroupsCore.Group to AA.Set should be considered a breaking change. Everyone depending on both AA/Oscar and GroupsCore will notice that the generic functions are no longer applicable.
Thus, I think that this change should be on the 1.0 Roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testsuite Everything concerning testsuite topic: groups WIP NOT ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants