Skip to content

Commit

Permalink
[BUG] Fix CVP tests by forcing numpy reimport (#2814)
Browse files Browse the repository at this point in the history
## Description of changes

*Summarize the changes made by this PR.*
 - Improvements & Bug fixes
	 - Fix CVP tests which broke in #2811 by reimporting numpy
 - New functionality
	 - None

## Test plan
*How are these changes tested?*
- [x] Tests pass locally with `pytest` for python, `yarn test` for js,
`cargo test` for rust

## Documentation Changes
None
  • Loading branch information
HammadB committed Sep 17, 2024
1 parent 94a4e06 commit b77f73b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromadb/test/property/test_cross_version_persist.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
version_re = re.compile(r"^[0-9]+\.[0-9]+\.[0-9]+$")

# Some modules do not work across versions, since we upgrade our support for them, and should be explicitly reimported in the subprocess
VERSIONED_MODULES = ["pydantic"]
VERSIONED_MODULES = ["pydantic", "numpy"]


def versions() -> List[str]:
Expand Down

0 comments on commit b77f73b

Please sign in to comment.