Disallow importing of legacy modules outside of the `legacy_tests` subdir

Open
#2,397 0 comments 0 reactions 1 assignee View on GitHub

@mdboom is already working on this.

Since Jul 24, 2026.

Assessment

This issue has not been assessed yet.

Description

test

As we start to bring over the new implementations of driver, runtime and nvrtc, the existing tests are getting copied into a legacy_tests subdir. We should then disallow the use of the legacy API outside of that directory.

This is blocked on #2384.

Dominant language
Cython
Stars
3.4k
Forks
329
Avg merge
1d 21h
Merged PRs (30d)
113

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/cuda-python

All issues in NVIDIA/cuda-python

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.