data-apis / array-api-compat

Compatibility layer for common array libraries to support the Array API
https://data-apis.org/array-api-compat/
MIT License
76 stars 26 forks source link

Should `numpy_array_api_compat` installable? #4

Closed thomasjpfan closed 1 year ago

thomasjpfan commented 1 year ago

For testing, I added a pyproject.toml to this repo so I can install it and import it. I can see libraries vendoring this library, but I think it would be nice to have the option to install it as well.

Should numpy_array_api_compat install-able?

asmeurer commented 1 year ago

Yes, I plan to make it installable. I was hoping for feedback first before I did a release, but I can see that making it at least basically installable will help with the release as well. I also think we might want to rename it before doing so. For one thing, we will likely support more than just NumPy (#3), and also the name is a little too long IMO. Maybe just array_api_compat?

asmeurer commented 1 year ago

There's also the question of how to do the versioning https://github.com/data-apis/numpy-array-api-compat/issues/2.

asmeurer commented 1 year ago

It's released on PyPI now. I still need to add it to conda-forge.

asmeurer commented 1 year ago

staged-recipes PR https://github.com/conda-forge/staged-recipes/pull/21450