File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,17 @@ jobs:
2121 environment : pypi-release
2222 steps :
2323 - uses : actions/checkout@v3
24+ with :
25+ fetch-depth : 0
2426 - name : Set up Python
2527 uses : actions/setup-python@v3
2628 with :
2729 python-version : ' 3.x'
2830 - name : Install dependencies
2931 run : |
3032 python -m pip install --upgrade pip
31- pip install build
33+ pip install --upgrade setuptools
34+ pip install --upgrade build
3235 - name : Build package
3336 run : python -m build
3437 - name : Publish package
Original file line number Diff line number Diff line change @@ -158,6 +158,4 @@ cython_debug/
158158# and can be added to the global gitignore or merged into this file. For a more nuclear
159159# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160160# .idea/
161- belar /_version.py
162- ** /tmp.ipynb
163161ragas /_version.py
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ dependencies = [
88 " sentence-transformers" ,
99 " nltk" ,
1010 " datasets" ,
11- " spacy" ,
11+ " spacy<4.0.0,>=3.0.0" ,
12+ " en-core-web-sm" ,
1213]
1314dynamic = [" version" , " readme" ]
1415
Original file line number Diff line number Diff line change 1+ try :
2+ from ._version import version as __version__
3+ from ._version import version_tuple
4+ except ImportError :
5+ __version__ = "unknown version"
6+ version_tuple = (0 , 0 , "unknown version" )
You can’t perform that action at this time.
0 commit comments