Skip to content

Serve example data from a GitLab CDN, drop bundled copies #8286

Open

Description

@blink1073

Description

Example images currently ship inside the wheel, about 15 MB across 56 files. Remove them and serve them from a CDN-backed GitLab generic package, with the most frequently used subset provided by a companion scikit-image-data package so common calls still need no download. Continues #7875 and #7876, and revives the removal proposed in #7878 for the post-Megamove tree.

Implementation plan: https://gist.github.com/blink1073/2347a0a4d2bc7b3c895ec0d05e38a7de

This was originally #8240, which also contained the skimage2.data.fetch() / fetch_<name>() API. That API needs none of this machinery, so it is now #8285 and can be reviewed independently. Filing the rest as an issue rather than leaving a PR open, since it cannot merge until the prerequisites below are done.

A complete, tested implementation is preserved on the data-cdn-migration branch of blink1073/scikit-image (tag data-cdn-migration-full-backup). It passed the full CI matrix and can be rebased once the prerequisites land.

Prerequisites

  • Release scikit-image-data to PyPI. It is currently a git direct reference, which makes scikit-image itself unpublishable to PyPI, since upload validation rejects direct-URL Requires-Dist entries.
  • Get scikit-image-data onto conda-forge.
  • Give the mailing list notice before scikit-image takes on new hard dependencies.

Activity

  1. added
    🥾 Path to skimage2
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🥾 Path to skimage2

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions