blob: 7b002ec78d6cb010531d939c911b27189fb15c3f [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.
Dave Rodgman017a1992022-03-31 14:07:01 +010010# See https://github.com/Mbed-TLS/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.
Bence Szépkúti44f138d2022-05-13 15:35:55 +020013# 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'
Gilles Peskine7b2804b2022-02-19 20:28:21 +010016# Jinja2 >=2.10, <3.0 needs a separate package for type annotations
Bence Szépkútid06e70c2023-09-25 10:25:18 +020017types-Jinja2 >= 2.11.9
Archana25876b82022-01-10 01:55:26 +053018jsonschema >= 3.2.0
Bence Szépkútid06e70c2023-09-25 10:25:18 +020019types-jsonschema >= 3.2.0