From 71bf14b143734d22980162e958d226722384e8c0 Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Tue, 29 Mar 2022 22:29:33 +0200 Subject: [PATCH] Constraint Werkzeug version to fix tests (#241) --- .github/workflows/ci-cd.yml | 2 +- python/test/constraints.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 python/test/constraints.txt diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index b071b46c..aa5e22b2 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -72,7 +72,7 @@ jobs: run: | python -m pip install --upgrade --force --no-cache-dir pip pip install --force --no-cache-dir -r python/requirements.txt - pip install --force --no-cache-dir -r python/test/requirements.txt + pip install --force --no-cache-dir -r python/test/requirements.txt -c python/test/constraints.txt - name: PyTest env: diff --git a/python/test/constraints.txt b/python/test/constraints.txt new file mode 100644 index 00000000..f42c5f7c --- /dev/null +++ b/python/test/constraints.txt @@ -0,0 +1,2 @@ +# test_github.py fails with newer version +Werkzeug<2.1.0 \ No newline at end of file