File tree 4 files changed +12
-4
lines changed
4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,17 @@ jobs:
21
21
environment : pypi-release
22
22
steps :
23
23
- uses : actions/checkout@v3
24
+ with :
25
+ fetch-depth : 0
24
26
- name : Set up Python
25
27
uses : actions/setup-python@v3
26
28
with :
27
29
python-version : ' 3.x'
28
30
- name : Install dependencies
29
31
run : |
30
32
python -m pip install --upgrade pip
31
- pip install build
33
+ pip install --upgrade setuptools
34
+ pip install --upgrade build
32
35
- name : Build package
33
36
run : python -m build
34
37
- name : Publish package
Original file line number Diff line number Diff line change @@ -158,6 +158,4 @@ cython_debug/
158
158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159
159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
160
# .idea/
161
- belar /_version.py
162
- ** /tmp.ipynb
163
161
ragas /_version.py
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ dependencies = [
8
8
" sentence-transformers" ,
9
9
" nltk" ,
10
10
" datasets" ,
11
- " spacy" ,
11
+ " spacy<4.0.0,>=3.0.0" ,
12
+ " en-core-web-sm" ,
12
13
]
13
14
dynamic = [" version" , " readme" ]
14
15
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