Open slel opened 3 years ago
Description changed:
---
+++
@@ -7,13 +7,10 @@
fail with `gap_packages` installed:
-$ sagetest src/sage/groups/perm_gps/permgroup.py -too many failed tests, not using stored timings +$ sage -t --long src/sage/groups/perm_gps/permgroup.py Running doctests with ID 2021-07-28-23-47-16-14f5337b. Git branch: develop -Using --optional=4ti2,barvinok,benzene,bliss,buckygen,build,ccache,cunningham_tables,d3js,database_cremona_ellcurve,data -base_jones_numfield,database_kohel,database_mutation_class,database_odlyzko_zeta,database_stein_watkins,database_symboli -c_data,debian,dochtml,dot2tex,e_antic,frobby,gap_packages,glucose,gp2c,igraph,kenzo,latte_int,libogg,libsemigroups,lidia,lrslib,mcqd,meataxe,mpfrcx,normaliz,notedown,pandoc_attributes,pari_elldata,pari_galpol,pari_nftables,pari_seadata,pip,plantri,polylib,primecount,pycosat,pynormaliz,pysingular,python_igraph,qhull,rst2ipynb,rubiks,saclib,sage,sage_spkg,sip,speaklater,symengine,symengine_py,tdlib,texttable,tides,topcom +Using --optional=build,ccache,debian,dochtml,gap_packages,pip,sage,sage_spkg Doctesting 1 file. sage -t --long --random-seed=0 src/sage/groups/perm_gps/permgroup.py
It would be nice to know if this depends
So far I have observed this on Debian 10 "buster" with many optional packages installed.
Can this happen with no optional packages installed?
Description changed:
---
+++
@@ -1,16 +1,16 @@
Part of #25536.
-In Sage 9.4.rc0, the output for some examples
-depend on whether `gap_packages` is installed.
+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`
-fail with `gap_packages` installed:
+can fail as follows:
$ sage -t --long src/sage/groups/perm_gps/permgroup.py Running doctests with ID 2021-07-28-23-47-16-14f5337b. Git branch: develop -Using --optional=build,ccache,debian,dochtml,gap_packages,pip,sage,sage_spkg +Using --optional=... Doctesting 1 file. sage -t --long --random-seed=0 src/sage/groups/perm_gps/permgroup.py
@@ -50,4 +50,3 @@ Pytest is not installed, skip checking tests that rely on it.
-They pass if `gap_packages` is not installed.
Changed keywords from optional, gap_packages, permgroup to permgroup
GAP has reimplementations of its various methods for group homomorphisms in gap_packages.
I presume one gets unequal, albeit equivalent, homomorphisms, here.
Replying to @slel:
It would be nice to know if this depends
- on the processor type
- on the operating system
- on some system package being used
- on some optional package being installed
- ...
So far I have observed this on Debian 10 "buster" with many optional packages installed.
Can this happen with no optional packages installed?
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
Replying to @dimpase:
GAP has reimplementations of its various methods for group homomorphisms in gap_packages.
I presume one gets unequal, albeit equivalent, homomorphisms, here.
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 True
or False
.
line 877 test serves no purpose, and can be safely removed (it also depends upon random element generation, I suppose)
Replying to @EmmanuelCharpentier:
Replying to @dimpase:
GAP has reimplementations of its various methods for group homomorphisms in gap_packages.
I presume one gets unequal, albeit equivalent, homomorphisms, here.
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
True
orFalse
.
not without changing the code of as_permutation_group()
, which does not return the underlying group isomorphism, but only its image.
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