[Bug]: HYPOTHESIS does not include in DockerImage
cin-logan opened this issue · comments
What happened?
Hi, I have implemented Basic RBAC on Chroma following this documentation https://docs.trychroma.com/deployment/auth.
However, when I deployed, I received an error stating No module named 'hypothesis' when exporting the environment variable CHROMA_SERVER_AUTHZ_PROVIDER="chromadb.auth.simple_rbac_authz.SimpleRBACAuthorizationProvider". I checked the Docker image and Dockerfile and found that they don't include the Hypothesis library. It's only present in requirements_dev.txt.
Versions
Chroma0.5.0, Python3.11
Relevant log output
No response
@cin-logan, thanks for reporting this. You are right that the RBAC Provider does indeed include some test artifacts:
chroma/chromadb/auth/simple_rbac_authz/__init__.py
Lines 19 to 21 in ec2e717
I believe these were added to fix slow test executions. We'll look into how to remove the dependency.
This is now fixed in 0.5.3. Thanks for reporting!