Skip to content

Move _shared to _skimage2#8102

Merged
stefanv merged 5 commits intoscikit-image:mainfrom
lagru:sk2-mv-shared
Apr 7, 2026
Merged

Move _shared to _skimage2#8102
stefanv merged 5 commits intoscikit-image:mainfrom
lagru:sk2-mv-shared

Conversation

@lagru
Copy link
Copy Markdown
Member

@lagru lagru commented Mar 25, 2026

Description

Moves our _shared submodule to the _skimage2 namespace. That's useful going forward because it better matches our desired import hierarchy. We don't need to worry about API cleanup, documentation and migration advice because all this stuff is internal.

I tried to keep this PR as small as possible. Further cleanup of the _shared module should probably happen in followup PRs.

Checklist

Release note

For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.

...

@lagru lagru requested a review from stefanv March 25, 2026 09:03
@lagru lagru added 🔧 type: Maintenance Refactoring and maintenance of internals 🥾 Path to skimage2 A step towards the new "API 2.0" labels Mar 25, 2026
@github-project-automation github-project-automation bot moved this to Pitched in Work pitches Mar 25, 2026
@lagru lagru moved this from Pitched to Doing in Work pitches Mar 25, 2026
@lagru lagru self-assigned this Mar 25, 2026
Conflicts:
src/skimage/filters/rank/generic.py
src/skimage/morphology/binary.py
src/skimage/morphology/footprints.py
@lagru lagru moved this from Doing to Review in Work pitches Mar 25, 2026
Copy link
Copy Markdown
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

I reviewed all 274(!) files. Looks good to me!

@stefanv stefanv merged commit d0b36ad into scikit-image:main Apr 7, 2026
27 of 30 checks passed
@github-project-automation github-project-automation bot moved this from Review to Done in Work pitches Apr 7, 2026
@stefanv stefanv added this to the 0.27 milestone Apr 7, 2026
@stefanv
Copy link
Copy Markdown
Member

stefanv commented Apr 7, 2026

Thanks for reviewing, @blink1073!

@lagru lagru deleted the sk2-mv-shared branch April 7, 2026 20:50
matthew-brett added a commit to matthew-brett/scikit-image that referenced this pull request Apr 9, 2026
matthew-brett added a commit that referenced this pull request Apr 10, 2026
* origin/main: (27 commits)
  Move `_shared` to `_skimage2` (#8102)
  Port `pad_footprint` & `mirror_footprint` to `skimage2` (#8094)
  Add rescaling API to skimage2 (#8075)
  Move `skimage2` implementation into `_skimage2` (#8093)
  Undo (double) mirroring in `ski2.morphology.dilation` (#8060)
  Grammar (#8091)
  Move `ensure_spacing` into `skimage2` (#8067)
  Ensure that `skimage2` does not eagerly import `skimage` (#8087)
  Use lazy-loader 0.5 (#8080)
  MAINT: make ellipse fitting forward compatible  (#8054)
  Avoid deprecated assign to ndarray.shape (#8020)
  Avoid circular import in `feature/corner.py` (#8077)
  Turn off coderabbit auto-labeling & label checks (#8070)
  Fix GIL being re-enabled by C++ extensions (#8059)
  Fix conventions following docstub and misc. (#8055)
  Port grayscale morphology operators to skimage2 (#8046)
  Add revised `peak_local_max` to `skimage2` (#8039)
  Allow read-only arrays as input to remap (#7535)
  Add `prescale`  parameter to "blob functions" (#7858)
  Try to make coderabbit respect exisiting type labels (#8042)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🥾 Path to skimage2 A step towards the new "API 2.0" 🔧 type: Maintenance Refactoring and maintenance of internals

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants