Skip to content

Test data and sample data should be downloaded separately. #7876

Open

Description

@mkcor

Description:

@stefanv this is a follow-up to PR #7875.

We currently use a download_all function for downloading all data, whether they are used (only) in tests, in doctests, in gallery examples (or just made available to users through the package); whether they live in the GitLab repo or locally under tests/skimage/.

  • Rewrite download_all (or write new functions altogether) so we can specify which data we want to download exactly.

Should we:

  • move all test data to the GitLab repo?
  • organize the GitLab repo so that, at least, test data live in a test/ subfolder?
  • fetch (some) sample data from the local scikit-image repo (src/skimage/data/) again, as suggested by @Czaki?

Activity

  1. mkcor commented on Aug 16, 2025

    @mkcor
    MemberAuthor
    • Let CI cache the data downloads; @Czaki says there's a GitHub action for this.
  2. Czaki commented on Aug 16, 2025

    @Czaki
    Contributor

    action https://github.com/actions/cache

    Other option is to have a scikit-image-data PyPI package to store some of most used images and add it as a dependency of scikit-image.

  3. github-actions commented on Mar 5, 2026

    @github-actions

    Hello scikit-image core devs! There hasn't been any activity on this issue for more than 180 days. I have marked it as "dormant" to make it easy to find.

    To our contributors, thank you for your contribution and apologies if this issue fell through the cracks! Hopefully this ping will help bring some fresh attention to the issue. If you need help, you can always reach out on our forum

    If you think that this issue is no longer relevant, you may close it, or we may do it at some point (either way, it will be done manually).

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions