On Wed, 19 Jun 2024 19:52, Richard Henderson <richard.hender...@linaro.org> 
wrote:
On 6/11/24 03:33, Manos Pitsidianakis wrote:
+++ b/scripts/cargo_wrapper.py
@@ -0,0 +1,211 @@
+#!/usr/bin/env python3
+# Copyright (c) 2020 Red Hat, Inc.
+# Copyright (c) 2023 Linaro Ltd.
+#
+# Authors:
+#  Manos Pitsidianakis<manos.pitsidiana...@linaro.org>
+#  Marc-André Lureau<marcandre.lur...@redhat.com>
+#
+# This work is licensed under the terms of the GNU GPL, version 2 or
+# later.  See the COPYING file in the top-level directory.
+
+import argparse
+import configparser
+import distutils.file_util
+import json
+import logging
+import os
+import os.path
+import re
+import subprocess
+import sys
+import pathlib
+import shutil
+import tomllib

Correct me if I'm wrong, but does this require python 3.11 for tomllib?
AFAIK, we're limited to assuming 3.9 from Debian 11 until Feb 2026, or
3.10 from Ubuntu 22.04 until Apr 2026.

I presume this package can be downloaded from pip, and therefore should be added to the python venv that we create in configure?


r~

That's absolutely correct. I will make it compatible with at least 3.9 in the next version, thanks!

Manos

Reply via email to