From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 69C1345E8E; Fri, 13 Dec 2024 15:15:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F291840B8F; Fri, 13 Dec 2024 15:15:53 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id D5207409FA for ; Fri, 13 Dec 2024 15:15:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1734099352; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dTpXlcabqEX+jChqL2a4gbFIhnmDWLdOmom0tPtNvcw=; b=NBJSrGwbpd5LuvoF6yVFhojjhe9gbkJjdO35RnWblpO8rdZK8ZpBGpF5/7YfcRh/64Kj2y ktHasFlkyKbtFqaTPWPY/QEyZuNhQItNZPEn3MYsBDl0YgHlxIXub9gFpHFxcNFkPP8RXy aE1iOcEaewvMGo3sU/xxL3R7QGK+NhA= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-131-Ly7zd2fsN565-x8zgIU1PQ-1; Fri, 13 Dec 2024 09:15:51 -0500 X-MC-Unique: Ly7zd2fsN565-x8zgIU1PQ-1 X-Mimecast-MFC-AGG-ID: Ly7zd2fsN565-x8zgIU1PQ Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-3003190ec72so10384151fa.2 for ; Fri, 13 Dec 2024 06:15:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734099350; x=1734704150; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dTpXlcabqEX+jChqL2a4gbFIhnmDWLdOmom0tPtNvcw=; b=Z/FK3+izpkwaF+zw+i8o0Kkuop13wc8DAkREbIG3/wNFDrvHd89l6RDo1i4IghE1S6 FQ2LmJpKGKfU4mWu16uDhv+hWVlOpU1O0mW00L2tOBcNuFedPxa/csJKSyiEpydSpyWW mQYmkwPLdEGcFF2qS9H3lEui08rTC73wgbwI4hzxFhLfk8GKor0UN3fTMWOqiR2LXzPv Kir5Or46lM4q1TSARR9PiufUQzaR3wt321no7pMSI+Kr+8P3isq6foFjeq1i6pkzcMF4 9bp/U1IBqGTWCt1+TaBZFPX6Wa1z5JZy2/GJmo4G1fAneERaQnifD9cwxaJ9mTdPX6vW d9TQ== X-Forwarded-Encrypted: i=1; AJvYcCVfvw452KL+E7CdBfGBFpb+jgasXFO4lsuLln52j4xXOFdiXboe1l9xVZZwNgWGTaurfwY=@dpdk.org X-Gm-Message-State: AOJu0YxdJaKojMjYffbcMId5xqwgsuicAcOtsno+JrZJvbs8Pdy00dau gm0A5WinQVstZEUHrXkbavVaf8G6R/1UcJyRRz1ByW0GWF7dhxnf7AGS3BGYP35Ee0wrA+2kXiO XlU3oXTpIDNB2fX5qse4Mo06e9aZ8t3WbS9jcot3QTkXPoDMt2wpUIgawOoTAcSGc5YnMh6vt0z IW5b3//RsQr6hX8lU= X-Gm-Gg: ASbGnctsCPkayhFLYqAfEgQK1J3+Q8Ft1riOT0RQJgRzRzWmZc2y6wMC6TlgPaH/Q0l 3rEvTtSCIwvWEF91SbG2zglsKOliWTVRIkr3rBgdX X-Received: by 2002:a05:651c:b0d:b0:302:29a5:6e01 with SMTP id 38308e7fff4ca-302545666d2mr9403951fa.2.1734099349793; Fri, 13 Dec 2024 06:15:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IEWPk6AOmH6OWZsO2lzyV6sm+v86wga3RnWpL5oUziI742m3GLdDTtnqfXH8oqeXa/HjeYH0XKcHkorDE7OBQA= X-Received: by 2002:a05:651c:b0d:b0:302:29a5:6e01 with SMTP id 38308e7fff4ca-302545666d2mr9403831fa.2.1734099349402; Fri, 13 Dec 2024 06:15:49 -0800 (PST) MIME-Version: 1.0 References: <20241208023022.777275-1-otilibil@eurecom.fr> <20241208023022.777275-2-otilibil@eurecom.fr> <2f7a87-675c4080-be09-141f3260@213168101> In-Reply-To: <2f7a87-675c4080-be09-141f3260@213168101> From: David Marchand Date: Fri, 13 Dec 2024 15:15:38 +0100 Message-ID: Subject: Re: [PATCH 1/1] buildtools: clear out regex syntax warnings To: Ariel Otilibili-Anieli Cc: Robin Jarry , dev@dpdk.org, Thomas Monjalon X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 6V91sjv4-TZ0-gbr4dI7Idhn4DIErrPub2r6Ir8naJM_1734099350 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Fri, Dec 13, 2024 at 3:11=E2=80=AFPM Ariel Otilibili-Anieli wrote: > > On Friday, December 13, 2024 15:07 CET, "Robin Jarry" = wrote: > > > Ariel Otilibili, Dec 08, 2024 at 03:25: > > > * invalid escape sequences now generate SyntaxWarning > > > * therefore changed syntax to raw string noration. > > > > > > Link: https://docs.python.org/3/library/re.html#module-re > > > Signed-off-by: Ariel Otilibili > > > > Hi Ariel, thanks for the fix! > > > > Acked-by: Robin Jarry > > Awesome, Robin! > > > > If you have time, I there are other bits that would need the same fix: > > > > buildtools/get-numa-count.py:14: numa_nodes.sort(key=3Dlambda l:= int(re.findall('\d+', l)[0])) > > devtools/check-meson.py:54: if re.match('^ *\t', code): > > doc/api/generate_doxygen.py:8:pattern =3D re.compile('^Preprocessing (.= *)...$') > > > > Good, then; I'll push them in a subsequent series. Those fixes are little one-liners worth backporting. Please add a Fixes: tag identifying the commit introducing the issue, then Cc: stable@dpdk.org. If you need more details on what is expected, see https://doc.dpdk.org/guides/contributing/patches.html#commit-messages-body and https://doc.dpdk.org/guides/contributing/patches.html#patch-for-stable-= releases --=20 David Marchand