-
Notifications
You must be signed in to change notification settings - Fork 157
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
We broke scanpy’s tests #1342
Comments
I don't know that it's a bug to import from a private module that has optional dependencies (which are specified under Seems related to why I had to pin anndata fairly high here: scverse/scanpy#2816 There really is an issue of needing a similar set of helpers, but not wanting these helpers to be public because they're not considered stable. Also, I really think the immediate answer is to add zarr with a TODO comment to the scanpy test dependencies. |
@ilan-gold is on it. Let’s not have zarr feature-creep its way into scanpy’s minimal test deps. It’s the day of hotfixes it seems |
Once pytest 8.0 is out, we can finally tackle the whole reorganization:
|
I'm not against doing a testing module, though I do think we have to be selective about what goes in it and probably need to test it more thoroughly. I just don't think that this problem neccesarily needs an immediate bug fix release. |
totally! those are all reasons why we should do it!
I don’t like accumulating hacks, I guess. Doing it the other way means we can forget about it, and can’t merge the minimum-deps branch before we have removed zarr again. |
Could do a
I'm not sure how that PR would be more affected by this? |
I've checked the current 0.10.x branch against scanpy, I think a Any objection? |
I think I don’t fully understand. If you just mean calling the release |
Guess it's just flaky somehow? https://github.com/scverse/anndata/actions/runs/7670870992/job/20907984190 Anyways, release made |
Please make sure these conditions are met
Report
The tests were broken in #1266
pip install anndata # anndata[testing] doesn‘t exist
Traceback:
The fix is not to add
zarr
to scanpy’s test dependencies, but to make thezarr
import conditionalAfterwards, it’s time to finally fix #646
Versions
The text was updated successfully, but these errors were encountered: