Skip to content

Commit 4d2a4d4

Browse files
committed
fix pytest-sphinx dep
1 parent a55649b commit 4d2a4d4

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,16 @@ jobs:
7878
python-version: ${{ matrix.python-version }}
7979

8080
- name: Install package
81+
# NOTE(stes): https://github.com/twmr/pytest-sphinx/issues/69
82+
# To run all tests, currently a manual install from github is required:
83+
# https://github.com/twmr/pytest-sphinx/archive/refs/tags/v0.7.0.tar.gz
84+
# Remove the respective line and the comment in setup.cfg once 0.7.0 is
85+
# available on PyPI.
8186
run: |
8287
python -m pip install --upgrade pip setuptools wheel
8388
python -m pip install torch==${{ matrix.torch-version }} --extra-index-url https://download.pytorch.org/whl/cpu
8489
pip install '.[dev,datasets,integrations]'
90+
pip install https://github.com/twmr/pytest-sphinx/archive/refs/tags/v0.7.0.tar.gz
8591
8692
- name: Check sklearn legacy version
8793
if: matrix.sklearn-version == 'legacy'

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@ dev =
103103
pytest-xdist
104104
pytest-timeout
105105
# NOTE(stes): https://github.com/twmr/pytest-sphinx/issues/69
106-
pytest-sphinx @ https://github.com/twmr/pytest-sphinx/archive/refs/tags/v0.7.0.tar.gz
106+
# To run all tests, currently a manual install from github is required:
107+
# https://github.com/twmr/pytest-sphinx/archive/refs/tags/v0.7.0.tar.gz
108+
# See .github/workflows/build.yml for more details.
109+
pytest-sphinx
107110
licenseheaders
108111
interrogate
109112
# TODO(stes) Add back once upstream issue

0 commit comments

Comments
 (0)