blob: 2a1bef7e67b77a2e96fd9f3db5c6e81affef73df [file] [log] [blame]
Gilles Peskine87485a32021-11-17 19:17:03 +01001# Python package requirements for driver implementers.
2
Gilles Peskine7b2804b2022-02-19 20:28:21 +01003# 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
Gilles Peskine87485a32021-11-17 19:17:03 +01009# Use the version of Jinja that's in Ubuntu 20.04.
10# See https://github.com/ARMmbed/mbedtls/pull/5067#discussion_r738794607 .
Gilles Peskineb3e53402021-12-02 12:48:50 +010011# 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.
Gilles Peskine87485a32021-11-17 19:17:03 +010013Jinja2 >= 2.10.1
Gilles Peskine7b2804b2022-02-19 20:28:21 +010014# Jinja2 >=2.10, <3.0 needs a separate package for type annotations
Gilles Peskine87485a32021-11-17 19:17:03 +010015types-Jinja2
Archana25876b82022-01-10 01:55:26 +053016# jsonschema > 3.2.0 is not compatible with Python 3.5, force 3.2.0
17jsonschema >= 3.2.0
18types-jsonschema