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

Bugfix more numpy124 stuff #287

Merged
merged 7 commits into from
Jan 5, 2023
Merged

Bugfix more numpy124 stuff #287

merged 7 commits into from
Jan 5, 2023

Conversation

coreyostrove
Copy link
Contributor

This fixes a few more numpy 1.24.0/1.24.1 deprecation related problems. Also in this bugfix branch are fixes for some failing tests in the test_extras package (one related to hessians and another related to qibo import failures) and some minor CI fixes.

Corey Ostrove added 6 commits January 3, 2023 19:39
Numpy doesn't like setting a slice of an array with an iterable anymore it seems, so cast this to a numpy array with the correct shape.
the report test package was accidentally listed twice in extras so was being run twice by accident.
This results in the coverage test being re-run for every test module in extras which is unnescessary, and in any case we already do coverage tests as part of the main unit test package.
Fixes some broken unit tests due to a shape compatibility issue with numpy.
qibo unit tests are currently unusable because of import errors (related to numpy 1.24.0 issues on their end). Skip these tests for now.
Copy link
Contributor

@sserita sserita left a comment

Choose a reason for hiding this comment

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

All good, thanks for these fixes!

@sserita sserita merged commit 4098dea into develop Jan 5, 2023
@sserita sserita deleted the bugfix-more-numpy124-stuff branch January 5, 2023 04:29
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.

2 participants