-
Notifications
You must be signed in to change notification settings - Fork 8.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove pip support for api service (#5453)
Co-authored-by: crazywoola <[email protected]> Co-authored-by: Bowen Liang <[email protected]>
- Loading branch information
1 parent
6a09409
commit 9a5c423
Showing
5 changed files
with
4 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash | ||
|
||
cd api && pip install -r requirements.txt | ||
poetry install -C api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,76 +14,6 @@ concurrency: | |
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: | ||
- "3.10" | ||
- "3.11" | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: 'pip' | ||
cache-dependency-path: | | ||
./api/requirements.txt | ||
./api/requirements-dev.txt | ||
- name: Install dependencies | ||
run: pip install -r ./api/requirements.txt -r ./api/requirements-dev.txt | ||
|
||
- name: Run Unit tests | ||
run: dev/pytest/pytest_unit_tests.sh | ||
|
||
- name: Run ModelRuntime | ||
run: dev/pytest/pytest_model_runtime.sh | ||
|
||
- name: Run Tool | ||
run: dev/pytest/pytest_tools.sh | ||
|
||
- name: Set up Sandbox | ||
uses: hoverkraft-tech/[email protected] | ||
with: | ||
compose-file: | | ||
docker/docker-compose.middleware.yaml | ||
services: | | ||
sandbox | ||
ssrf_proxy | ||
- name: Run Workflow | ||
run: dev/pytest/pytest_workflow.sh | ||
|
||
- name: Set up Vector Stores (Weaviate, Qdrant, PGVector, Milvus, PgVecto-RS, Chroma) | ||
uses: hoverkraft-tech/[email protected] | ||
with: | ||
compose-file: | | ||
docker/docker-compose.middleware.yaml | ||
docker/docker-compose.qdrant.yaml | ||
docker/docker-compose.milvus.yaml | ||
docker/docker-compose.pgvecto-rs.yaml | ||
docker/docker-compose.pgvector.yaml | ||
docker/docker-compose.chroma.yaml | ||
docker/docker-compose.oracle.yaml | ||
services: | | ||
weaviate | ||
qdrant | ||
etcd | ||
minio | ||
milvus-standalone | ||
pgvecto-rs | ||
pgvector | ||
chroma | ||
oracle | ||
- name: Test Vector Stores | ||
run: dev/pytest/pytest_vdb.sh | ||
|
||
test-in-poetry: | ||
name: API Tests | ||
runs-on: ubuntu-latest | ||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,96 +0,0 @@ | ||
beautifulsoup4==4.12.2 | ||
flask~=3.0.1 | ||
Flask-SQLAlchemy~=3.0.5 | ||
SQLAlchemy~=2.0.29 | ||
Flask-Compress~=1.14 | ||
flask-login~=0.6.3 | ||
flask-migrate~=4.0.5 | ||
flask-restful~=0.3.10 | ||
flask-cors~=4.0.0 | ||
gunicorn~=22.0.0 | ||
gevent~=23.9.1 | ||
openai~=1.29.0 | ||
tiktoken~=0.7.0 | ||
psycopg2-binary~=2.9.6 | ||
pycryptodome==3.19.1 | ||
python-dotenv==1.0.0 | ||
Authlib==1.3.1 | ||
boto3==1.34.123 | ||
cachetools~=5.3.0 | ||
weaviate-client~=3.21.0 | ||
mailchimp-transactional~=1.0.50 | ||
scikit-learn==1.2.2 | ||
sentry-sdk[flask]~=1.39.2 | ||
sympy==1.12 | ||
jieba==0.42.1 | ||
celery~=5.3.6 | ||
redis[hiredis]~=5.0.3 | ||
chardet~=5.1.0 | ||
python-docx~=1.1.0 | ||
pypdfium2~=4.17.0 | ||
resend~=0.7.0 | ||
pyjwt~=2.8.0 | ||
anthropic~=0.23.1 | ||
newspaper3k==0.2.8 | ||
wikipedia==1.4.0 | ||
readabilipy==0.2.0 | ||
google-ai-generativelanguage==0.6.1 | ||
google-api-core==2.18.0 | ||
google-api-python-client==2.90.0 | ||
google-auth==2.29.0 | ||
google-auth-httplib2==0.2.0 | ||
google-generativeai==0.5.0 | ||
googleapis-common-protos==1.63.0 | ||
google-cloud-storage==2.16.0 | ||
replicate~=0.22.0 | ||
websocket-client~=1.7.0 | ||
dashscope[tokenizer]~=1.17.0 | ||
huggingface_hub~=0.16.4 | ||
transformers~=4.35.0 | ||
tokenizers~=0.15.0 | ||
pandas[performance,excel]~=2.2.2 | ||
xinference-client==0.9.4 | ||
safetensors~=0.4.3 | ||
zhipuai==1.0.7 | ||
werkzeug~=3.0.1 | ||
pymilvus==2.3.1 | ||
qdrant-client==1.7.3 | ||
cohere~=5.2.4 | ||
pyyaml~=6.0.1 | ||
numpy~=1.26.4 | ||
unstructured[docx,pptx,msg,md,ppt,epub]~=0.10.27 | ||
bs4~=0.0.1 | ||
markdown~=3.5.1 | ||
httpx[socks]~=0.27.0 | ||
matplotlib~=3.8.2 | ||
yfinance~=0.2.40 | ||
pydub~=0.25.1 | ||
gmpy2~=2.1.5 | ||
numexpr~=2.9.0 | ||
duckduckgo-search~=6.1.5 | ||
arxiv==2.1.0 | ||
yarl~=1.9.4 | ||
twilio~=9.0.4 | ||
qrcode~=7.4.2 | ||
azure-storage-blob==12.13.0 | ||
azure-identity==1.16.1 | ||
lxml==5.1.0 | ||
pydantic~=2.7.4 | ||
pydantic_extra_types~=2.8.1 | ||
pydantic-settings~=2.3.3 | ||
pgvecto-rs==0.1.4 | ||
tcvectordb==1.3.2 | ||
firecrawl-py==0.0.5 | ||
oss2==2.18.5 | ||
pgvector==0.2.5 | ||
pymysql==1.1.1 | ||
tidb-vector==0.0.9 | ||
google-cloud-aiplatform==1.49.0 | ||
vanna[postgres,mysql,clickhouse,duckdb]==0.5.5 | ||
tencentcloud-sdk-python-hunyuan~=3.0.1158 | ||
chromadb~=0.5.1 | ||
novita_client~=0.5.6 | ||
tenacity~=8.3.0 | ||
opensearch-py==2.4.0 | ||
cos-python-sdk-v5==1.9.30 | ||
oracledb~=2.2.1 | ||