blob: 38838f58bcef2c773b0f2f042fbcc9890637cbb0 [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
16