Skip to content

Commit 75c1c59

Browse files
authored
pin setuptools (#2468)
* pin setuptools * pin different versions for python 3.7 and 3.12 * pin different versions for python 3.7 and 3.12
1 parent 2414d75 commit 75c1c59

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,15 @@ jobs:
101101
with:
102102
python-version: ${{ matrix.python-version }}
103103
cache: "pip"
104+
# setuptools is currently pinned due to new enforcement of no dashes in upstream packages
104105
- name: Upgrade pip
105106
run: |
106107
python -m pip install --upgrade pip
107-
pip install --upgrade wheel setuptools build
108+
if [[ "${{ matrix.python-version }}" == "3.7" ]]; then
109+
pip install --upgrade wheel build setuptools==68.0.0
110+
elif [[ "${{ matrix.python-version }}" == "3.12" ]]; then
111+
pip install --upgrade wheel build setuptools==77.0.3
112+
fi
108113
- name: Install
109114
run: pip install --disable-pip-version-check -e .[tests]
110115
- name: Test

0 commit comments

Comments
 (0)