File tree Expand file tree Collapse file tree 5 files changed +8
-18
lines changed Expand file tree Collapse file tree 5 files changed +8
-18
lines changed Original file line number Diff line number Diff line change @@ -22,12 +22,10 @@ jobs:
2222 env :
2323 SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL : True
2424 run : |
25- python -m pip install --upgrade pip
26- python -m pip install coverage coveralls pytest
25+ python -m pip install --upgrade "pip<24.1" "setuptools==73.0.1"
2726 if [ -f docker_requirements.txt ]; then pip install -r docker_requirements.txt; fi
2827 python -m pip install .[full]
2928 python -m pip install boto smart_open sphinx sphinx-rtd-theme
30- python -m nltk.downloader omw-1.4
3129 - name : Build sphinx documentation
3230 run : |
3331 cd docs && make html
Original file line number Diff line number Diff line change @@ -29,12 +29,13 @@ jobs:
2929 uses : actions/setup-python@v5
3030 with :
3131 python-version : ${{ matrix.python-version }}
32+ cache : " pip"
3233 - name : Print system info
3334 run : sw_vers; python --version; arch
3435 - name : Install build tools
3536 run : |
3637 python -m pip install --upgrade "pip<24.1" "setuptools==73.0.1"
37- python -m pip install coverage coveralls pytest
38+ python -m pip install coverage coveralls
3839 - name : Install ICU
3940 run : |
4041 brew install icu4c
5960 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6061 COVERALLS_SERVICE_NAME : github
6162 run : |
62- python -c "import nltk; nltk.download('omw-1.4')"
6363 coveralls
6464# coverage run -m unittest discover
Original file line number Diff line number Diff line change @@ -26,21 +26,15 @@ jobs:
2626 - name : Checkout
2727 uses : actions/checkout@v4
2828 - name : Set up Python ${{ matrix.python-version }}
29- uses : conda-incubator /setup-miniconda@v3
29+ uses : actions /setup-python@v5
3030 with :
3131 python-version : ${{ matrix.python-version }}
32- auto-activate-base : true
33- auto-update-conda : true
34- - name : Show environment
35- shell : powershell
36- run : |
37- conda info
38- conda list
32+ cache : " pip"
3933 - name : Install build tools
4034 shell : powershell
4135 run : |
4236 python -m pip install --upgrade "pip<24.1" "setuptools==73.0.1"
43- python -m pip install coverage coveralls pytest
37+ python -m pip install coverage coveralls
4438 - name : Install ICU
4539 shell : powershell
4640 run : |
6660 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6761 COVERALLS_SERVICE_NAME : github
6862 run : |
69- python -c "import nltk; nltk.download('omw-1.4')"
7063 coveralls
7164# coverage run -m unittest discover
Original file line number Diff line number Diff line change @@ -29,10 +29,11 @@ jobs:
2929 uses : actions/setup-python@v5
3030 with :
3131 python-version : ${{ matrix.python-version }}
32+ cache : " pip"
3233 - name : Install build tools
3334 run : |
3435 python -m pip install --upgrade "pip<24.1" "setuptools==73.0.1"
35- python -m pip install coverage coveralls pytest
36+ python -m pip install coverage coveralls
3637 - name : Install PyTorch
3738 run : python -m pip install torch
3839 # if needed, get pip wheel link from http://download.pytorch.org/whl/torch/
4950 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5051 COVERALLS_SERVICE_NAME : github
5152 run : |
52- python -c "import nltk; nltk.download('omw-1.4')"
5353 coveralls
5454# coverage run -m unittest discover
Original file line number Diff line number Diff line change 3939
4040requirements = [
4141 "backports.zoneinfo; python_version<'3.9'" ,
42- "nltk>=3.3" ,
4342 "requests>=2.22.0" ,
4443 "tzdata; sys_platform == 'win32'"
4544]
You can’t perform that action at this time.
0 commit comments