-
Notifications
You must be signed in to change notification settings - Fork 218
Apply uv tool for dependency version control #1789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
197fca0
use uv tool freeze the requirement version
chensuyue a342a88
update requirements.txt
chensuyue 5195a44
1. Update pip install in Dockerfile with uv pip install.
chensuyue a5f07a0
update cpu requirements
chensuyue 824da9b
Update torch and torchvision installation for cpu test
chensuyue 24e5d3f
update pip compile after rebase main branch
chensuyue 460c6b6
add --system for uv install
chensuyue 1a4c863
Update requirements.txt for comps/guardrails/src/toxicity_detection
chensuyue e20bb67
fix typo
chensuyue 814e900
run mega ut with uv tool
chensuyue 5aca927
update req name
chensuyue 6df2a50
update requirements in linux python 3.11 env.
chensuyue 07ae409
update req name
chensuyue dadfdbc
refresh partial req files
chensuyue 7f24220
fix issue
chensuyue 624c49d
fix ut env
chensuyue 6715d7e
fix hadolint issue
chensuyue a32d08e
install torch cpu separately
chensuyue 09526cf
freeze graspologic>=3.4.1 to keep scipy==1.12.0
chensuyue 4cf3127
update dataprep requirements
chensuyue 5fbc8dd
align comps/guardrails/src/pii_detection/requirements.i with main
chensuyue 9d75cd2
update pii_detection/requirements.txt
chensuyue a9c9902
add venv for ut docker env
chensuyue d8d9a2d
update pinecone
chensuyue 0d1497a
update ut base image into python:3.11-slim
chensuyue 2281624
Merge branch 'main' into suyue/uv
chensuyue c73410b
update requirements compatible with python3.10
chensuyue b7215e3
update dockerfiles for bug fix
chensuyue b48b326
install fixed version deps first, then flexable version deps
chensuyue bfe0ab0
bug fix
chensuyue a576c79
Revert "install fixed version deps first, then flexable version deps"
chensuyue 1eaf0f2
bug fix
chensuyue 11c7b89
update some deps
chensuyue 2845d0a
support uv case minimal test
chensuyue 47ce601
Merge branch 'main' into suyue/uv
chensuyue f2f1790
support uv case minimal test
chensuyue 97aadb5
bug fix for uv dependency version control (#1807)
chensuyue 1f7ec2d
bug issues left in #1807
chensuyue 6d8e67c
fix language_detection and lvms_llama_vision (#1812)
chensuyue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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 contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| # used by microservice | ||
| docarray[full] | ||
| fastapi | ||
|
|
||
| # get data source | ||
| finnhub-python==2.4.22 | ||
| huggingface_hub | ||
| langchain | ||
|
|
||
| #used by tools | ||
| langchain-google-community | ||
| langchain-huggingface | ||
| langchain-openai | ||
| langchain-redis | ||
| langchain_community | ||
| langchainhub | ||
| langgraph | ||
| langsmith | ||
| mysql-connector-python | ||
| numpy | ||
|
|
||
| # used by cloud native | ||
| opentelemetry-api | ||
| opentelemetry-exporter-otlp | ||
| opentelemetry-sdk | ||
| pandas | ||
| prometheus_fastapi_instrumentator | ||
| pyarrow | ||
| pydantic #==1.10.13 | ||
| rank_bm25 | ||
|
|
||
| # used by document loader | ||
| # beautifulsoup4 | ||
| # easyocr | ||
| # Pillow | ||
| # pymupdf | ||
| # python-docx | ||
|
|
||
| # used by embedding | ||
| # sentence_transformers | ||
|
|
||
| # used by Ray | ||
| # ray | ||
| # virtualenv | ||
|
|
||
| redis | ||
| shortuuid | ||
| tavily-python | ||
|
|
||
| # used by agents | ||
| transformers | ||
| transformers[sentencepiece] | ||
|
|
||
| uvicorn |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this drops pytorch CPU version override, don't indirect deps bring it in any more?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This docker image does not include torch in its dependency, so I remove this
--extra-index-url.