[reportlab-users] deprecation warning

Robin Becker robin at reportlab.com
Fri Mar 19 05:45:45 EDT 2021


Thanks  Jürgen,

I don't know how many tests I have to run, but I don't see this warning in 2.7.18, 3.7.5, 3.8.6, 3.9.2 & 3.10.0a6. It 
doesn't show in the various github action / appveyor wheel builds.

Jürgen can you say what OS, exact version of python 3.8 and what command line options if any were used?

I will put this into the latest release.

On 19/03/2021 09:21, Christoph Zwerschke wrote:
> 
> On 19.03.2021 10:15, Jürgen Gmach wrote:
>> just updated to the latest reportalb version and now I get the
>> following deprecation warning on Python 3.8 >
>  > DeprecationWarning: invalid escape sequence \s
>  >      _re_unit = re.compile('^\s*(.*)(i|in|cm|mm|pt|pica)\s*$'),
> 
> The warning is shown because this should be either a raw string or the "\s" needs double escaping.
> 
> -- Christoph
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users


-- 
Robin Becker


More information about the reportlab-users mailing list