Skip to content

Commit edf5ddd

Browse files
committed
loader: Use MarkupSafe:2.0.1 specifically
The ru.vyarus.use-python will download MarkupSafe 2.1.1 on my laptopn with Python 3.8. But MarkupSafe removed soft_unicode from 2.1.0, used by jinja2:2.10.3, and it will cause importing error when running `./gradlew build` under src/loader directory. Instead of updating jinja2, this CL try to fix MarkupSafe version for loader to fix building problem. The release note of MarkupSafe is here: https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0. Signed-off-by: utzcoz <utzcoz@outlook.com>
1 parent 915196a commit edf5ddd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/loader/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def registry = "${project.repoRoot}/specification/registry/xr.xml"
4040
// Python is used to generate header files
4141
python {
4242
pip "jinja2:2.10.3"
43+
pip "MarkupSafe:2.0.1"
4344
minPythonVersion = "3.4"
4445

4546
environment = ["PYTHONPATH": scriptDir]

0 commit comments

Comments
 (0)