Ensure `cuda` is a namespace package & Improve warnings
Close #477. Close #162.
This pull request requires additional validation before any workflows can run on NVIDIA's runners.
Pull request vetters can view their responsibilities here.
Contributors can view more details about this message here.
/ok to test
Doc Preview CI :---: |
:rocket: View preview athttps://nvidia.github.io/cuda-python/pr-preview/pr-493/
|
https://nvidia.github.io/cuda-python/pr-preview/pr-493/cuda-core/
|
https://nvidia.github.io/cuda-python/pr-preview/pr-493/cuda-bindings/
|
Preview will be ready when the GitHub Pages deployment is complete.
/ok to test
what exactly was the reason for adding these files? How much trouble is it to leave some hints in the PR description?
As part of the epic #493, we need to remove cuda/__init__.py to ensure cuda is a namespace package. The existence of this file has been a source of multiple traps and bugs.
We still kept it around because it used to provide cuda.__version__. Since we have raised a deprecation warning for a few releases, and it is a minor thing, we now remove it entirely.
This is ready for review. I was hoping to address https://github.com/NVIDIA/cuda-python/pull/517#discussion_r2009201045, but it seems the original issue (leading to our weird MANIFEST.in) still persists.
/ok to test
/ok to test
@leofang, there was an error processing your request: E1
See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/
/ok to test 88144ee
Doc Preview CI :---: Preview removed because the pull request was closed or merged.