Avoid premailer 3.9.0 due to API breakage

From OpenTitan pull request #6769
This commit is contained in:
Dawid Zimonczyk 2021-07-12 08:53:05 +02:00 committed by Philipp Wagner
parent 90ff7ca6c3
commit a0582afb4e

View file

@ -15,7 +15,11 @@ junit-xml
# Needed by dvsim.py (not actually used in Ibex)
hjson
mistletoe>=0.7.2
premailer
# Premailer 3.9.0 broke the API by introducing an allow_loading_external_files
# argument that is now mandatory, but didn't exist in previous versions.
# To relax the constraint we either need to do a runtime detection, or switch all
# users to a newer version.
premailer < 3.9.0
# Recurse to get any requirements from riscv-dv
-r vendor/google_riscv-dv/requirements.txt