You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 9, 2023. It is now read-only.
============================ test session starts ==============================
platform linux -- Python 3.9.14, pytest-6.2.2, py-1.11.0, pluggy-0.13.1 -- /builds/souravsk/python-demoapp/src/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /builds/souravsk/python-demoapp
collecting ... collected 0 items / 1 error
==================================== ERRORS ====================================
________________________ ERROR collecting test session _________________________
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
???
<frozen importlib._bootstrap>:1007: in _find_and_load
???
<frozen importlib._bootstrap>:972: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
???
<frozen importlib._bootstrap>:1030: in _gcd_import
???
<frozen importlib._bootstrap>:1007: in _find_and_load
???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:680: in _load_unlocked
???
<frozen importlib._bootstrap_external>:850: in exec_module
???
<frozen importlib._bootstrap>:228: in _call_with_frames_removed
???
src/app/__init__.py:1: in <module>
from flask import Flask
src/.venv/lib/python3.9/site-packages/flask/__init__.py:14: in <module>
from jinja2 import escape
E ImportError: cannot import name 'escape' from 'jinja2' (/builds/souravsk/python-demoapp/src/.venv/lib/python3.9/site-packages/jinja2/__init__.py)
=========================== short test summary info ============================
ERROR - ImportError: cannot import name 'escape' from 'jinja2' (/builds/sour...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.12s ===============================
make: *** [makefile:56: test] Error 2
Cleaning up project directory and file based variables
00:01
ERROR: Job failed: exit code 1
The error remain the same when i tested it on my local system and i also used in gitlab with the CI yml file but error is same.
Anyone can help me with this.
The error remain the same when i tested it on my local system and i also used in gitlab with the CI yml file but error is same.
Anyone can help me with this.