Skip to content

Update docstub to version 0.6 - #8013

Merged
mkcor merged 1 commit into
scikit-image:mainfrom
lagru:bump-docstub
Jan 8, 2026
Merged

mkcor merged 1 commit into
scikit-image:mainfrom
lagru:bump-docstub

Conversation

@lagru

@lagru lagru commented Jan 8, 2026

Copy link
Copy Markdown
Member

Description

This updates docstub to the most recent version: 0.6.0. I've allowed for patch releases but excluded >=0.7.0, because those might introduce new features. By pinning we can more closely control our CI.

After the discussion during our summit I removed the skimage specific array syntax (scientific-python/docstub@9d546a8). We opted to adopt the less ambiguous one from scikit-learn.

This is the reason the number of reported errors goes up. There'll be many more expression that docstub doesn't allow. I recommend addressing these in a separate PR. So it's clearer how the allowed number of errors changes.

This was brought up in #8011 (comment).

@mkcor feel free to merge this if you approve.

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 mkcor January 8, 2026 16:24
@lagru lagru added the 🤖 type: Infrastructure CI, packaging, tools and automation label Jan 8, 2026
@mkcor
mkcor merged commit 69f0dad into scikit-image:main Jan 8, 2026
@stefanv stefanv added this to the 0.27 milestone Jan 8, 2026
FelipeCybis pushed a commit to FelipeCybis/scikit-image that referenced this pull request Jun 9, 2026
## Description

This updates docstub to the most recent version: 0.6.0. I've allowed for
patch releases but excluded >=0.7.0, because those might introduce new
features. By pinning we can more closely control our CI.

After the discussion during our summit I removed the skimage specific
array syntax
(scientific-python/docstub@9d546a8).
We opted to adopt the less ambiguous one from scikit-learn.

This is the reason the number of reported errors goes up. There'll be
many more expression that docstub doesn't allow. I recommend addressing
these in a separate PR. So it's clearer how the allowed number of errors
changes.

This was brought up in
scikit-image#8011 (comment).

@mkcor feel free to merge this if you approve.

## Checklist

<!-- Before pull requests can be merged, they should provide: -->

- A descriptive but concise pull request title
- [Docstrings for all
functions](https://github.com/numpy/numpydoc/blob/main/doc/example.py)
- [Unit
tests](https://scikit-image.org/docs/dev/development/contribute.html#testing)
- A gallery example in `./doc/examples` for new features
- [Contribution
guide](https://scikit-image.org/docs/dev/development/contribute.html) is
followed

## Release note

For maintainers and optionally contributors, please refer to the
[instructions](https://scikit-image.org/docs/stable/development/contribute.html#documenting-changes)
on how to document this PR for the release notes.

```release-note
...
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖 type: Infrastructure CI, packaging, tools and automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants