From ef1d5030b5694f3f1b1f4e211be3975abd75e19b Mon Sep 17 00:00:00 2001 From: Jirka Date: Wed, 1 Feb 2023 19:51:25 +0100 Subject: [PATCH 1/2] freeze CI requirements --- .github/scripts/build.sh | 6 +----- .github/scripts/requirements.txt | 10 ++++++++++ 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .github/scripts/requirements.txt diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index 6fd8f73b..958bc677 100755 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -19,11 +19,7 @@ set -e PYTHON_VERSION=${PYTHON_VERSION:-2.7} -pip install --upgrade setuptools pip -pip install --upgrade pylint pytest pytest-pylint pytest-runner -pip install termcolor -pip install hypothesis python-Levenshtein -pip install mock +pip install -U -r requirements.txt python setup.py develop python -m pytest # Run the tests without IPython. pip install ipython diff --git a/.github/scripts/requirements.txt b/.github/scripts/requirements.txt new file mode 100644 index 00000000..38cfba9a --- /dev/null +++ b/.github/scripts/requirements.txt @@ -0,0 +1,10 @@ +setuptools <65.7.0 +pip <23.0 +pylint <3.0.0 +pytest <=7.2.1 +pytest-pylint <=1.1.2 +pytest-runner <6.0.0 +termcolor <2.2.0 +hypothesis <6.62.0 +python-Levenshtein <0.20.9 +mock <5.0.0 \ No newline at end of file From 532c870536f216e373a38c669611dbcab0089f32 Mon Sep 17 00:00:00 2001 From: Jirka Date: Wed, 1 Feb 2023 20:10:22 +0100 Subject: [PATCH 2/2] pylint --- .github/scripts/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/requirements.txt b/.github/scripts/requirements.txt index 38cfba9a..9e48e20d 100644 --- a/.github/scripts/requirements.txt +++ b/.github/scripts/requirements.txt @@ -1,6 +1,6 @@ setuptools <65.7.0 pip <23.0 -pylint <3.0.0 +pylint <2.15.10 pytest <=7.2.1 pytest-pylint <=1.1.2 pytest-runner <6.0.0