All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Igor Mammedov <imammedo@redhat.com>
Cc: qemu-devel@nongnu.org,  richard.henderson@linaro.org,
	 Juan Quintela <quintela@redhat.com>
Subject: Re: [PULL v2 12/17] qapi: Rewrite parsing of doc comment section symbols and tags
Date: Tue, 16 May 2023 15:59:20 +0200	[thread overview]
Message-ID: <87o7mkpebr.fsf@pond.sub.org> (raw)
In-Reply-To: <20230516140707.30f02a68@imammedo.users.ipa.redhat.com> (Igor Mammedov's message of "Tue, 16 May 2023 14:07:07 +0200")

Igor Mammedov <imammedo@redhat.com> writes:

> On Wed, 10 May 2023 10:12:22 +0200
> Markus Armbruster <armbru@redhat.com> wrote:
>
>> To recognize a line starting with a section symbol and or tag, we
>> first split it at the first space, then examine the part left of the
>> space.  We can just as well examine the unsplit line, so do that.
>
> this makes build fail on RHEL8.9 (Python 3.6.8)
> with:
>  configure --target-list=x86_64-softmmu --disable-docs
>  make -j32
>  ...
>  /usr/bin/python3 /builds/qemu/scripts/qapi-gen.py -o qapi -b ../../builds/qemu/qapi/qapi-schema.json

[...]

>   File "/builds/qemu/scripts/qapi/parser.py", line 563, in QAPIDoc               
>     def _match_at_name_colon(string: str) -> re.Match:                           
> AttributeError: module 're' has no attribute 'Match'   

Working on it.  First attempt "[PATCH] qapi/parser: Fix type hints"
failed.

Thanks!



  reply	other threads:[~2023-05-16 13:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10  8:12 [PULL v2 00/17] QAPI patches patches for 2023-05-09 Markus Armbruster
2023-05-10  8:12 ` [PULL v2 12/17] qapi: Rewrite parsing of doc comment section symbols and tags Markus Armbruster
2023-05-16 12:07   ` Igor Mammedov
2023-05-16 13:59     ` Markus Armbruster [this message]
2023-05-10  8:12 ` [PULL v2 13/17] qapi: Relax doc string @name: description indentation rules Markus Armbruster
2023-05-10  8:12 ` [PULL v2 14/17] qapi: Section parameter @indent is no longer used, drop Markus Armbruster
2023-05-10 13:51 ` [PULL v2 00/17] QAPI patches patches for 2023-05-09 Richard Henderson
2023-05-10 14:59 ` Richard Henderson
2023-05-10 15:22   ` Markus Armbruster
2023-05-11 11:11     ` Markus Armbruster
2023-05-11 11:17       ` Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o7mkpebr.fsf@pond.sub.org \
    --to=armbru@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=richard.henderson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.