Thanks Julian for your report, and especially Georges for
actually maintaining Geophar.
I'm afraid I have no time for it for now, and nor probably in the
foreseeable future.
Geophar has major issues with the latest Python and Qt versions, and fixing
them properly would require me to dive deep into old code. Maybe this
summer at best...

Best regards,
Nicolas


On Sun, Dec 7, 2025 at 6:17 PM Georges Khaznadar <[email protected]>
wrote:

> Hello Julian,
>
> thank you for your bug report, which is cited below.
>
> The package geophar can be upgraded to release 18.10+dfsg1-7, which is
> available in debian/sid
>
> I already fixed the bugs which you are reporting, so I hereby close this
> bug report. I forwarded the debian patches to geophar's upstream author,
> Nicolas, did not take them in account so far.
>
> Nicolas, if you are reading us, many thanks in advance for any update in
> your upstream work.
>
> By the way: some tests are currently broken, and the consequence is that
> Autopkgtest is failing for geophar/18.10+dfsg1-7, see
> https://qa.debian.org/excuses.php?package=geophar
>
> You can still download the package with the fixes from
>
> http://ftp.debian.org/debian/pool/main/g/geophar/geophar_18.10+dfsg1-7_all.deb
>
> Chances are that this package can be installed in your distribution
> without refreshing other dependencies.
>
> Feel free to reopen this bug report if you think that it is the right
> thing to do.
>
> Best regards,                   Georges.
>
> Julian Gilbey a écrit :
> > Package: geophar
> > Version: 18.10+dfsg1-4
> > Severity: normal
> >
> > While setting up python3 on my Debian testing machine, I got lots of
> > warnings from geophar, due to backslashes not being correctly quoted:
> >
> > Setting up python3 (3.13.7-1+b1) ...
> > running python rtupdate hooks for python3.13...
> > /usr/share/geophar/tools/runtests.py:178: SyntaxWarning: invalid escape
> sequence '\s'
> >   sympy\functions\special\polynomials.py, and sympy\polys\polynomial.py:
> > /usr/share/geophar/wxgeometrie/API/filtres.py:68: SyntaxWarning: invalid
> escape sequence '\w'
> >   figures[i] =
> re.sub("(?P<deb>Intersection_droite_cercle[(])(?P<dte>[a-zA-Z_]\w*)[,](?P<cer>[A-Za-z_]\w*)[,](?P<pt>[a-zA-Z_]\w*)",
> corrige1, figures[i])
> > /usr/share/geophar/wxgeometrie/API/filtres.py:84: SyntaxWarning: invalid
> escape sequence '\w'
> >   figures[i] =
> re.sub("(?P<deb>Droite_vectorielle[(])(?P<vec>[a-zA-Z_]\w*)[,](?P<pt>[A-Za-z_]\w*)",
> corrige2, figures[i])
> > /usr/share/geophar/wxgeometrie/geolib/angles.py:240: SyntaxWarning:
> invalid escape sequence '\.'
> >   Un angle non orienté, défini par 3 points A, B, C -> angle /ABC\."""
> > /usr/share/geophar/wxgeometrie/geolib/feuille.py:823: SyntaxWarning:
> invalid escape sequence '\('
> >   m = re.match("(\()?(?P<x>%s)[ ]?[;, ][ ]?(?P<y>%s)(?(1)\))$" %
> (NBR_SIGNE, NBR_SIGNE), commande)
> > /usr/share/geophar/wxgeometrie/mathlib/parsers.py:102: SyntaxWarning:
> invalid escape sequence '\['
> >   LISTE_SIMPLE = "\[[^][]+\]"
> > /usr/share/geophar/wxgeometrie/mathlib/parsers.py:144: SyntaxWarning:
> invalid escape sequence '\d'
> >   """Convertit \frac{a}{b}, \dfrac{a}{b} et \tfrac{a}{b} en ((a)/(b)).
> > /usr/share/geophar/wxgeometrie/mathlib/parsers.py:222: SyntaxWarning:
> invalid escape sequence '\w'
> >   formule = regsub("[)][ ]?\w", formule, lambda s: s[0] + '*' + s[-1])
> > /usr/share/geophar/wxgeometrie/mathlib/parsers.py:453: SyntaxWarning:
> invalid escape sequence '\W'
> >   formule = regsub("\Wtimes\W", formule, lambda s: (s[0] + '*' +
> s[-1]).strip())
> > /usr/share/geophar/wxgeometrie/mathlib/parsers.py:454: SyntaxWarning:
> invalid escape sequence '\W'
> >   formule = regsub("\Wover\W", formule, lambda s: (s[0] + '/' +
> s[-1]).strip())
> > /usr/share/geophar/wxgeometrie/mathlib/parsers.py:455: SyntaxWarning:
> invalid escape sequence '\W'
> >   formule = regsub("\Wsup\W", formule, lambda s: (s[0] + '**' +
> s[-1]).strip())
> > /usr/share/geophar/wxgeometrie/mathlib/parsers.py:470: SyntaxWarning:
> invalid escape sequence '\w'
> >   formule = regsub("\w+[!]", formule, (lambda s: 'factoriel(%s)' %
> s[:-1]))
> > /usr/share/geophar/wxgeometrie/mathlib/printers.py:289: SyntaxWarning:
> invalid escape sequence '\,'
> >   tex = tex.replace(r"\right\}\cup\left\{", "\,;\, ")
> > /usr/share/geophar/wxgeometrie/mathlib/printers.py:303: SyntaxWarning:
> invalid escape sequence '\,'
> >   return r'\left\{%s\right\}' % '\,;\,'.join(self._print(val) for val in
> expr)
> > /usr/share/geophar/wxgeometrie/mathlib/printers.py:322: SyntaxWarning:
> invalid escape sequence '\,'
> >   return r"\left(" + ",\,".join(self._print(item) for item in expr) +
> r"\right)"
> > /usr/share/geophar/wxgeometrie/mathlib/tests/test_interprete.py:73:
> SyntaxWarning: invalid escape sequence '\i'
> >   self.assert_resultat('limit(x^2-x, oo)', '+oo', '+\infty')
> > /usr/share/geophar/wxgeometrie/mathlib/tests/test_interprete.py:93:
> SyntaxWarning: invalid escape sequence '\l'
> >   '\left(x + 1\\right)^{2} \\mathrm{e}^{x}')
> > /usr/share/geophar/wxgeometrie/mathlib/tests/test_interprete.py:155:
> SyntaxWarning: invalid escape sequence '\i'
> >   r, l = i.evaluer("resoudre(2+\i=\dfrac{2\i z}{z-1}")
> > /usr/share/geophar/wxgeometrie/mathlib/tests/test_interprete.py:331:
> SyntaxWarning: invalid escape sequence '\i'
> >   i.evaluer("-1+\i\sqrt{3}")
> > /usr/share/geophar/wxgeometrie/mathlib/tests/test_interprete.py:473:
> SyntaxWarning: invalid escape sequence '\*'
> >   self.assertTrue(re.match("5,[0-9]+\*10\^\-16$", r))
> > /usr/share/geophar/wxgeometrie/mathlib/tests/test_parsers.py:170:
> SyntaxWarning: invalid escape sequence '\g'
> >   self.assert_latex("x\ge1\le3", "x>=1<=3")
> > /usr/share/geophar/wxgeometrie/mathlib/tests/test_parsers.py:191:
> SyntaxWarning: invalid escape sequence '\('
> >   self.assert_match('\(' + NBR_SIGNE, "(-2.3")
> >
> /usr/share/geophar/wxgeometrie/modules/exercice_inequations_produits/__init__.py:230:
> SyntaxWarning: invalid escape sequence '\('
> >   if not re.match('-?(%s)?x?(\(.+\)(\^%s)?)?$' % (NBR, NBR), expression):
> >
> /usr/share/geophar/wxgeometrie/modules/exercice_tableau_signes/__init__.py:112:
> SyntaxWarning: invalid escape sequence '\('
> >   if not re.match('-?(%s)?x?(\(.+\)(\^%s)?)?$' % (NBR, NBR), expression):
> > /usr/share/geophar/wxgeometrie/modules/tablatex/tabvar.py:281:
> SyntaxWarning: invalid escape sequence '\,'
> >   ligne_variable = '\,\,%s\,\,' %  ligne_variable
> >
> /usr/share/geophar/wxgeometrie/modules/tablatex/tests/test_tabsign.py:140:
> SyntaxWarning: invalid escape sequence '\d'
> >   s = '\dfrac{3x-2}{(x-1)^2}'
> >
> /usr/share/geophar/wxgeometrie/modules/tablatex/tests/test_tabsign.py:161:
> SyntaxWarning: invalid escape sequence '\d'
> >   s = "g(x)=\dfrac{-x+1}{\e^{x}}"
> >
> /usr/share/geophar/wxgeometrie/modules/tablatex/tests/test_tabsign.py:181:
> SyntaxWarning: invalid escape sequence '\e'
> >   s= "f'(x)=1-\e^{-x+2}"
> >
> /usr/share/geophar/wxgeometrie/modules/tablatex/tests/test_tabsign.py:279:
> SyntaxWarning: invalid escape sequence '\e'
> >   s = "(1 - x)\e^{ 2x}"
> >
> /usr/share/geophar/wxgeometrie/modules/tablatex/tests/test_tabvar.py:212:
> SyntaxWarning: invalid escape sequence '\e'
> >   s = "$f(x)=(2x+3)\e^x$ sur $[0\,;\,+\oo[$"
> >
> /usr/share/geophar/wxgeometrie/modules/tablatex/tests/test_tabvar.py:288:
> SyntaxWarning: invalid escape sequence '\e'
> >   s = 'f(x) = (x -4)\e^{-0,25x+5} sur [4;20]'
> > /usr/share/geophar/wxgeometrie/modules/traceur/suites.py:139:
> SyntaxWarning: invalid escape sequence '\ '
> >   d.label("$y\ =\ x$")
> > /usr/share/geophar/wxgeometrie/pylib/securite.py:93: SyntaxWarning:
> invalid escape sequence '\w'
> >   return bool(re.search(r'(?<!\w)(' + '|'.join(keywords_interdits) +
> ')(?!\w)', chaine))
> > /usr/share/geophar/wxgeometrie/pylib/securite.py:96: SyntaxWarning:
> invalid escape sequence '\w'
> >   return not bool(re.match('[ ]*(' + '|'.join(keywords_non_affectables)
> + ')(?!\w)', chaine))
> > running python post-rtupdate hooks for python3.13...
> >
> > Best wishes,
> >
> >    Julian
>

Reply via email to