Skip to content

Conversation

@hellerve
Copy link
Contributor

@hellerve hellerve commented Nov 9, 2025

This PR replaces all occurrences of numpy.fix with numpy.trunc. This is in response to a currently discussed deprecation of numpy.fix as well as performance considerations (nice, but secondary).

This change should not change anything in a meaningful way, internally or externally. As such, I’m not sure whether this needs to be captured in a release note.

Cheers

Copy link
Member

@lagru lagru left a comment

Choose a reason for hiding this comment

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

Thanks @hellerve. Merging on condition that the CI turns green.

@lagru lagru added the 🔧 type: Maintenance Refactoring and maintenance of internals label Nov 9, 2025
@hellerve
Copy link
Contributor Author

hellerve commented Nov 9, 2025

I looked at the failing check, but it looks unrelated; I’m not sure how to best read it, though. Is this a known flaky test or should I look more deeply (pardon my ignorance)?

@lagru
Copy link
Member

lagru commented Nov 9, 2025

I think I've seen that one before and its unrelated. It's a pytest warning about an unclosed file buffer somewhere. I already looked into it at some point but didn't find the culprit. I'll open an issue for it.

@lagru lagru merged commit 1f07388 into scikit-image:main Nov 9, 2025
25 of 27 checks passed
@stefanv stefanv added this to the 0.26 milestone Nov 9, 2025
@lagru
Copy link
Member

lagru commented Nov 9, 2025

Oh, and I think the PR title is enough in terms of release notes. We only try to have more useful notes for user facing sections such as "New features".

@lagru
Copy link
Member

lagru commented Nov 9, 2025

See #7935.

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

Labels

🔧 type: Maintenance Refactoring and maintenance of internals

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants