From 4614df776d6579f0ef27a97b2132475ab269b728 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 11 Jun 2026 09:56:34 -0700 Subject: [PATCH 1/2] Exclude NVSHMEM 3.7.0 --- cuda_pathfinder/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cuda_pathfinder/pyproject.toml b/cuda_pathfinder/pyproject.toml index dfbef9dd18d..9f0a955cc01 100644 --- a/cuda_pathfinder/pyproject.toml +++ b/cuda_pathfinder/pyproject.toml @@ -29,7 +29,7 @@ cu12 = [ "nvidia-cusparselt-cu12", "nvidia-libmathdx-cu12", "nvidia-nccl-cu12; sys_platform != 'win32'", - "nvidia-nvshmem-cu12; sys_platform != 'win32'", + "nvidia-nvshmem-cu12!=3.7.0; sys_platform != 'win32'", ] cu13 = [ "cuda-toolkit[nvcc,cublas,nvrtc,cudart,cufft,curand,cusolver,cusparse,npp,nvfatbin,nvjitlink,nvjpeg,cccl,cupti,profiler,nvvm]==13.*", @@ -43,7 +43,7 @@ cu13 = [ "nvidia-cusparselt-cu13", "nvidia-libmathdx-cu13", "nvidia-nccl-cu13; sys_platform != 'win32'", - "nvidia-nvshmem-cu13; sys_platform != 'win32'", + "nvidia-nvshmem-cu13!=3.7.0; sys_platform != 'win32'", ] host = [ # TODO: remove the Python 3.15 guard once 3.15 is officially supported From 3553f8a246a9fa5b6b22b8515a241b9256e50e09 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 11 Jun 2026 14:41:29 -0400 Subject: [PATCH 2/2] Skip test on recent Pythons --- cuda_core/tests/test_rlcompleter_patch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cuda_core/tests/test_rlcompleter_patch.py b/cuda_core/tests/test_rlcompleter_patch.py index 4809b71a875..68bd7b6e4f7 100644 --- a/cuda_core/tests/test_rlcompleter_patch.py +++ b/cuda_core/tests/test_rlcompleter_patch.py @@ -96,7 +96,9 @@ def test_patched_completion_succeeds_on_non_ipc_resource(): assert "allocation_handle: True" in result.stdout, result.stdout -@pytest.mark.skipif(sys.version_info >= (3, 15), reason="Python 3.15 fixed the rlcompleter bug upstream") +@pytest.mark.skipif( + sys.version_info >= (3, 13), reason="Python 3.13.13, 3.14.6 and 3.15 fixed the rlcompleter bug upstream" +) def test_opt_out_env_var_disables_patch_even_when_interactive(): """`CUDA_CORE_DONT_FIX_TAB_COMPLETION=1` must short-circuit before the interactive check, so the bug reproduces again even under PYTHONINSPECT."""