-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
Fix failing doctests in groups/perm_gps/permgroup.py #32294
Comments
This comment has been minimized.
This comment has been minimized.
comment:2
It would be nice to know if this depends
So far I have observed this on Debian 10 "buster" Can this happen with no optional packages installed? |
This comment has been minimized.
This comment has been minimized.
Changed keywords from optional, gap_packages, permgroup to permgroup |
comment:3
GAP has reimplementations of its various methods for group homomorphisms in gap_packages. I presume one gets unequal, albeit equivalent, homomorphisms, here. |
comment:4
Replying to @slel:
FWIW, the system where I observed (repeatedly) ths problem has the following packages installed : charpent@zen-book-flip:~$ sage -optional | grep -v ot_instal | grep -v package |cut -d "." -f 1 | xargs echo /usr/local/sage-9/local/lib/python3.9/site-packages/sage/misc/package.py:115: UserWarning: failed to fetch the version of pkg='ore_algebra' at https://pypi.org/pypi/ore_algebra/json warnings.warn("failed to fetch the version of pkg={!r} at {}".format(pkg, url)) cmdstanpy cypari2 dot2tex fricas gap_jupyter iniconfig json5 jupyter_kernel_gap jupyter_kernel_singular jupyterlab jupyterlab_server kenzo libsemigroups pandas pycodestyle pyflakes pysingular pytest python_dateutil pyyaml relint saclib sagemath_standard singular_jupyter tqdm ujson |
comment:5
Replying to @dimpase:
Is there a way to test the equivalence of the result obtained in the doctest to the one expected ? If so, we could do this test in the doctest and search for |
comment:7
line 877 test serves no purpose, and can be safely removed (it also depends upon random element generation, I suppose) |
comment:8
Replying to @EmmanuelCharpentier:
not without changing the code of If one has an underlying isomorphism, one can have a test of the isomorphism property in an invariant way. |
Part of #25536.
In Sage 9.4.rc1, the output for some examples
varies depending on not-sure-what.
Some tests in
src/sage/groups/perm_gps/permgroup.py
can fail as follows:
CC: @EmmanuelCharpentier @slel
Component: packages: experimental
Keywords: permgroup
Issue created by migration from https://trac.sagemath.org/ticket/32294
The text was updated successfully, but these errors were encountered: