2021-11-17 18:17:03 +00:00
|
|
|
# Python package requirements for driver implementers.
|
|
|
|
|
2022-02-19 19:28:21 +00:00
|
|
|
# Jinja2 <3.0 needs an older version of markupsafe, but does not
|
|
|
|
# declare it.
|
|
|
|
# https://github.com/pallets/markupsafe/issues/282
|
|
|
|
# https://github.com/pallets/jinja/issues/1585
|
|
|
|
markupsafe < 2.1
|
|
|
|
|
2021-11-17 18:17:03 +00:00
|
|
|
# Use the version of Jinja that's in Ubuntu 20.04.
|
2022-03-31 13:07:01 +00:00
|
|
|
# See https://github.com/Mbed-TLS/mbedtls/pull/5067#discussion_r738794607 .
|
2021-12-02 11:48:50 +00:00
|
|
|
# Note that Jinja 3.0 drops support for Python 3.5, so we need to support
|
|
|
|
# Jinja 2.x as long as we're still using Python 3.5 anywhere.
|
2022-05-13 13:35:55 +00:00
|
|
|
# Jinja 2.10.1 doesn't support Python 3.10+
|
|
|
|
Jinja2 >= 2.10.1; python_version < '3.10'
|
|
|
|
Jinja2 >= 2.10.3; python_version >= '3.10'
|
2022-02-19 19:28:21 +00:00
|
|
|
# Jinja2 >=2.10, <3.0 needs a separate package for type annotations
|
2021-11-17 18:17:03 +00:00
|
|
|
types-Jinja2
|
|
|
|
|