Skip to content

Commit 4debf60

Browse files
authored
Merge pull request #950 from bact/rm-wordnet-in-setuppy
Remove unused pytest
2 parents b16255a + 41f914a commit 4debf60

File tree

5 files changed

+8
-18
lines changed

5 files changed

+8
-18
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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

.github/workflows/unittest-macos.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
@@ -59,6 +60,5 @@ jobs:
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

.github/workflows/unittest-windows.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff 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: |
@@ -66,6 +60,5 @@ jobs:
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

.github/workflows/unitttest-ubuntu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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/
@@ -49,6 +50,5 @@ jobs:
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

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
requirements = [
4141
"backports.zoneinfo; python_version<'3.9'",
42-
"nltk>=3.3",
4342
"requests>=2.22.0",
4443
"tzdata; sys_platform == 'win32'"
4544
]

0 commit comments

Comments
 (0)