Skip to content
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

DOC: Un-mock the already-imported numpy #440

Merged
merged 1 commit into from
May 8, 2024

Conversation

effigies
Copy link
Member

@effigies effigies commented May 8, 2024

Fixes #439. The issue is that we are importing sdcflows:

from sdcflows import __version__, __copyright__, __packagename__

This will load numpy and apparently create some references that will continue to expect numpy arrays. Or possibly our docstrings generate numpy arrays. But the mock will then make future dives into numpy fail, leading to conflict.

Removing the mock resolves the issue.

@effigies effigies merged commit 2456489 into nipreps:master May 8, 2024
18 of 19 checks passed
@effigies effigies deleted the doc/unmock-numpy branch May 8, 2024 13:21
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.

docs-building jobs failing
1 participant