You can use one of the changes in behaviour that are in sagemath history (in the form of doctests that we have to change as we upgrade giac). For instance:
---
With giac 1.9.0-998:
sage: libgiac.solve('sin(3*x)>2*sin(x)', libgiac('x'))
Inequation on periodic expression without assumptions on variable, adding assumption ((x>=0) and (x<(2*pi)))
list[((x>0) and (x<(pi/6))),((x>(5*pi/6)) and (x<pi)),((x>(7*pi/6)) and (x<(11*pi/6)))]
---
With giac 1.9.0-995:
sage: libgiac.solve('sin(3*x)>2*sin(x)', libgiac('x'))
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
...
RuntimeError: Unable to find numeric values solving equation. For trigonometric equations this may be solved using assumptions, e.g. assume(x>-pi && x<pi) Error: Bad Argument Value
---
For a better long-term solution, maybe sagemath (and arch) could just patch giac so it shows the full version? We do that in void linux:
===
$ giac --version
// Using locale /usr/share/locale/
// C
// /usr/share/locale/
// giac
// UTF-8
// Maximum number of parallel threads 8
// (c) 2001, 2021 B. Parisse & others
1.9.0-998
===
See:
https://github.com/void-linux/void-packages/blob/master/srcpkgs/giac/template#L48Something like this added to build/pkgs/giac/spkg-src might work (untested):
sed -e '/m4_define(\[giac_micro_version]/ s/\['${VERSION##*.}']/['${VERSION##*.}'-'${VERSIONREV}${PATCHSUFFIX}']/' -i
configure.acThe expanded version of that should be something like
sed -e '/m4_define(\[giac_micro_version]/ s/\[0]/[0-15p0]/' -i
configure.acI'm not doing this; some sage-the-distro user feel free to pick it up.
Best,
Gonzalo