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

FIX: Update SWAPI quality flags to work with numpy 2+ #848

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

greglucas
Copy link
Collaborator

Change Summary

Overview

SWAPI tests were failing locally for me because I had numpy2+ installed. It looks like we need to bitwise or the actual Enum value rather than the Enum itself. It might be worth upstreamining this issue to Numpy, but this fixes the issue here for now.

Additionally, regenerate the poetry.lock file from the pre-commit rather than the local environment. @subagonsouth as an FYI, it is good to let pre-commit take care of the updates to the lock file because otherwise it is constantly getting changed by people with different versions of poetry it seems like.

Copy link
Contributor

@tech3371 tech3371 left a comment

Choose a reason for hiding this comment

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

Thank you!

@greglucas greglucas merged commit 2f79f29 into IMAP-Science-Operations-Center:dev Sep 19, 2024
17 checks passed
@greglucas greglucas deleted the np2-swapi branch September 19, 2024 18:41
@bourque bourque added the Ins: SWAPI Related to the SWAPI instrument label Sep 23, 2024
@bourque bourque added this to the Sept 2024 milestone Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ins: SWAPI Related to the SWAPI instrument
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants