Skip to content

Comments

bandaid fix for xarray_schema using pkg_resources instead of importlib.metadata#1117

Open
timtreis wants to merge 2 commits intomainfrom
bugfix/issue1115-pkg_resources-not-founded-deprecated-since-python-312
Open

bandaid fix for xarray_schema using pkg_resources instead of importlib.metadata#1117
timtreis wants to merge 2 commits intomainfrom
bugfix/issue1115-pkg_resources-not-founded-deprecated-since-python-312

Conversation

@timtreis
Copy link
Member

No description provided.

@timtreis timtreis linked an issue Feb 18, 2026 that may be closed by this pull request
@Zethson
Copy link
Member

Zethson commented Feb 18, 2026

I know you're labeling it as a bandaid fix but xarray_schema is dead and also got removed from SpatialData. The correct solution is to get rid of xarray_schema.

@timtreis
Copy link
Member Author

timtreis commented Feb 18, 2026

yet to be released though: scverse/spatialdata@e88c24e

@LucaMarconato, worth merging or worth waiting?

@codecov
Copy link

codecov bot commented Feb 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 66.21%. Comparing base (3c11223) to head (307e6bb).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1117   +/-   ##
=======================================
  Coverage   66.21%   66.21%           
=======================================
  Files          44       44           
  Lines        7163     7163           
  Branches     1217     1217           
=======================================
  Hits         4743     4743           
  Misses       1943     1943           
  Partials      477      477           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@LucaMarconato
Copy link
Member

I have a (non-coding) deadline on the 25th of February. Ideally we'll make a release of spatialdata before that, but no guarantee. Most likely by March 1st.

@Zethson
Copy link
Member

Zethson commented Feb 18, 2026

I suggest that in the meantime you depend on the git main branch of spatialdata in the squidpy CI. Nicer than adding such a fix IMO

@timtreis
Copy link
Member Author

I suggest that in the meantime you depend on the git main branch of spatialdata in the squidpy CI. Nicer than adding such a fix IMO

similar bandaid though 🥸 I'd rather wait for the release

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.

pkg_resources not founded (deprecated since python 3.12)

3 participants