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.