Skip to content

Fix tests with giac 2.0.0.19#41572

Merged
vbraun merged 2 commits intosagemath:developfrom
antonio-rojas:giac-2-0-0-19
Feb 25, 2026
Merged

Fix tests with giac 2.0.0.19#41572
vbraun merged 2 commits intosagemath:developfrom
antonio-rojas:giac-2-0-0-19

Conversation

@antonio-rojas
Copy link
Copy Markdown
Member

giac tends to print random chatter to stderr, which occasionally breaks doctests. In 2.0.0.19, the approximate float value is printed when computing an exact integral. Guard tests against this by separating the computing from the answer display.

We also update a test to account for laplace(t^n, t, s) now being correctly solved by giac.

@antonio-rojas
Copy link
Copy Markdown
Member Author

giac in sage-the-distro is 5 years old, it could use an update - but it involves a complex tarball generation step that I don't want to deal with

@dimpase any chance you could help with this?

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 1, 2026

Documentation preview for this PR (built with commit 15fa4f3; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 20, 2026
sagemathgh-41572: Fix tests with giac 2.0.0.19
    
giac tends to print random chatter to stderr, which occasionally breaks
doctests. In 2.0.0.19, the approximate float value is printed when
computing an exact integral. Guard tests against this by separating the
computing from the answer display.

We also update a test to account for `laplace(t^n, t, s)` now being
correctly solved by giac.
    
URL: sagemath#41572
Reported by: Antonio Rojas
Reviewer(s): Chenxin Zhong
@vbraun vbraun merged commit c1f4a33 into sagemath:develop Feb 25, 2026
17 of 22 checks passed
@antonio-rojas antonio-rojas deleted the giac-2-0-0-19 branch February 25, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants