Skip to content

Require Python >=3.12, drop 3.11 - #743

Merged
timtreis merged 1 commit into
mainfrom
chore/python-312-migration
Jun 22, 2026
Merged

Require Python >=3.12, drop 3.11#743
timtreis merged 1 commit into
mainfrom
chore/python-312-migration

Conversation

@timtreis

Copy link
Copy Markdown
Member

Mirrors scverse/spatialdata#1151. anndata>=0.12 already requires Python >=3.12, so 3.11 is effectively unsupported.

  • requires-python>=3.11 -> >=3.12; drop the 3.11 classifier
  • .mypy.inipython_version 3.10 -> 3.12
  • hatch test matrix 3.11 -> 3.12 (stays 3.12 + 3.14)
  • pixi lanes py311/dev-py311/docs-py311 -> py312/dev-py312/docs-py312
  • README install note 3.10 -> 3.12

Mirror scverse/spatialdata#1151: anndata>=0.12 already requires Python
>=3.12, so 3.11 is effectively unsupported. Bump requires-python,
classifiers, mypy, the hatch test matrix, the pixi env lanes (py311 ->
py312), and the README install note.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.59%. Comparing base (50a6606) to head (cba09a7).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #743 +/- ##
=======================================
Coverage 79.59% 79.59% =======================================
Files 17 17 Lines 4641 4641 Branches 1029 1029 =======================================
Hits 3694 3694 Misses 598 598 Partials 349 349 
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timtreis
timtreis merged commit 227434d into mainJun 22, 2026
7 of 8 checks passed
@timtreis
timtreis deleted the chore/python-312-migration branch June 22, 2026 21:00
timtreis added a commit to scverse/spatialdata-plot-tutorials that referenced this pull request Aug 13, 2026
* chore: align repo naming to spatialdata-plot-tutorials
The repo was renamed from -notebooks to -tutorials; update the
package name, Source URL, Jupyter kernel name, and clone/setup
instructions to the canonical name (previously worked only via
GitHub's redirect).
* build: require Python >=3.12
spatialdata-plot dropped Python 3.11 in 0.4.1 (scverse/spatialdata-plot#743);
match it here. Bumps requires-python, the pixi python pin, and ruff's
target-version. CI already runs 3.13.
* build: bump spatialdata-plot pin to >=0.4.1
The multi-panel color=[...] tutorial needs the scanpy-style multi-panel
feature (scverse/spatialdata-plot#686), first released in 0.4.1. Update
both the exec extra and the pixi pypi dependency.
* feat: add multi-panel colouring tutorial
New tutorials/multi_panel_color.ipynb demonstrating scanpy-style
color=[...] for render_labels/render_shapes: one-to-many colourings,
mixing categorical and continuous, ncols grid control, and shared
palette/cmap across panels. Uses the synthetic blobs dataset, mirrors
the color_and_palette structure, and executes against spatialdata-plot
0.4.1. Adds a gallery card + toctree entry and a 549x491 thumbnail
matching the existing cards.
* docs: enlarge fonts and crop whitespace in multi-panel thumbnail
Regenerate the gallery thumbnail with larger titles, legend, and
colorbar labels; drop the pixel-tick frame and crop outer margins so
the panels fill the card.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@timtreis@codecov-commenter