-
Notifications
You must be signed in to change notification settings - Fork 45
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
Case study: using array-api-tests in CI and locally #333
Comments
It's not immediately clear to me why adding |
|
Ah okay, that makes sense. So rather than ARRAY_API_TESTS_MODULE=exec('import numpy, marray; xp = marray.get_namespace(numpy)') |
thanks Ralf, that seems like a much nicer user experience. I'll have a go at implementing this. |
The main actionable point is addressed here, so let's close this now |
I just set up array-api-tests for https://github.com/mdhaber/marray such that the same command can be used in CI and locally to run the tests (and without making array-api-tests a git submodule). It comes down to the following pixi feature:
patch file
I think this is pretty neat all things considered, but it is pretty complicated. It would be nice if we could provide ways to simplify this process for users, and/or to make the ideas here reusable for other projects. A few observations:
xp
as input, and returns an appropriately patchedarray-api-tests
for a given version?The text was updated successfully, but these errors were encountered: