id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
29567 "Fix ""invalid escape sequence"" when building the doc" François Bissey "While building the doc there are messages of the kind
{{{
/dev/shm/portage/sci-mathematics/sage-9999/work/sage-9999/src-python3_7/build/lib/sage/rings/quotient_ring.py:1355: DeprecationWarning: invalid escape sequence \Q
[dynamics ] :1355: DeprecationWarning: invalid escape sequence \Q
[algebras ] :1355: DeprecationWarning: invalid escape sequence \Q
/dev/shm/portage/sci-mathematics/sage-9999/work/sage-9999/src-python3_7/build/lib/sage/rings/function_field/ideal.py:2218: DeprecationWarning: invalid escape sequence \g
[function_] :2218: DeprecationWarning: invalid escape sequence \g
[rings ] :1355: DeprecationWarning: invalid escape sequence \Q
[schemes ] :1355: DeprecationWarning: invalid escape sequence \Q
[dynamics ] :1355: DeprecationWarning: invalid escape sequence \Q
[algebras ] :1355: DeprecationWarning: invalid escape sequence \Q
[function_] :2218: DeprecationWarning: invalid escape sequence \g
[rings ] :1355: DeprecationWarning: invalid escape sequence \Q
[schemes ] :1355: DeprecationWarning: invalid escape sequence \Q
}}}
It is apparently caused by jinja and python 3.6+. The guilty escape sequences should be put in raw strings. See [https://stackoverflow.com/questions/50504500/deprecationwarning-invalid-escape-sequence-what-to-use-instead-of-d]
" defect closed major sage-9.1 documentation fixed John Palmieri François Bissey John Palmieri N/A 8f6e48220392cff66ce83c478aa5bc191aa2277a 8f6e48220392cff66ce83c478aa5bc191aa2277a