* [PATCH] tests/docker: avoid invalid escape in Python string
@ 2023-10-16 6:23 Paolo Bonzini
2023-10-16 9:00 ` Manos Pitsidianakis
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Paolo Bonzini @ 2023-10-16 6:23 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-stable
This is an error in Python 3.12; fix it by using a raw string literal.
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
tests/docker/docker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/docker/docker.py b/tests/docker/docker.py
index 688ef62989c..3b8a26704df 100755
--- a/tests/docker/docker.py
+++ b/tests/docker/docker.py
@@ -186,7 +186,7 @@ def _check_binfmt_misc(executable):
(binary))
return None, True
- m = re.search("interpreter (\S+)\n", entry)
+ m = re.search(r"interpreter (\S+)\n", entry)
interp = m.group(1)
if interp and interp != executable:
print("binfmt_misc for %s does not point to %s, using %s" %
--
2.41.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] tests/docker: avoid invalid escape in Python string
2023-10-16 6:23 [PATCH] tests/docker: avoid invalid escape in Python string Paolo Bonzini
@ 2023-10-16 9:00 ` Manos Pitsidianakis
2023-10-16 13:42 ` Philippe Mathieu-Daudé
2023-10-19 12:33 ` Alex Bennée
2 siblings, 0 replies; 4+ messages in thread
From: Manos Pitsidianakis @ 2023-10-16 9:00 UTC (permalink / raw)
To: qemu-devel, Paolo Bonzini; +Cc: qemu-stable
On Mon, 16 Oct 2023 09:23, Paolo Bonzini <pbonzini@redhat.com> wrote:
>This is an error in Python 3.12; fix it by using a raw string literal.
>
>Cc: qemu-stable@nongnu.org
>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>---
> tests/docker/docker.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/tests/docker/docker.py b/tests/docker/docker.py
>index 688ef62989c..3b8a26704df 100755
>--- a/tests/docker/docker.py
>+++ b/tests/docker/docker.py
>@@ -186,7 +186,7 @@ def _check_binfmt_misc(executable):
> (binary))
> return None, True
>
>- m = re.search("interpreter (\S+)\n", entry)
>+ m = re.search(r"interpreter (\S+)\n", entry)
> interp = m.group(1)
> if interp and interp != executable:
> print("binfmt_misc for %s does not point to %s, using %s" %
>--
>2.41.0
>
>
Reviewed-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] tests/docker: avoid invalid escape in Python string
2023-10-16 6:23 [PATCH] tests/docker: avoid invalid escape in Python string Paolo Bonzini
2023-10-16 9:00 ` Manos Pitsidianakis
@ 2023-10-16 13:42 ` Philippe Mathieu-Daudé
2023-10-19 12:33 ` Alex Bennée
2 siblings, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-10-16 13:42 UTC (permalink / raw)
To: Paolo Bonzini, qemu-devel; +Cc: qemu-stable
On 16/10/23 08:23, Paolo Bonzini wrote:
> This is an error in Python 3.12; fix it by using a raw string literal.
>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> tests/docker/docker.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] tests/docker: avoid invalid escape in Python string
2023-10-16 6:23 [PATCH] tests/docker: avoid invalid escape in Python string Paolo Bonzini
2023-10-16 9:00 ` Manos Pitsidianakis
2023-10-16 13:42 ` Philippe Mathieu-Daudé
@ 2023-10-19 12:33 ` Alex Bennée
2 siblings, 0 replies; 4+ messages in thread
From: Alex Bennée @ 2023-10-19 12:33 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: qemu-stable, qemu-devel
Paolo Bonzini <pbonzini@redhat.com> writes:
> This is an error in Python 3.12; fix it by using a raw string literal.
>
> Cc: qemu-stable@nongnu.org
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Queued to testing/next, thanks.
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-19 12:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-16 6:23 [PATCH] tests/docker: avoid invalid escape in Python string Paolo Bonzini
2023-10-16 9:00 ` Manos Pitsidianakis
2023-10-16 13:42 ` Philippe Mathieu-Daudé
2023-10-19 12:33 ` Alex Bennée
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).