Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit 13a262f

Browse files
committed
When running CI on windows, explicitly pip install scikit-misc
1 parent 3e7653c commit 13a262f

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/workflows/continuous-integration-workflow.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,15 @@ jobs:
3434
shell: bash -l {0}
3535
run: conda install -c conda-forge tox-conda
3636

37+
###############################################################################
38+
# tox-conda fixes on Windows (https://github.com/tox-dev/tox-conda/issues/37) #
39+
###############################################################################
40+
41+
- name: Install fixes for Python 3+ on Windows
42+
if: runner.os == 'Windows'
43+
shell: bash -l {0}
44+
run: pip install scikit-misc
45+
3746
- name: Run pytest
3847
shell: bash -l {0}
3948
run: tox -e pytest

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ dependencies:
2828
- tox-conda
2929
- pip:
3030
- kernreg
31-
- scikit-misc==0.1.3
31+
- scikit-misc<=0.1.3
3232
- scikit-learn

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ conda_channels =
2727
deps =
2828
kernreg
2929
scikit-learn
30-
scikit-misc==0.1.3
30+
scikit-misc<=0.1.3
3131
commands =
3232
pytest {posargs}
3333

0 commit comments

Comments
 (0)