Skip to content
Snippets Groups Projects
Commit 55aa143d authored by Antoine Lambert's avatar Antoine Lambert
Browse files

requirements: Workaround another ImportError when running pytest

When calling "./bin/install" from swh-environment in a freshly created
venv, for some reason pip will end up installing flask==1.1.2 when
processing swh-web (likely related to the venv state after installing
other swh modules).

That flask version is quite outdated and will fail to import the json
module from the version of itsdangerous installed in the venv.

So as a workaround pin flask to the first version that does not trigger
that ImportError issue.
parent f7b35626
No related branches found
No related tags found
1 merge request!732requirements: Workaround another ImportError when running pytest
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment