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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore arch specific cast warnings originating from astype in tests #7393

Merged

Conversation

lagru
Copy link
Member

@lagru lagru commented Apr 12, 2024

Description

Closes #7391.

Apparently astype(...) raises a warning on some platforms despite casting="unsafe" being the default. I couldn't reproduce this as I don't have access to the architectures this fails for [1]. Ideally, we could adapt the tests in a way that doesn't raise these warnings but I don't really care for debugging these remotely when these warnings are hopefully harmless to ignore. 馃

[1] https://buildd.debian.org/status/logs.php?pkg=skimage&ver=0.23.1-1&suite=sid

Checklist

Release note

We use changelist to compile each pull request into an item of the release notes. Please refer to the instructions and past release notes for guidance and examples.

...

Apparently astype(...) raises a warning on some platforms despite
`casting="unsafe"` being the default. I couldn't reproduce this as I
don't have access to the architectures this fails for [1, 2], but these
warnings should be harmless to ignore for these tests.

[1] https://www.github.com/scikit-image/scikit-image/issues/7391
[2] https://buildd.debian.org/status/logs.php?pkg=skimage&ver=0.23.1-1&suite=sid
@lagru lagru added 馃敡 type: Maintenance Refactoring and maintenance of internals 馃捇 Specific arch failure Failure that occurs for a specific architecture labels Apr 12, 2024
@jarrodmillman jarrodmillman merged commit 7ae4fd8 into scikit-image:main Apr 13, 2024
26 checks passed
@stefanv stefanv added this to the 0.23.2 milestone Apr 13, 2024
@lagru lagru deleted the ignore-arch-specific-cast-warning branch April 13, 2024 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃捇 Specific arch failure Failure that occurs for a specific architecture 馃敡 type: Maintenance Refactoring and maintenance of internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test_unsharp_masking_output_type_and_shape fails on non-x86 architectures
3 participants