poky/scripts/lib
Adrian Freihofer 0269cfc91c scripts: python 3.12 regex
All the regexes throw a warning like this:

WARNING: scripts/lib/recipetool/create_buildsys.py:140:
      SyntaxWarning: invalid escape sequence '\s'
      proj_re = re.compile('project\s*\(([^)]*)\)', re.IGNORECASE)

Python 3 interprets string literals as Unicode strings, and therefore
\s is treated as an escaped Unicode character which is not correct.
Declaring the RegEx pattern as a raw string instead of unicode is
required for Python 3.

(From OE-Core rev: 63998f13d5263ce19a60ed3fba1ac8b6f23558e3)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Backported from master: 24b0ba00d4f0b4d9834f7693ecb6032dfc534a80

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-01 05:19:54 -10:00
..
build_perf meta: correct collections vs collections.abc deprecation 2021-09-19 11:33:14 +01:00
checklayer scripts: python 3.12 regex 2024-03-01 05:19:54 -10:00
devtool devtool: Fix the wrong variable in srcuri_entry 2023-07-12 05:11:38 -10:00
recipetool scripts: python 3.12 regex 2024-03-01 05:19:54 -10:00
resulttool resulttool/report: Avoid divide by zero 2023-09-23 05:26:16 -10:00
wic wic: fix wrong attempt to create file system in upartitioned regions 2023-09-23 05:26:16 -10:00
argparse_oe.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
buildstats.py scripts/lib/buildstats: handle top-level build_stats not being complete 2023-04-11 11:31:52 +01:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py scriptutils: Fix handling of srcuri urls 2022-02-12 17:05:35 +00:00