The base_QQ.py errors are likely to be linked to https://trac.sagemath.org/ticket/18957
It should be easily fixed, I created ticket: https://trac.sagemath.org/ticket/28700 for that. Le mardi 5 novembre 2019 21:02:44 UTC+1, Sébastien Labbé a écrit : > > I am reporting on the following release from 3 days ago (I am creating a > new thread since it has not been created yet). > > ┌────────────────────────────────────────────────────────────────────┐ > │ SageMath version 9.0.beta4, Release Date: 2019-11-02 │ > │ Using Python 2.7.15. Type "help()" for help. │ > └────────────────────────────────────────────────────────────────────┘ > > Running tests with optional + external packages, I get: > > Using > --optional=awali,cbc,ccache,cryptominisat,dot2tex,e_antic,external,glucose,memlimit,normaliz,notedown,openssl,pandoc_attributes,pycosat,pynormaliz,python2,rst2ipynb,sage > ---------------------------------------------------------------------- > sage -t --long src/sage/databases/findstat.py # 52 doctests failed > sage -t --long src/sage/symbolic/integration/external.py # 1 doctest > failed > sage -t --long src/sage/geometry/polyhedron/base_QQ.py # 3 doctests failed > ---------------------------------------------------------------------- > External software detected for doctesting: > ffmpeg,graphviz,imagemagick,internet,latex,pandoc > > Rerunning failed tests, I get: > > ---------------------------------------------------------------------- > sage -t --long src/sage/geometry/polyhedron/base_QQ.py # 3 doctests failed > sage -t --long src/sage/databases/findstat.py # 62 doctests failed > ---------------------------------------------------------------------- > External software detected for doctesting: internet > > The transient error is: > > sage -t --long src/sage/symbolic/integration/external.py > ********************************************************************** > File "src/sage/symbolic/integration/external.py", line 247, in > sage.symbolic.integration.external.parse_moutput_from_json > Failed example: > sorted(L) # optional > internet > Expected: > [u'-Cos[x]', u'{{x == Pi C[1], Element[C[1], Integers]}}'] > Got: > [{u'val': u'-Cos[x]'}, {u'val': u'{{x == Pi C[1], Element[C[1], > Integers]}}'}] > ********************************************************************** > 1 item had failures: > 1 of 10 in sage.symbolic.integration.external.parse_moutput_from_json > 8 fricas tests not run > 0 tests not run because we ran out of time > [36 tests, 1 failure, 21.01 s] > > It seems the following 3 tests are missing the latte optional tag: > > sage -t --long src/sage/geometry/polyhedron/base_QQ.py > ********************************************************************** > File "src/sage/geometry/polyhedron/base_QQ.py", line 483, in > sage.geometry.polyhedron.base_QQ.Polyhedron_QQ.? > Failed example: > ts.integral_points_count() # optional - pynormaliz > Exception raised: > Traceback (most recent call last): > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 681, in _run > self.compile_and_execute(example, compiler, test.globs) > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 1123, in compile_and_execute > exec(compiled, globs) > File "<doctest > sage.geometry.polyhedron.base_QQ.Polyhedron_QQ.?[13]>", line 1, in <module> > ts.integral_points_count() # optional - pynormaliz > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/geometry/polyhedron/base_QQ.py", > > line 218, in integral_points_count > **kwds) > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/interfaces/latte.py", > > line 116, in count > Latte().require() > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/features/__init__.py", > > line 158, in require > raise FeatureNotPresentError(self, presence.reason, > presence.resolution) > FeatureNotPresentError: LattE is not available. > Executable 'count' not found on PATH. > To install count you can try to run 'sage -i latte_int'. > Further installation instructions might be available at > https://www.math.ucdavis.edu/~latte/software.php. > ********************************************************************** > File "src/sage/geometry/polyhedron/base_QQ.py", line 515, in > sage.geometry.polyhedron.base_QQ.Polyhedron_QQ.? > Failed example: > > simplex.ehrhart_polynomial() > > # optional - pynormaliz > Exception raised: > Traceback (most recent call last): > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 681, in _run > self.compile_and_execute(example, compiler, test.globs) > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 1123, in compile_and_execute > exec(compiled, globs) > File "<doctest > sage.geometry.polyhedron.base_QQ.Polyhedron_QQ.?[24]>", line 1, in <module> > > simplex.ehrhart_polynomial() > > # optional - pynormaliz > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/geometry/polyhedron/base_QQ.py", > > line 363, in ehrhart_polynomial > **kwds) > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/geometry/polyhedron/base_QQ.py", > > line 761, in _ehrhart_polynomial_latte > return count(ine, cdd=True, ehrhart_polynomial=True, > verbose=verbose, **kwds) > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/interfaces/latte.py", > > line 116, in count > Latte().require() > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/features/__init__.py", > > line 158, in require > raise FeatureNotPresentError(self, presence.reason, > presence.resolution) > FeatureNotPresentError: LattE is not available. > Executable 'count' not found on PATH. > To install count you can try to run 'sage -i latte_int'. > Further installation instructions might be available at > https://www.math.ucdavis.edu/~latte/software.php. > ********************************************************************** > File "src/sage/geometry/polyhedron/base_QQ.py", line 581, in > sage.geometry.polyhedron.base_QQ.Polyhedron_QQ._ehrhart_quasipolynomial_normaliz > Failed example: > ts.integral_points_count() # optional - > pynormaliz > Exception raised: > Traceback (most recent call last): > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 681, in _run > self.compile_and_execute(example, compiler, test.globs) > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", > > line 1123, in compile_and_execute > exec(compiled, globs) > File "<doctest > sage.geometry.polyhedron.base_QQ.Polyhedron_QQ._ehrhart_quasipolynomial_normaliz[8]>", > > line 1, in <module> > ts.integral_points_count() # optional - > pynormaliz > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/geometry/polyhedron/base_QQ.py", > > line 218, in integral_points_count > **kwds) > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/interfaces/latte.py", > > line 116, in count > Latte().require() > File > "/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/sage/features/__init__.py", > > line 158, in require > raise FeatureNotPresentError(self, presence.reason, > presence.resolution) > FeatureNotPresentError: LattE is not available. > Executable 'count' not found on PATH. > To install count you can try to run 'sage -i latte_int'. > Further installation instructions might be available at > https://www.math.ucdavis.edu/~latte/software.php. > ********************************************************************** > 2 items had failures: > 2 of 59 in sage.geometry.polyhedron.base_QQ.Polyhedron_QQ.? > 1 of 14 in > sage.geometry.polyhedron.base_QQ.Polyhedron_QQ._ehrhart_quasipolynomial_normaliz > 30 latte_int tests not run > 0 tests not run because we ran out of time > [79 tests, 3 failures, 0.11 s] > sage -t --long src/sage/symbolic/integration/external.py > 8 fricas tests not run > 0 tests not run because we ran out of time > [36 tests, 20.85 s] > > Follow up at https://trac.sagemath.org/ticket/25536 > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/4971c5b7-a2e2-4ed9-8270-0a5f2270bece%40googlegroups.com.
