Skip to content

docs: make source install instructions more discoverable and add build requirements to top level requirements file - #8165

Merged
stefanv merged 2 commits into
scikit-image:mainfrom
blink1073:contributing-install-improvements
May 19, 2026
Merged

stefanv merged 2 commits into
scikit-image:mainfrom
blink1073:contributing-install-improvements

Conversation

@blink1073

Copy link
Copy Markdown
Contributor

Fixes #8150 and #8151.

  • Adds requirements/build.txt requirements to the top level requirements.txt
  • Moves source install instructions from INSTALL.rst to CONTRIBUTING.rst

This makes the contributing guide temporarily even more monolithic, but will be followed by the
guide refactor in #8152.

…d requirements to top level requirements file
@blink1073 blink1073 added the 📄 type: Documentation Updates, fixes and additions to documentation label May 15, 2026
@greptile-apps

greptile-apps Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "docs: make source install instructions m..." | Re-trigger Greptile

Comment thread CONTRIBUTING.rst Resolved
Comment thread CONTRIBUTING.rst Outdated
Testing
-------

Run the complete test suite:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I assume you are planning to refactor this further? Right now there are two competing subsections titled "Testing" in this document.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes, this is merely a copy-paste for now.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Uh, so is there a reason not to do it in this PR?

Otherwise I'd argue that merging this may be somewhat more confusing then the status quo.

@lagru lagru May 16, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If you are going for incremental improvements, I'd still prefer to have these increments as commits in this PR until we have a state that is an obvious improvement? Only so because the contribution guide in our dev docs targets exactly the audience of such a document.

But I'd be okay with mergin as is if you feel strongly about it and pinky promise that this won't be an indefinite state. 😉

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fair points, I'll do some of the cleanup as part of this PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Okay, done

@blink1073
blink1073 requested a review from lagru May 15, 2026 17:50
@greptile-apps

greptile-apps Bot commented May 17, 2026

Copy link
Copy Markdown
Contributor

Reviews (2): Last reviewed commit: "address review: header levels and duplic..." | Re-trigger Greptile

Comment thread CONTRIBUTING.rst
Here we provide instructions for two popular environment managers:
``venv`` (pip) and ``conda`` (miniforge).

venv

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should port this document to myst (doesn't have to be now) and then we can use tabs to show the two options side-by-side.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That way we can also avoid doing the spin piece twice.

@stefanv
stefanv merged commit 176878b into scikit-image:main May 19, 2026
27 checks passed
@stefanv

stefanv commented May 19, 2026 •

Copy link
Copy Markdown
Member

Thanks! See also my comment (thought) on markdown format above.

@stefanv stefanv added this to the 0.27 milestone May 19, 2026
matthew-brett added a commit that referenced this pull request May 19, 2026
* origin/main:
  Pin minimum pytest to 9 (#8174)
  docs: make source install instructions more discoverable and add build requirements to top level requirements file (#8165)
  Drop `--maxfail=5` from local pytest config (#8170)
matthew-brett added a commit to matthew-brett/scikit-image that referenced this pull request May 19, 2026
* origin/main:
  Pin minimum pytest to 9 (scikit-image#8174)
  docs: make source install instructions more discoverable and add build requirements to top level requirements file (scikit-image#8165)
  Drop `--maxfail=5` from local pytest config (scikit-image#8170)
@blink1073

Copy link
Copy Markdown
Contributor Author

Agreed: #8177

@blink1073
blink1073 deleted the contributing-install-improvements branch May 19, 2026 12:42
matthew-brett added a commit to matthew-brett/scikit-image that referenced this pull request May 21, 2026
* origin/main: (254 commits)
  Refactor, document migration utilities (scikit-image#8184)
  ci: improve handling of pr labels (scikit-image#8169)
  Doctest migration in PRs & on all platforms (scikit-image#8141)
  Update SKIP 4 (import hierarchy, backporting, testing) (scikit-image#8097)
  One page per function / class in HTML docs for skimage2 (scikit-image#8154)
  Pin minimum pytest to 9 (scikit-image#8174)
  docs: make source install instructions more discoverable and add build requirements to top level requirements file (scikit-image#8165)
  Drop `--maxfail=5` from local pytest config (scikit-image#8170)
  Use standard C99 static inline instead of `__inline` (scikit-image#8159)
  Fix structural_similarity win_size / gaussian_weights conflict (scikit-image#8162)
  Unwrap seed refactor (scikit-image#8142)
  ci: Remove llvm build and add ccache support on windows (scikit-image#8164)
  Document warn_external in contributing guide (scikit-image#8163)
  CI: Fix emscripten dependencies and clean up wheel test commands (scikit-image#8147)
  Test only changed subpackages (scikit-image#8103)
  Fix nightlies: update deprecated scipy call, fix underdetermined test
  Fix minkowski distanced invocation for SciPy >= 1.18 (scikit-image#8157)
  Port `structural_similarly` to ski2 (scikit-image#8104)
  make spin build requirement a lower bound (scikit-image#8158)
  Drop Python 3.11 Support (scikit-image#8153)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📄 type: Documentation Updates, fixes and additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include build deps in top level requirements file

3 participants