Skip to content

Commit 396ef1c

Browse files
authored
freeze CI requirements (#431)
* freeze CI requirements, including pylint
1 parent 2d2fa61 commit 396ef1c

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

.github/scripts/build.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ set -e
1919

2020
PYTHON_VERSION=${PYTHON_VERSION:-2.7}
2121

22-
pip install --upgrade setuptools pip
23-
pip install --upgrade pylint pytest pytest-pylint pytest-runner
24-
pip install termcolor
25-
pip install hypothesis python-Levenshtein
26-
pip install mock
22+
pip install -U -r requirements.txt
2723
python setup.py develop
2824
python -m pytest # Run the tests without IPython.
2925
pip install ipython

.github/scripts/requirements.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
setuptools <65.7.0
2+
pip <23.0
3+
pylint <2.15.10
4+
pytest <=7.2.1
5+
pytest-pylint <=1.1.2
6+
pytest-runner <6.0.0
7+
termcolor <2.2.0
8+
hypothesis <6.62.0
9+
python-Levenshtein <0.20.9
10+
mock <5.0.0

0 commit comments

Comments
 (0)