Skip to content

Commit

Permalink
Pin setuptools in CI
Browse files Browse the repository at this point in the history
The recently released setuptools 64.0.0 release introduced a regression
that prevents editable installs from working (see pypa/setuptools#3498).
This is blocking CI as we use editable installs to build and install
terra for testing. When there is an upstream release fixing this issue
we can remove the pins.
  • Loading branch information
mtreinish committed Aug 11, 2022
1 parent a278047 commit 7b8061a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .azure/docs-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- bash: |
set -e
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel
pip install -U tox
sudo apt-get update
sudo apt-get install -y graphviz
Expand Down
2 changes: 1 addition & 1 deletion .azure/lint-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- bash: |
set -e
python -m pip install --upgrade pip setuptools wheel virtualenv
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel virtualenv
virtualenv test-job
source test-job/bin/activate
pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion .azure/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- bash: |
set -e
python -m pip install --upgrade pip setuptools wheel virtualenv
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel virtualenv
virtualenv test-job
displayName: "Prepare venv"
Expand Down
2 changes: 1 addition & 1 deletion .azure/test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- bash: |
set -e
python -m pip install --upgrade pip setuptools wheel virtualenv
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel virtualenv
virtualenv test-job
source test-job/bin/activate
pip install -U -r requirements.txt -r requirements-dev.txt -c constraints.txt
Expand Down
2 changes: 1 addition & 1 deletion .azure/test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- bash: |
set -e
python -m pip install --upgrade pip setuptools wheel virtualenv
python -m pip install --upgrade pip 'setuptools<64.0.0' wheel virtualenv
virtualenv test-job
source test-job/Scripts/activate
pip install -r requirements.txt -r requirements-dev.txt -c constraints.txt
Expand Down

0 comments on commit 7b8061a

Please sign in to comment.