Update from master

Squashed commit of the following:

commit 7cedba14204492f7373db6e3362d04181658fc1b
Author: Mark Beierl <mark.beierl@canonical.com>
Date:   Wed May 10 21:35:27 2023 -0400

    Update to Python 3.10 and Ubuntu 22.04

    Removal of deprecated event loop
    Updated pip requirements

    Change-Id: I0eeba1b700187ec87197f5b28e6e20fd15bd945b
    Signed-off-by: Mark Beierl <mark.beierl@canonical.com>

commit d1dfd8b598a2852cc6400d323b29c405816f36a6
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 18 18:25:13 2023 +0200

    Set autoescape to True in Jinja2 environment

    Change-Id: I2af8d9e30f610bb18928b4c85b16ecd6754129b8
    Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>

commit 2da4c43fa6e13582ffb79e852c47e986bf4a1384
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Apr 18 14:40:48 2023 +0200

    Clean stage-archive.sh

    Change-Id: Ie0a1c29cd15f4b9510bdbf8e14a051df93b24edd
    Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>

commit 9bd1ee2d3893c1450b3650ead9e71b5e01d0883f
Author: garciadeblas <gerardo.garciadeblas@telefonica.com>
Date:   Tue Mar 28 13:45:28 2023 +0200

    Fix black and cover errors

    Change-Id: I5525e17a4536686091967ceb3ac2900bce47d9e2
    Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>

Change-Id: I1f150e4b0bbe8c537940a2445c94bdf8da4c7e60
Signed-off-by: Dario Faccin <dario.faccin@canonical.com>
diff --git a/Dockerfile b/Dockerfile
index 7470d52..e3e66cf 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -21,7 +21,7 @@
 #   devops-stages/stage-build.sh
 #
 
-FROM ubuntu:20.04
+FROM ubuntu:22.04
 
 ARG APT_PROXY
 RUN if [ ! -z $APT_PROXY ] ; then \
@@ -37,10 +37,12 @@
         python3 \
         python3-all \
         python3-dev \
-        python3-setuptools
+        python3-setuptools \
+        python3-pip \
+        tox
 
-RUN python3 -m easy_install pip==21.3.1
-RUN pip install tox==3.24.5
+ENV LC_ALL C.UTF-8
+ENV LANG C.UTF-8
 
 ADD https://github.com/MiniZinc/MiniZincIDE/releases/download/2.4.2/MiniZincIDE-2.4.2-bundle-linux-x86_64.tgz /minizinc.tgz