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

restore old is_different #932

Closed
wants to merge 1 commit into from

Conversation

n-gao
Copy link
Contributor

@n-gao n-gao commented Oct 15, 2024

Fixes #930 (comment)

New numpy releases fixed the array_equal method.

@n-gao
Copy link
Contributor Author

n-gao commented Oct 15, 2024

The failing tests are apparently unrelated to these changes as they also fail on master.

@thequilo
Copy link
Collaborator

The failing tests seem to be related to mongo or mongomock (again...)

I think it's better to add the check for the shape than to restore the old behavior, otherwise we get the issues back that we wanted to solve with this modification.

@n-gao
Copy link
Contributor Author

n-gao commented Oct 15, 2024

We wanted to avoid the numpy 2.0 change but since that was apparently an unintended bug numpy/numpy#27271 , I see no reason to keep a fix that is not necessary. However, as discussed I am also fine with a proper implementation that properly checks whether something is not equal.

@n-gao
Copy link
Contributor Author

n-gao commented Oct 17, 2024

closed in favor of #933

@n-gao n-gao closed this Oct 17, 2024
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.

is_different behavior differs with numpy vs without numpy
2 participants