From: whitequark Date: Thu, 2 Apr 2020 01:35:39 +0000 (+0000) Subject: setup: tighten version constraint on Jinja2. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a268bb2dea96e409906c65b19b2cf22fef46462a;p=nmigen.git setup: tighten version constraint on Jinja2. I remember thinking that not constraining it properly might bite us someday, but assumed that Jinja2 will always stay version 2. Now it looks like Jinja2 3.0.0a1 got released, pip picks it by default, and it's currently broken (something about markupsafe missing). Do what needed to be done in the first place. --- diff --git a/setup.py b/setup.py index f80d30d..be6087a 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ setup( install_requires=[ "setuptools", "pyvcd~=0.1.4", # for nmigen.pysim - "Jinja2", # for nmigen.build + "Jinja2~=2.11", # for nmigen.build ], packages=find_packages(), entry_points={