Skip to content

Commit

Permalink
add constraints.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiyan-sheng committed Aug 19, 2024
1 parent 68dfc03 commit 52bfd44
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
urllib3==1.26.18
1 change: 0 additions & 1 deletion requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ujson==5.9.0
pysimdjson==5.0.2
python-rapidjson==1.14
cysimdjson==23.8
urllib3==1.26.18
responses==0.24.1
testcontainers==3.7.1
pyOpenSSL==24.0.0
6 changes: 3 additions & 3 deletions tests/scripts/docker/mypy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ docker run \
--rm lint_mypy \
/bin/bash \
-c "pip install --user -U pip
pip install --user -r requirements-lint.txt --cache-dir ${docker_pip_cache}
pip install --user -r requirements-tests.txt --cache-dir ${docker_pip_cache}
pip install --user -r requirements.txt --cache-dir ${docker_pip_cache}
pip install --user -r requirements-lint.txt -c constraints.txt --cache-dir ${docker_pip_cache}
pip install --user -r requirements-tests.txt -c constraints.txt --cache-dir ${docker_pip_cache}
pip install --user -r requirements.txt -c constraints.txt --cache-dir ${docker_pip_cache}
PATH=\${PATH}:\${HOME}/.local/bin/ /bin/bash ./tests/scripts/mypy.sh $*"

0 comments on commit 52bfd44

Please sign in to comment.