Skip to content

Fix test failures #1621

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

Merged
merged 6 commits into from
Jul 10, 2024
Merged

Fix test failures #1621

merged 6 commits into from
Jul 10, 2024

Conversation

AdamYoblick
Copy link
Contributor

@AdamYoblick AdamYoblick commented Jul 8, 2024

The requirements.txt used by the unit tests doesn't specify explicit versions for the dependencies. A recent numpy release has broken our tests because of this, since the tests always use the latest release.

The two options for fixing this are:

  • Pin numpy to version 1.26.4
  • OR fix the tests to work with the latest numpy

I opted for the latter solution. 😄

@AdamYoblick AdamYoblick requested a review from a team as a code owner July 8, 2024 21:57
@AdamYoblick AdamYoblick closed this Jul 8, 2024
@AdamYoblick AdamYoblick reopened this Jul 8, 2024
@AdamYoblick AdamYoblick changed the title Fix numpy tests Fix test failures Jul 9, 2024
@AdamYoblick
Copy link
Contributor Author

AdamYoblick commented Jul 10, 2024

The windows py312 failing tests seem to be sporadic and they don't repro locally. So I'm marking this test as flaky with a retry to see if it gets past the error. The only downside is I had to remove python 3.8 from the test suite, BUT I'm ok with this considering 3.8 loses all official support in about 3 months.

@AdamYoblick AdamYoblick merged commit 6e8e5be into main Jul 10, 2024
19 checks passed
@AdamYoblick AdamYoblick deleted the fix_numpy_tests branch July 10, 2024 23:03
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