Repository navigation
Test with pythonoptimize - #8108
Merged
Merged
Conversation
Contributor
|
Reviews (2): Last reviewed commit: "Merge remote-tracking branch 'upstream/m..." | Re-trigger Greptile |
stefanv
approved these changes
Apr 21, 2026
lagru
self-requested a review
April 21, 2026 19:33
Contributor
Author
|
@lagru I did the rebase |
stefanv
approved these changes
Apr 24, 2026
Member
|
Thanks, Steven! |
matthew-brett
added a commit
that referenced
this pull request
Apr 27, 2026
* origin/main: Port tests for `features.canny` to skimage2 (#8126) Replace NumPy global RNG use in tests with local seeded RNGs (#8084) Disable tests using matplotlib on pyodide (#8082) Test with pythonoptimize (#8108) Add skimage2 porting decorator (#8114) Drop 3.13t builds from cibuildwheel configuration (#8127) Restore wording of AI policy (#8123)
blink1073
added a commit
that referenced
this pull request
May 6, 2026
## Description Continuation of #7756 Speed up test runs by using ccache and building once per Python version on Linux. ### Before <img width="1121" height="430" alt="image" src="https://github.com/user-attachments/assets/5e438998-a637-4791-997a-af27d82e41ae" /> ### After <img width="1106" height="554" alt="image" src="https://github.com/user-attachments/assets/8059402e-7871-46d5-bf0f-c16f77f9e40f" /> ### Observations - PYTHONOPTIMIZE is separately being handled in #8108. We should block on that fix (merged) - Centralizing the build for MacOS does not make much sense, because each variant is used once. Technically we could reuse the build for Python 3.11 on Windows that doesn't seem worth the effort either. - We can consider using ccache with [pyodide](https://github.com/pyodide/pyodide-recipes/pull/20/changes), MacOS (brew), and Windows (https://github.com/hendrikmuhs/ccache-action), but that should also be a different PR since this one is already invasive. <!-- - Reference relevant issues or related pull requests with their URL / #<number>. - Use `pre-commit` to check and format code. --> ## 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 ... ```
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Continuation of #8092. Fixes merge conflicts and remaining failures.
SKIPPED [1] tests/skimage/measure/test_regionprops.py:1412: docstrings unavailable with PYTHONOPTIMIZE=2.Checklist
./doc/examplesfor new featuresRelease note
For maintainers and optionally contributors, please refer to the instructions on how to document this PR for the release notes.