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 Array API Tests #562

Merged
merged 1 commit into from
Aug 31, 2024
Merged

Fix Array API Tests #562

merged 1 commit into from
Aug 31, 2024

Conversation

tomwhite
Copy link
Member

@tomwhite tomwhite commented Aug 30, 2024

The latest runs have been failing with e.g. ERROR array_api_tests/test_array_object.py - TypeError: unsupported operand type(s) for |: '_GenericAlias' and 'NoneType', see https://github.com/cubed-dev/cubed/actions/runs/10631284435/job/29471855766.

This looks like it's because we are running on Python 3.9, and this commit added a Python 3.10 type change.

I tried updating to Python 3.11, but that pulled in the new NumPy 2.1.0 which caused another error.

So I'm going to pin the version of array_api_tests that we run against for now.

@tomwhite tomwhite changed the title Update Array API Tests to use Python 3.11 Fix Array API Tests Aug 30, 2024
@tomwhite tomwhite merged commit 680b3c1 into main Aug 31, 2024
10 of 11 checks passed
@tomwhite tomwhite deleted the fix-array-api-tests branch August 31, 2024 08:32
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.

1 participant