Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MAINT: make scipy-doctest usage forward-compatible #31609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ev-br
Copy link
Contributor

@ev-br ev-br commented Jun 20, 2025

Reference Issues/PRs

https://discuss.scientific-python.org/t/scipy-doctest-select-only-doctests-or-both-doctests-and-unit-tests/1950/2

What does this implement/fix? Explain your changes.

scipy-doctest plugin will soon change the default from skipping "regular" tests by default to collecting both doctests and regular tests. To make the behavior version-independent, add an explicit CLI argument.

Any other comments?

Cross-ref matching changes in NumPy, https://github.com/numpy/numpy/pull/29085/files, and SciPy, scipy/scipy#23078

Copy link

github-actions bot commented Jun 20, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 44f1336. Link to the linter CI: here

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

Given that scipy-doctest 1.8.0 is version being used:

https://conda.anaconda.org/conda-forge/noarch/scipy-doctest-1.8.0-pyhe01879c_0.conda#5bc3f4bc1e027aa4ba6fdad1a84b5d3c

# pip scipy-doctest @ https://files.pythonhosted.org/packages/c9/13/cd25d1875f3804b73fd4a4ae00e2c76e274e1e0608d79148cac251b644b1/scipy_doctest-1.8.0-py3-none-any.whl#sha256=5863208368c35486e143ce3283ab2f517a0d6b0c63d0d5f19f38a823fc82016f

This should work out of the box.

@ev-br ev-br closed this Jun 21, 2025
@ev-br ev-br reopened this Jun 21, 2025
@ev-br
Copy link
Contributor Author

ev-br commented Jun 21, 2025

close/reopen to flush the CI after a timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants