Skip to content

Commit 5b525b9

Browse files
committed
Pin PIP version for pip-compile job
This commit pins `pip==22.0.0` in the `tox` environment `pip-compile` as later versions of it are not properly working, causing the following failure when running the scheduled CI via GH Actions: ``` AttributeError: 'function' object has no attribute 'cache_clear' ``` Signed-off-by: Jonathan Gangi <[email protected]>
1 parent 334a949 commit 5b525b9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ commands=
1515
[testenv:pip-compile]
1616
basepython = python3.9
1717
skip_install = true
18-
deps = pip-tools
18+
deps =
19+
pip-tools
20+
pip==22.0.0
1921
commands =
2022
pip-compile -U --generate-hashes --reuse-hashes --output-file=requirements.txt
2123
pip-compile -U --generate-hashes --reuse-hashes --output-file=requirements-test.txt setup.py requirements-test.in

0 commit comments

Comments
 (0)