Bug#1063485: python3-docopt: invalid escape sequences

2024-02-08 Thread Agustin Henze

Hi Julian,

On 8/2/24 22:02, Julian Gilbey wrote:

On Thu, Feb 08, 2024 at 08:31:33PM +, Julian Gilbey wrote:

Package: python3-docopt
Version: 0.6.2-4.1
Severity: normal

Installing python3-docopt, I received the following warning messages:

Setting up python3-docopt (0.6.2-4.1) ...
/usr/lib/python3/dist-packages/docopt.py:165: SyntaxWarning: invalid escape 
sequence '\S'
   name = re.findall('(<\S*?>)', source)[0]
[...]

These strings should all be preceded by an "r" to make them raw
strings.

I've just uploaded a fixed version (as an NMU) to DELAYED/7-day.

I also see that you haven't touched this package since 2018; perhaps
you would like to hand over maintainership of it to the Debian Python
Team?


Thanks for fixing the package! That sounds good to me, feel free to move it.

--

TiN



Bug#1063485: python3-docopt: invalid escape sequences

2024-02-08 Thread Julian Gilbey
On Thu, Feb 08, 2024 at 08:31:33PM +, Julian Gilbey wrote:
> Package: python3-docopt
> Version: 0.6.2-4.1
> Severity: normal
> 
> Installing python3-docopt, I received the following warning messages:
> 
> Setting up python3-docopt (0.6.2-4.1) ...
> /usr/lib/python3/dist-packages/docopt.py:165: SyntaxWarning: invalid escape 
> sequence '\S'
>   name = re.findall('(<\S*?>)', source)[0]
> [...]
> 
> These strings should all be preceded by an "r" to make them raw
> strings.

I've just uploaded a fixed version (as an NMU) to DELAYED/7-day.

I also see that you haven't touched this package since 2018; perhaps
you would like to hand over maintainership of it to the Debian Python
Team?

Best wishes,

   Julian



Bug#1063485: python3-docopt: invalid escape sequences

2024-02-08 Thread Julian Gilbey
Package: python3-docopt
Version: 0.6.2-4.1
Severity: normal

Installing python3-docopt, I received the following warning messages:

Setting up python3-docopt (0.6.2-4.1) ...
/usr/lib/python3/dist-packages/docopt.py:165: SyntaxWarning: invalid escape 
sequence '\S'
  name = re.findall('(<\S*?>)', source)[0]
/usr/lib/python3/dist-packages/docopt.py:166: SyntaxWarning: invalid escape 
sequence '\['
  value = re.findall('\[default: (.*)\]', source, flags=re.I)
/usr/lib/python3/dist-packages/docopt.py:207: SyntaxWarning: invalid escape 
sequence '\['
  matched = re.findall('\[default: (.*)\]', description, flags=re.I)
/usr/lib/python3/dist-packages/docopt.py:456: SyntaxWarning: invalid escape 
sequence '\S'
  split = re.split('\n *(<\S+?>|-\S+?)', doc)[1:]

These strings should all be preceded by an "r" to make them raw
strings.

Best wishes,

   Julian