Hello all,

Ghislain Antony Vaillant [2016-11-14 21:44 +0000]:
> Since the update of pyparsing to 2.1.10, the sphinxcontrib-doxylink
> package now FTBFS and is affected by an RC bug [1].

This or a related regression also affects systemd's hwdb parser [1].
With 2.1.8 it is still working fine:

$ LC_ALL=C.UTF-8 hwdb/parse_hwdb.py
WARNING: evdev is not available
hwdb/60-evdev.hwdb: 31 match groups, 44 matches, 114 properties
hwdb/60-keyboard.hwdb: 124 match groups, 192 matches, 643 properties
hwdb/70-mouse.hwdb: 63 match groups, 92 matches, 72 properties
hwdb/70-pointingstick.hwdb: 6 match groups, 16 matches, 8 properties
hwdb/70-touchpad.hwdb: 3 match groups, 5 matches, 3 properties

(in a clean unbuilt checkout), but with 2.1.10 it completely fails to
parse anything:

$ LC_ALL=C.UTF-8 hwdb/parse_hwdb.py 
WARNING: evdev is not available
Cannot parse hwdb/60-evdev.hwdb: Expected {{{{{{Combine:({{{"keyboard:" 
{"name"} ":"} ^ {"evdev:" {"name" ^ "atkbd" ^ "input"} ":"} ^ {"touchpad:" 
{"i8042" ^ "rmi" ^ "bluetooth" ^ "usb"} ":"} ^ {"mouse:" {"usb" ^ "bluetooth" ^ 
"ps2" ^ "*"} ":"}} W:(0123...)}) Suppress:(LineEnd)} ^ Suppress:({Python style 
comment Suppress:(LineEnd)})}}... - {{{Suppress:(<SPC>) 
Combine:({{{W:(ABCD...,ABCD...) - "="} - W:(ABCD...)} - [Python style 
comment]}) Suppress:(LineEnd)} ^ Suppress:({<SPC> Python style comment 
Suppress:(LineEnd)})}}...} - Suppress:({{LineStart LineEnd} ^ stringEnd})} ^ 
{Suppress:({{Python style comment Suppress:(LineEnd)}}...) - 
Suppress:({LineStart LineEnd})}} (at char 0), (line:1, col:1)
hwdb/60-evdev.hwdb: 0 match groups, 0 matches, 0 properties
Cannot parse hwdb/60-keyboard.hwdb: Expected {{{{{{Combine:({{{"keyboard:" 
{"name"} ":"} ^ {"evdev:" {"name" ^ "atkbd" ^ "input"} ":"} ^ {"touchpad:" 
{"i8042" ^ "rmi" ^ "bluetooth" ^ "usb"} ":"} ^ {"mouse:" {"usb" ^ "bluetooth" ^ 
"ps2" ^ "*"} ":"}} W:(0123...)}) Suppress:(LineEnd)} ^ Suppress:({Python style 
comment Suppress:(LineEnd)})}}... - {{{Suppress:(<SPC>) 
Combine:({{{W:(ABCD...,ABCD...) - "="} - W:(ABCD...)} - [Python style 
comment]}) Suppress:(LineEnd)} ^ Suppress:({<SPC> Python style comment 
Suppress:(LineEnd)})}}...} - Suppress:({{LineStart LineEnd} ^ stringEnd})} ^ 
{Suppress:({{Python style comment Suppress:(LineEnd)}}...) - 
Suppress:({LineStart LineEnd})}} (at char 0), (line:1, col:1)
hwdb/60-keyboard.hwdb: 0 match groups, 0 matches, 0 properties
Cannot parse hwdb/70-mouse.hwdb: Expected {{{{{{Combine:({{{"keyboard:" 
{"name"} ":"} ^ {"evdev:" {"name" ^ "atkbd" ^ "input"} ":"} ^ {"touchpad:" 
{"i8042" ^ "rmi" ^ "bluetooth" ^ "usb"} ":"} ^ {"mouse:" {"usb" ^ "bluetooth" ^ 
"ps2" ^ "*"} ":"}} W:(0123...)}) Suppress:(LineEnd)} ^ Suppress:({Python style 
comment Suppress:(LineEnd)})}}... - {{{Suppress:(<SPC>) 
Combine:({{{W:(ABCD...,ABCD...) - "="} - W:(ABCD...)} - [Python style 
comment]}) Suppress:(LineEnd)} ^ Suppress:({<SPC> Python style comment 
Suppress:(LineEnd)})}}...} - Suppress:({{LineStart LineEnd} ^ stringEnd})} ^ 
{Suppress:({{Python style comment Suppress:(LineEnd)}}...) - 
Suppress:({LineStart LineEnd})}} (at char 0), (line:1, col:1)
hwdb/70-mouse.hwdb: 0 match groups, 0 matches, 0 properties
Cannot parse hwdb/70-pointingstick.hwdb: Expected {{{{{{Combine:({{{"keyboard:" 
{"name"} ":"} ^ {"evdev:" {"name" ^ "atkbd" ^ "input"} ":"} ^ {"touchpad:" 
{"i8042" ^ "rmi" ^ "bluetooth" ^ "usb"} ":"} ^ {"mouse:" {"usb" ^ "bluetooth" ^ 
"ps2" ^ "*"} ":"}} W:(0123...)}) Suppress:(LineEnd)} ^ Suppress:({Python style 
comment Suppress:(LineEnd)})}}... - {{{Suppress:(<SPC>) 
Combine:({{{W:(ABCD...,ABCD...) - "="} - W:(ABCD...)} - [Python style 
comment]}) Suppress:(LineEnd)} ^ Suppress:({<SPC> Python style comment 
Suppress:(LineEnd)})}}...} - Suppress:({{LineStart LineEnd} ^ stringEnd})} ^ 
{Suppress:({{Python style comment Suppress:(LineEnd)}}...) - 
Suppress:({LineStart LineEnd})}} (at char 0), (line:1, col:1)
hwdb/70-pointingstick.hwdb: 0 match groups, 0 matches, 0 properties
Cannot parse hwdb/70-touchpad.hwdb: Expected {{{{{{Combine:({{{"keyboard:" 
{"name"} ":"} ^ {"evdev:" {"name" ^ "atkbd" ^ "input"} ":"} ^ {"touchpad:" 
{"i8042" ^ "rmi" ^ "bluetooth" ^ "usb"} ":"} ^ {"mouse:" {"usb" ^ "bluetooth" ^ 
"ps2" ^ "*"} ":"}} W:(0123...)}) Suppress:(LineEnd)} ^ Suppress:({Python style 
comment Suppress:(LineEnd)})}}... - {{{Suppress:(<SPC>) 
Combine:({{{W:(ABCD...,ABCD...) - "="} - W:(ABCD...)} - [Python style 
comment]}) Suppress:(LineEnd)} ^ Suppress:({<SPC> Python style comment 
Suppress:(LineEnd)})}}...} - Suppress:({{LineStart LineEnd} ^ stringEnd})} ^ 
{Suppress:({{Python style comment Suppress:(LineEnd)}}...) - 
Suppress:({LineStart LineEnd})}} (at char 0), (line:1, col:1)
hwdb/70-touchpad.hwdb: 0 match groups, 0 matches, 0 properties

That sure does look like some API change which shouldn't happen in a
microrelease?

Thanks,

Martin

[1] https://github.com/systemd/systemd/blob/master/hwdb/parse_hwdb.py
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to