Skip to content

Conversation

@ilia-kats
Copy link
Collaborator

@ilia-kats ilia-kats commented Oct 14, 2025

Closes #42, closes #84, closes #10.

The tests on -pre are failing due to Pandas 3.0 RC being pulled in. On that I would like some advice: Should we allow people to mix Pandas 3.0 with AnnData 0.12, and if so, what would be the best approach here? Converting StringDType columns to object columns manually if an older AnnData version is detected? Setting anndata.settings.allow_write_nullable_strings=True automatically and emitting a warning?

@gtca has indicated to me that he wants to release 0.3.3 with the fixes to update and push_attr/pull_attr rather quickly, so ideally this should go in after 0.3.3 as preparation for 0.4.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2025

Codecov Report

❌ Patch coverage is 62.00000% with 38 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.30%. Comparing base (0d646ed) to head (849e04b).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/mudata/_core/mudata.py 56.41% 17 Missing ⚠️
src/mudata/_core/compat.py 0.00% 6 Missing ⚠️
src/mudata/_core/io.py 66.66% 5 Missing ⚠️
src/mudata/_core/repr.py 0.00% 5 Missing ⚠️
src/mudata/version.py 77.77% 4 Missing ⚠️
src/mudata/_core/merge.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #106       +/-   ##
===========================================
- Coverage   96.78%   67.30%   -29.48%     
===========================================
  Files          13       12        -1     
  Lines         872     1918     +1046     
===========================================
+ Hits          844     1291      +447     
- Misses         28      627      +599     
Files with missing lines Coverage Δ
src/mudata/__init__.py 100.00% <100.00%> (ø)
src/mudata/_core/config.py 68.18% <100.00%> (ø)
src/mudata/_core/file_backing.py 69.51% <100.00%> (ø)
src/mudata/_core/to_.py 88.46% <100.00%> (ø)
src/mudata/_core/utils.py 78.50% <100.00%> (ø)
src/mudata/_core/views.py 100.00% <100.00%> (ø)
src/mudata/_core/merge.py 83.33% <87.50%> (ø)
src/mudata/version.py 77.77% <77.77%> (ø)
src/mudata/_core/io.py 65.80% <66.66%> (ø)
src/mudata/_core/repr.py 9.34% <0.00%> (ø)
... and 2 more

... and 13 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

They don't work on Github and may not work on readthedocs in the future,
since we don't keep old versions of the documentation around.
adapt current version of hatch-vcs-footgun-example
@Zethson
Copy link
Member

Zethson commented Oct 20, 2025

I love it - thank you @ilia-kats !

@ilia-kats ilia-kats marked this pull request as ready for review December 10, 2025 15:13
@ilia-kats ilia-kats requested review from gtca and ilan-gold December 10, 2025 15:13
@ilan-gold
Copy link
Contributor

Re: pandas 3, we are releasing now a version of anndata 0.12 to upper bound + give future looking infer_string compat: https://pandas.pydata.org/docs/dev/user_guide/migration-3-strings.html

I would have a look at scverse/anndata#2250 and scverse/anndata#2133 for what we are doing specifically. In general, we are actively making a decision for 0.13 to make breaking changes while keeping 0.12 behavior as-is (as to your columns question). Not sure about MuData's release cycle with breaking change guarantees

Hence the delay on reviewing this, looking now.

Copy link
Contributor

@ilan-gold ilan-gold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some bigger points - is there anything specific to look at? There are a lot of small changes that are just linting so it's hard to parse what is a "big" change. Some of this stuff is unrelated to this PR but I'm noticing it now

@@ -1,19 +1,15 @@
# https://docs.readthedocs.io/en/stable/config-file/v2.html
version: 2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you guys have a deployment set up? I don't see anything in your CI. This could make reviewing easier

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we do, but readthedocs doesn't use github actions, I think they have their own hooks that get triggered. But I don't have access to our readthedocs setup, so I'm also not sure if we build on PRs or not.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Zethson Do we know who does? Is it @gtca ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

yes it's Danila

license = { file = "LICENSE" }
maintainers = [
{ name = "Danila Bredikhin", email = "danila@stanford.edu" },
{ name = "Danila Bredikhin", email = "danila@stanford.edu" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can add yourself now :)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In a separate PR/commit, if @gtca doesn't object.

optional-dependencies.test = [
"coverage>=7.10",
"pytest",
"zarr<3",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why zarr<3?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That got moved from somewhere else in this file. But good point, we should remove the bound for 0.4. But that's a separate PR/commit, I think.

@ilia-kats
Copy link
Collaborator Author

Some bigger points - is there anything specific to look at? There are a lot of small changes that are just linting so it's hard to parse what is a "big" change. Some of this stuff is unrelated to this PR but I'm noticing it now

I think the only really big changes are this commit and the rephrasing of the changelog to conform to keepachangelog. The rest ist just moving things around and linting.

@ilan-gold
Copy link
Contributor

Thanks @ilia-kats let's try to get the docs sorted out and then everything else should be ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document how to make a release Switch to scverse cookiecutter template CI Coverage

4 participants