Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Polish dependencies and support python3.11 #780

Merged
merged 12 commits into from
Mar 10, 2024
5 changes: 0 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ tqdm
word2number
num2words
more-itertools
PySocks!=1.5.7,>=1.5.6
pinyin>=0.4.0
jieba
OpenHowNet
pycld2
click<8.1.0
pinyin

10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@
]

extras["tensorflow"] = [
"tensorflow==2.9.1",
"tensorflow>=2.9.1",
"tensorflow_hub",
"tensorflow_text>=2",
"tensorflow_text>=2.9.0",
"tensorboardX",
"tensorflow-estimator==2.9.0",
"tensorflow-estimator>=2.9.0",
]

extras["optional"] = [
"sentence_transformers==2.2.0",
"stanza",
"visdom",
"wandb",
"gensim==4.1.2",
"gensim",
]

# For developers, install development tools along with all optional dependencies.
Expand Down Expand Up @@ -78,6 +78,6 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
python_requires=">=3.8",
install_requires=open("requirements.txt").readlines(),
)
Loading