Skip to content

Commit

Permalink
release 0.3.4 (bug fix #48)
Browse files Browse the repository at this point in the history
* restricted the package dependency of spacy to <3

- Reported by #48
- This will act as a temporary fix. Permanent fix in #49

* added py 3.9 to github action and updated requirements.txt

* some ci issue occuring when installing mecab-python3
  • Loading branch information
R1j1t authored Feb 10, 2021
1 parent f8cbeb8 commit 63003ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.7, 3.8, 3.9.1]

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Flask
spacy
spacy<3.0.0
editdistance
pytest
torch
transformers

# Required for Japanese Language
mecab-python3==0.996.5
# mecab-python3==0.996.5
ipadic==1.0.0
unidic-lite==1.0.6

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="contextualSpellCheck",
version="0.3.3",
version="0.3.4",
author="R1j1t",
author_email="[email protected]",
description="Contextual spell correction using BERT (bidirectional representations)",
Expand All @@ -28,5 +28,5 @@
"Development Status :: 4 - Beta",
],
python_requires=">=3.6",
install_requires=["torch", "editdistance", "transformers", "spacy"],
install_requires=["torch", "editdistance", "transformers", "spacy < 3.0.0"],
)

0 comments on commit 63003ac

Please sign in to comment.