Skip to content

Commit

Permalink
fix sklearn install problem
Browse files Browse the repository at this point in the history
  • Loading branch information
taishi-i committed Jul 31, 2023
1 parent 9d37c39 commit 5913e95
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.8]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -24,23 +24,23 @@ jobs:
run: |
pytest
build-tokenizers:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
pip install .[all_tokenizers]
- name: Test with pytest
run: |
pytest
# build-tokenizers:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# python-version: [3.6, 3.7, 3.8]
#
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python ${{ matrix.python-version }}
# uses: actions/setup-python@v2
# with:
# python-version: ${{ matrix.python-version }}
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install pytest
# pip install .[all_tokenizers]
# - name: Test with pytest
# run: |
# pytest
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def _long_description():
download_url='https://github.com/taishi-i/toiro/archive/0.0.8.tar.gz',
packages=['toiro.datadownloader', 'toiro.tokenizers', 'toiro.classifiers'],
install_requires=[
'requests', 'tqdm', 'pandas', 'sklearn', 'py-cpuinfo', 'janome'
'requests', 'tqdm', 'pandas', 'scikit-learn', 'py-cpuinfo', 'janome'
],
extras_require={
'all_tokenizers': extras_requires_tokenizers,
Expand Down

0 comments on commit 5913e95

Please sign in to comment.