NVIDIA / NVIDIA/cuda-python

[ENH]: Replace driverVersionLessThan skipif with try-except and pytest.skip for API-not-supported errors

Open
#1,346 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cuda.bindings P2 test
Dominant language
Cython
Stars
3.4k
Forks
329
Avg merge
1d 23h
Merged PRs (30d)
116

Description

xref: https://github.com/NVIDIA/cuda-python/pull/1337#issuecomment-3629801505

PR #1337 changed test_cuda.py and test_cudart.py. The idea may apply more generally, TBD.

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.

Research direction

Start by reading PR #1337 and the changes it made in test_cuda.py and test_cudart.py. Determine whether the same handling applies elsewhere, then verify that API-not-supported errors are skipped through the proposed approach without hiding other failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.