(fix): check xarray installation when using any xarray-dependent code + fix string dtypes with new bound#1991
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1991 +/- ##
==========================================
- Coverage 87.14% 85.35% -1.80%
==========================================
Files 46 46
Lines 6986 7005 +19
==========================================
- Hits 6088 5979 -109
- Misses 898 1026 +128
|
|
The codecov is complaining because we need a similar fix to scverse/scanpy#3607 (comment) where we have "min-deps" i.e., no xarray dask etc. |
|
Yeah! Would you do the equivalent PR to scverse/scanpy#3607 or should I? |
|
I'm happy to do it @flying-sheep. |
for more information, see https://pre-commit.ci
…ta into ig/error_on_read_elem_lazy
118a304 to
1f91433
Compare
|
The awkward array docs are down (?) so we'll just rerun tomorrow |
This comment was marked as resolved.
This comment was marked as resolved.
|
@flying-sheep These tests are going to fail now because of an issue with xarray - see #2008 which is now based against this branch for test pass/failure |
There was a problem hiding this comment.
See #1991 (comment)
also why did you change away from pytestmark = ...? ideally we keep it that way, so pytest can collect all tests and then just skips the ones it can't run.
in scanpy's test suite, I'm pretty sure pytest is able to collect all tests always.
|
@flying-sheep https://github.com/scverse/anndata/actions/runs/15609690266/job/43967402083?pr=1991 was the reason for |
|
As said, it's not that important. You could just defer these parameters with |
I am not a huge fan of this paradigm so I will revert the change then. |
flying-sheep
left a comment
There was a problem hiding this comment.
looks good, but why did you make everything into importorskip in d2be64e instead of just where necessary?
* (fix): xarray bound * (chore): test pre against main * (fix): handle string dtype * (fix): categorical dtype access * (fix): remove numpy2 lower bound * (fix): convert to pre-install deps file * (chore): re-locate comment * (chore): add comment * (chore): relnote
Uh oh!
There was an error while loading. Please reload this page.