Skip to content

Commit

Permalink
ci: specify minimum version of sudachidict-* packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rokm committed Dec 18, 2023
1 parent d71971f commit 9f5e03c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ jobs:
set -e
echo '-r requirements-test.txt' >> requirements-test-libraries.txt
if grep -q pyqtgraph requirements-test-libraries.txt ; then echo PyQt5 >> requirements-test-libraries.txt ;fi
# NOTE: specify minimum allowed version for sudachidict-* packages, to prevent pip from installing invalid
# SudachiDict_full-0.0.0-py3-none-any.whl due to --prefer-binary switch used with pip install...
if grep -q sudachipy requirements-test-libraries.txt; then
echo sudachidict-small >> requirements-test-libraries.txt;
echo sudachidict-core >> requirements-test-libraries.txt;
echo sudachidict-full >> requirements-test-libraries.txt;
echo "sudachidict-small>=20230927" >> requirements-test-libraries.txt;
echo "sudachidict-core>=20230927" >> requirements-test-libraries.txt;
echo "sudachidict-full>=20230927" >> requirements-test-libraries.txt;
fi
cat requirements-test-libraries.txt
Expand Down

0 comments on commit 9f5e03c

Please sign in to comment.