Skip to content

Commit 094511c

Browse files
committed
fix import error
1 parent 5c6bbf0 commit 094511c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/python-package.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
python-version: ${{ matrix.python-version }}
3333
- name: Install Python dependencies
3434
run: |
35-
python -m pip install --upgrade pip wheel
35+
python -m pip install --upgrade pip setuptools wheel
3636
python -m pip install pytest jinja2
3737
python -m pip install numpy\<1.23
3838
python -m pip install "git+https://github.com/desihub/desiutil.git@${{ matrix.desiutil-version }}#egg=desiutil"
@@ -61,7 +61,7 @@ jobs:
6161
python-version: ${{ matrix.python-version }}
6262
- name: Install Python dependencies
6363
run: |
64-
python -m pip install --upgrade pip wheel
64+
python -m pip install --upgrade pip setuptools wheel
6565
python -m pip install pytest pytest-cov coveralls
6666
python -m pip install -r requirements.txt
6767
python -m pip install --upgrade numpy\<1.23
@@ -95,8 +95,8 @@ jobs:
9595
python-version: ${{ matrix.python-version }}
9696
- name: Install Python dependencies
9797
run: |
98-
python -m pip install --upgrade pip wheel
99-
python -m pip install Sphinx sphinx-toolbox
98+
python -m pip install --upgrade pip setuptools wheel
99+
python -m pip install -r doc/rtd-requirements.txt
100100
- name: Test the documentation
101101
env:
102102
PYTHONPATH: ${{ github.workspace }}/py
@@ -153,7 +153,7 @@ jobs:
153153
python-version: ${{ matrix.python-version }}
154154
- name: Install Python dependencies
155155
run: |
156-
python -m pip install --upgrade pip wheel
156+
python -m pip install --upgrade pip setuptools wheel
157157
python -m pip install pycodestyle
158158
- name: Test the style
159159
# This is equivalent to an allowed falure.

0 commit comments

Comments
 (0)