Skip to content

Commit

Permalink
github-actions: Restrict scikit-learn to <1.1.3 on x86 (#2511)
Browse files Browse the repository at this point in the history
scikit-learn doesn't provide 32-bit wheels for >=1.1.3, and the build process tries to pull in scipy-1.9.3 triggering the issue that was addressed in e607c09 [0]

Signed-off-by: Jan Vesely <[email protected]>

[0] https://github.com/PrincetonUniversity/PsyNeuLink/actions/runs/3332092764/jobs/5512568444
  • Loading branch information
jvesely authored and jdcpni committed Oct 27, 2022
1 parent 36283c0 commit 2823fff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/install-pnl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ runs:
sed -i /modeci_mdf/d requirements.txt
# pywinpty is a transitive dependency and v1.0+ removed support for x86 wheels
# terminado >= 0.10.0 pulls in pywinpty >= 1.1.0
[[ ${{ runner.os }} = Windows* ]] && pip install "pywinpty<1" "terminado<0.10" "scipy<1.9.2" -c requirements.txt
# scipy >=1.9.2 doesn't provide win32 wheel and GA doesn't have working fortran on windows
# scikit-learn >= 1.1.3 doesn't provide win32 wheel
[[ ${{ runner.os }} = Windows* ]] && pip install "pywinpty<1" "terminado<0.10" "scipy<1.9.2" "scikit-learn<1.1.3" -c requirements.txt
fi
- name: Install updated package
Expand Down

0 comments on commit 2823fff

Please sign in to comment.