1# Python package requirements for driver implementers.
2
3# Jinja2 <3.0 needs an older version of markupsafe, but does not
4# declare it.
5#   https://github.com/pallets/markupsafe/issues/282
6#   https://github.com/pallets/jinja/issues/1585
7markupsafe < 2.1
8
9# Use the version of Jinja that's in Ubuntu 20.04.
10# See https://github.com/Mbed-TLS/mbedtls/pull/5067#discussion_r738794607 .
11# Note that Jinja 3.0 drops support for Python 3.5, so we need to support
12# Jinja 2.x as long as we're still using Python 3.5 anywhere.
13# Jinja 2.10.1 doesn't support Python 3.10+
14Jinja2 >= 2.10.1; python_version <  '3.10'
15Jinja2 >= 2.10.3; python_version >= '3.10'
16# Jinja2 >=2.10, <3.0 needs a separate package for type annotations
17types-Jinja2 >= 2.11.9
18jsonschema >= 3.2.0
19types-jsonschema >= 3.2.0
20