Skip to content

Commit

Permalink
Merge pull request #138 from stephenhky/python3_11
Browse files Browse the repository at this point in the history
Support for Python 3.11
  • Loading branch information
stephenhky authored Jun 20, 2023
2 parents d20fbe5 + e98d097 commit c7a47d5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 108 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@ jobs:
docker:
- image: cimg/python:3.10

py311:
<<: *shared
docker:
- image: cimg/python:3.11


workflows:
version: 2
Expand All @@ -57,3 +62,4 @@ workflows:
- py38
- py39
- py310
- py311
101 changes: 0 additions & 101 deletions bin/WordEmbedAPI

This file was deleted.

3 changes: 0 additions & 3 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ Required Packages
- Pandas_ (Python Data Analysis Library, version >= 1.0.0)
- snowballstemmer_ (Snowball Stemmer, version >= 2.0.0)
- TensorFlow_ (TensorFlow, version >= 2.0.0)
- Flask_ (Flask, version >= 1.1.0)
- Joblib_ (Joblib: lightweight Python pipelining, version >= 0.14)

Home: :doc:`index`
Expand All @@ -88,6 +87,4 @@ Home: :doc:`index`
.. _gensim: https://radimrehurek.com/gensim/
.. _Pandas: http://pandas.pydata.org/
.. _snowballstemmer: https://github.com/snowballstem/snowball
.. _TensorFlow: https://www.tensorflow.org/
.. _Flask: https://flask.palletsprojects.com/
.. _Joblib: https://joblib.readthedocs.io/en/latest/
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Cython>=0.29.0
numpy>=1.16.0
scipy>=1.6.0
joblib>=0.14
scikit-learn>=0.23.0
scikit-learn>=0.22.0
tensorflow>=2.5.0
keras>=2.4.0
gensim>=4.0.0
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_requirements():


setup(name='shorttext',
version='1.5.8',
version='1.5.9a1',
description="Short Text Mining",
long_description=package_description(),
long_description_content_type='text/markdown',
Expand Down Expand Up @@ -86,8 +86,7 @@ def test_requirements():
setup_requires=setup_requirements(),
install_requires=install_requirements(),
scripts=['bin/ShortTextCategorizerConsole',
'bin/ShortTextWordEmbedSimilarity',
'bin/WordEmbedAPI'],
'bin/ShortTextWordEmbedSimilarity'],
test_suite="test",
tests_requires=test_requirements(),
zip_safe=False)

0 comments on commit c7a47d5

Please sign in to comment.