Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .github/requirements-cicd.txt

This file was deleted.

10 changes: 0 additions & 10 deletions .github/requirements-test.txt

This file was deleted.

4 changes: 1 addition & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install wheel
pip install -r .github/requirements-test.txt
pip install -r .github/requirements-cicd.txt
pip install --no-cache-dir ".[full]"
pip install --no-cache-dir ".[full,test]"
- name: Test
id: test
run: |
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install wheel
pip install -r .github/requirements-test.txt
pip install -r .github/requirements-cicd.txt
pip install --no-cache-dir ".[full]"
pip install --no-cache-dir ".[full,test]"
- name: Test
id: test
run: |
Expand Down
8 changes: 8 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ The following dependencies will be installed to enable additional features:
Alternatively, you can first do basic installation and then install missing dependencies on-demand.
````

````{tab} Developement install

```bash
pip install "docarray[full,test]"
```

This will install all requirements for reproducing tests on your local dev environment.
````


```pycon
Expand Down
21 changes: 20 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,26 @@
'av',
'fastapi',
'uvicorn',
]
],
'test': [
'pytest',
'pytest-timeout',
'pytest-mock',
'pytest-cov',
'pytest-repeat',
'pytest-reraise',
'mock',
'pytest-custom_exit_code',
'black',
'tensorflow==2.7.0',
'paddlepaddle==2.2.0',
'torch==1.9.0',
'torchvision==0.10.0',
'datasets',
'onnx',
'onnxruntime',
'jupyterlab',
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand Down