-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[ENH]: Chroma client upgrade check #1536
base: main
Are you sure you want to change the base?
[ENH]: Chroma client upgrade check #1536
Conversation
- __version__ is now exported at chromadb package level - New check against pypi for latest chroma version (failures are ignored) Refs: chroma-core#846
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
This doesn't show when I use chroma run and manually hardcode to a lower version. |
The issue with Moving the version check to utils class and then we call it from client and |
works with (.venv) tazarov@Trayans-MacBook-Pro upgrade-notification % python -m chromadb.cli.cli run
((((((((( (((((####
((((((((((((((((((((((#########
((((((((((((((((((((((((###########
((((((((((((((((((((((((((############
(((((((((((((((((((((((((((#############
(((((((((((((((((((((((((((#############
(((((((((((((((((((((((((##############
((((((((((((((((((((((((##############
(((((((((((((((((((((#############
((((((((((((((((##############
((((((((( #########
Running Chroma
Saving data to: ./chroma_data
Connect to chroma at: http://localhost:8000
Getting started guide: https://docs.trychroma.com/getting-started
INFO: [20-12-2023 16:10:35] [notice] A new release of chromadb is available: 0.4.17! -> 0.4.20
INFO: [20-12-2023 16:10:35] [notice] To upgrade, run `pip install --upgrade chromadb`.
... |
It now also works with running Chroma server: (.venv) tazarov@Trayans-MacBook-Pro upgrade-notification % uvicorn chromadb.app:app --workers 1 --host 0.0.0.0 --port 8000 --proxy-headers --log-config chromadb/log_config.yml --reload
INFO: [20-12-2023 17:03:11] Will watch for changes in these directories: ['/Users/tazarov/experiments/chroma-experiments/oss/upgrade-notification']
INFO: [20-12-2023 17:03:11] Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
INFO: [20-12-2023 17:03:11] Started reloader process [76707] using WatchFiles
DEBUG: [20-12-2023 17:03:12] Registering provider: token_config
DEBUG: [20-12-2023 17:03:12] Registering provider: user_token_config
DEBUG: [20-12-2023 17:03:12] Registering provider: token
DEBUG: [20-12-2023 17:03:12] Registering provider: token
INFO: [20-12-2023 17:03:12] [notice] A new release of chromadb is available: 0.4.17! -> 0.4.20
INFO: [20-12-2023 17:03:12] [notice] To upgrade, run `pip install --upgrade chromadb`.
INFO: [20-12-2023 17:03:12] Anonymized telemetry enabled. See https://docs.trychroma.com/telemetry for more information.
|
Note: This is for Python client only
Note:: Partly resolved #846
Description of changes
Summarize the changes made by this PR.
__version__
is now exported at chromadb package levelTest plan
How are these changes tested?
pytest
for pythonDocumentation Changes
N/A