From c8b5a8eae5f7ac7823bb487a2f881bfddb23c341 Mon Sep 17 00:00:00 2001 From: Andrey Lisin Date: Fri, 27 Mar 2020 17:53:54 +0300 Subject: [PATCH] IDEA-CR-60812: Pin Jinja2 version in test environment and remove `@Staging` annotation from tests (cherry picked from commit 73697378ccb4f02ccd48a3dbf759bc0589ad7871) GitOrigin-RevId: b09e93749a3a43ee757c78364104311174312645 --- python/setup-test-environment/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python/setup-test-environment/build.gradle b/python/setup-test-environment/build.gradle index 1543e965b8a8..e3513097e30f 100644 --- a/python/setup-test-environment/build.gradle +++ b/python/setup-test-environment/build.gradle @@ -103,7 +103,9 @@ envs { createPython("py38_django22_full", python38version, - ["ipython==7.8", "django==2.2", "behave", "jinja2", "tox>=2.0", "nose", "pytest", "django-nose", "behave-django", + // The version of Jinja2 is fixes due to a bug in recent versions which breaks the debugging. + // See: https://github.com/pallets/jinja/pull/1178. + ["ipython==7.8", "django==2.2", "behave", "jinja2==2.10.2", "tox>=2.0", "nose", "pytest", "django-nose", "behave-django", "pytest-xdist", "untangle", "pandas"], "python3.8\npython3\nipython\nipython780\nskeletons\ndjango\nbehave\nbehave-django\ntox\njinja2\npackaging" + "\npytest\nnose\ndjango-nose\nbehave-django\ndjango2\nxdist\nuntangle\npandas",