Skip to content

Commit

Permalink
Temporarily pin requests
Browse files Browse the repository at this point in the history
The latest version of requests breaks the docker library.
  • Loading branch information
rra committed May 20, 2024
1 parent 9c77401 commit 41fae0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ jobs:
steps:
- uses: actions/checkout@v4

# Temporarily pin requests because 2.32.0 breaks docker 6.1.3.
- name: Run tox
uses: lsst-sqre/run-tox@v1
with:
python-version: ${{ matrix.python }}
tox-envs: "py,typing"
tox-plugins: "tox-docker"
tox-plugins: "tox-docker requests<2.32.0"

docs:

Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ clean:
rm -rf docs/_build
rm -rf docs/api

# Temporarily pin requests because 2.32.0 breaks docker 6.1.3.
.PHONY: init
init:
pip install --upgrade pip tox tox-docker pre-commit
pip install --upgrade pip tox tox-docker pre-commit 'requests<2.32.0'
pip install --upgrade -e ".[arq,db,dev,gcs,kubernetes]"
pre-commit install
rm -rf .tox
Expand Down

0 comments on commit 41fae0c

Please sign in to comment.