Ensure an insufficient driver version would raise an exception in `cuda.bindings` tests
Open
Nobody has claimed this yet.
bug
cuda.bindings
P2
test
- Dominant language
- Cython
- Stars
- 3.4k
- Forks
- 329
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 116
Description
In a separate PR we could turn this into a pytest fixture that
- Run the test if the driver version is sufficient
- Otherwise, ensure an exception is raised
Originally posted by @leofang in https://github.com/NVIDIA/cuda-python/pull/724#discussion_r2165074624
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the cuda.bindings tests and inspect how driver-version requirements are handled. Use the proposed pytest fixture as the entry point, then verify both sufficient-driver execution and the insufficient-driver exception path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100