Skip to content

Commit

Permalink
fix: fix docarray at v1 (#911)
Browse files Browse the repository at this point in the history
* fix: fix docarray at v1

* fix: fix docarray at v1

* fix: pip version

* fix: pip version

* fix: pip version
  • Loading branch information
ZiniuYu authored Apr 19, 2023
1 parent 35733a0 commit 280b925
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Prepare enviroment
run: |
python -m pip install --upgrade pip
python -m pip install pip==23.0.1
python -m pip install wheel pytest pytest-cov nvidia-pyindex
pip install -e "client/[test]"
pip install -e "server/[tensorrt]"
Expand Down Expand Up @@ -211,7 +211,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Prepare enviroment
run: |
python -m pip install --upgrade pip
python -m pip install pip==23.0.1
python -m pip install wheel pytest pytest-cov nvidia-pyindex
pip install -e "client/[test]"
pip install -e "server/[onnx]"
Expand Down
2 changes: 1 addition & 1 deletion client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
long_description_content_type='text/markdown',
zip_safe=False,
setup_requires=['setuptools>=18.0', 'wheel'],
install_requires=['jina>=3.12.0', 'docarray[common]>=0.19.0', 'packaging'],
install_requires=['jina>=3.12.0', 'docarray[common]>=0.19.0,<0.30.0', 'packaging'],
extras_require={
'test': [
'pytest',
Expand Down
1 change: 1 addition & 0 deletions server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
'regex',
'torchvision<=0.13.0' if sys.version_info <= (3, 7, 2) else 'torchvision',
'jina>=3.12.0',
'docarray<0.30.0',
'prometheus-client',
'open_clip_torch>=2.8.0',
],
Expand Down

0 comments on commit 280b925

Please sign in to comment.