-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update Python versions and CI (#486)
* fix: update corpora module names Updates corpora module names to fix a missing corpora error when running: python -m textblob.download_corpora This should fix CI errors and #482 and #474 * chore: update Python versions and CI Updates supported Python versions to be 3.9-3.13 and updates CI to use the built-in textblob.download_corpora command * fix: corpora download in CI * fix: bring back lowest env in Tox/CI Adds back the "lowest" env in Tox/CI to ensure support in the lowest supported Python + NLTK versions * chore: add johnfraney to Authors.rst * Update changelog * Update changelog --------- Co-authored-by: Steven Loria <[email protected]>
- Loading branch information
1 parent
775461f
commit 8df5642
Showing
6 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,18 +13,18 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
include: | ||
- { name: "3.8", python: "3.8", tox: py38 } | ||
- { name: "3.12", python: "3.12", tox: py312 } | ||
- { name: "lowest", python: "3.8", tox: py38-lowest } | ||
- { name: "3.9", python: "3.9", tox: py39 } | ||
- { name: "3.13", python: "3.13", tox: py313 } | ||
- { name: "lowest", python: "3.9", tox: py39-lowest } | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Download nltk data | ||
run: wget https://s3.amazonaws.com/textblob/nltk_data-0.11.0.tar.gz | ||
- name: Extract nltk data | ||
run: tar -xzvf nltk_data-0.11.0.tar.gz -C ~ | ||
run: | | ||
pip install . | ||
python -m textblob.download_corpora | ||
- run: python -m pip install tox | ||
- run: python -m tox -e${{ matrix.tox }} | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters