From d129ad7750dda01f4dc23921f40cb5df884d526e Mon Sep 17 00:00:00 2001 From: Ashwin Srinath Date: Fri, 7 Feb 2025 13:20:58 -0500 Subject: [PATCH 1/2] Remove cuda/__init__.py and update README --- python/cuda_parallel/README.md | 4 ++-- python/cuda_parallel/cuda/__init__.py | 0 python/cuda_parallel/cuda/parallel/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 python/cuda_parallel/cuda/__init__.py diff --git a/python/cuda_parallel/README.md b/python/cuda_parallel/README.md index 1dad4b0f03e..435de317658 100644 --- a/python/cuda_parallel/README.md +++ b/python/cuda_parallel/README.md @@ -7,7 +7,7 @@ Please visit the documentation here: https://nvidia.github.io/cccl/python.html. ## Local development ```bash -pip3 install -e ../cuda_cccl -pip3 install -e .[test] +pip3 install ../cuda_cccl +pip3 install -e .[test] -v pytest -v ./tests/ ``` diff --git a/python/cuda_parallel/cuda/__init__.py b/python/cuda_parallel/cuda/__init__.py deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/python/cuda_parallel/cuda/parallel/__init__.py b/python/cuda_parallel/cuda/parallel/__init__.py index f006fe7445d..baec8be8547 100644 --- a/python/cuda_parallel/cuda/parallel/__init__.py +++ b/python/cuda_parallel/cuda/parallel/__init__.py @@ -2,6 +2,6 @@ # # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -from cuda.parallel._version import __version__ +from ._version import __version__ __all__ = ["__version__"] From e6d15d936401ab2a68f7dc8e11a2e15ef6f9b062 Mon Sep 17 00:00:00 2001 From: Ashwin Srinath Date: Fri, 7 Feb 2025 13:51:57 -0500 Subject: [PATCH 2/2] cuda_parallel editable installs are also broken --- python/cuda_parallel/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/cuda_parallel/README.md b/python/cuda_parallel/README.md index 435de317658..7f82553ab62 100644 --- a/python/cuda_parallel/README.md +++ b/python/cuda_parallel/README.md @@ -8,6 +8,6 @@ Please visit the documentation here: https://nvidia.github.io/cccl/python.html. ```bash pip3 install ../cuda_cccl -pip3 install -e .[test] -v +pip3 install .[test] -v pytest -v ./tests/ ```