From 094511c5bb528e93110c9c401ac8cba6f0e63206 Mon Sep 17 00:00:00 2001 From: Benjamin Alan Weaver Date: Wed, 18 Sep 2024 09:44:38 -0700 Subject: [PATCH] fix import error --- .github/workflows/python-package.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 864f35c6..e823ba85 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -32,7 +32,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Python dependencies run: | - python -m pip install --upgrade pip wheel + python -m pip install --upgrade pip setuptools wheel python -m pip install pytest jinja2 python -m pip install numpy\<1.23 python -m pip install "git+https://github.com/desihub/desiutil.git@${{ matrix.desiutil-version }}#egg=desiutil" @@ -61,7 +61,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Python dependencies run: | - python -m pip install --upgrade pip wheel + python -m pip install --upgrade pip setuptools wheel python -m pip install pytest pytest-cov coveralls python -m pip install -r requirements.txt python -m pip install --upgrade numpy\<1.23 @@ -95,8 +95,8 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Python dependencies run: | - python -m pip install --upgrade pip wheel - python -m pip install Sphinx sphinx-toolbox + python -m pip install --upgrade pip setuptools wheel + python -m pip install -r doc/rtd-requirements.txt - name: Test the documentation env: PYTHONPATH: ${{ github.workspace }}/py @@ -153,7 +153,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install Python dependencies run: | - python -m pip install --upgrade pip wheel + python -m pip install --upgrade pip setuptools wheel python -m pip install pycodestyle - name: Test the style # This is equivalent to an allowed falure.