Skip to content

Commit

Permalink
Check for min numba
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Aug 23, 2024
1 parent f740c67 commit 273e18d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions python/cudf/cudf/tests/test_mvc.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Copyright (c) 2023, NVIDIA CORPORATION.
# Copyright (c) 2023-2024, NVIDIA CORPORATION.
import subprocess
import sys

import pytest
from packaging import version

IS_CUDA_11 = False
IS_CUDA_12 = False
Expand All @@ -14,9 +15,12 @@
# do not test cuda 12 if pynvjitlink isn't present
HAVE_PYNVJITLINK = False
try:
import numba
import pynvjitlink # noqa: F401

HAVE_PYNVJITLINK = True
HAVE_PYNVJITLINK = version.parse(numba.__version__) >= version.parse(
"0.58"
)
except ModuleNotFoundError:
pass

Expand Down

0 comments on commit 273e18d

Please sign in to comment.