Skip to content

Pin upper bound of numba-cuda to <0.28.0 - #21628

Merged
rapids-bot[bot] merged 6 commits into
NVIDIA:mainfrom
mroeschke:ci/pin/numba_cuda
Mar 3, 2026
Merged

Pin upper bound of numba-cuda to <0.28.0#21628
rapids-bot[bot] merged 6 commits into
NVIDIA:mainfrom
mroeschke:ci/pin/numba_cuda

Conversation

@mroeschke

@mroeschke mroeschke commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Description

This PR also contains some fixes for oldest-dependency builds for the Numpy minimum version bump last week

  File "/opt/conda/envs/test/lib/python3.12/site-packages/cudf/core/udf/utils.py", line 208, in compile_udf
    ptx_code, return_type = cuda.compile_ptx_for_current_device(
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/compiler.py", line 1330, in compile_ptx_for_current_device
    return compile_ptx(
           ^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/compiler.py", line 1297, in compile_ptx
    return compile(
           ^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler_lock.py", line 74, in _acquire_compile_lock
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/compiler.py", line 1214, in compile
    lib, resty = _compile_pyfunc_with_fixup(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/compiler.py", line 1106, in _compile_pyfunc_with_fixup
    cres = compile_cuda(
           ^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler_lock.py", line 74, in _acquire_compile_lock
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/compiler.py", line 789, in compile_cuda
    cres = compile_extra(
           ^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/compiler.py", line 599, in compile_extra
    return pipeline.compile_extra(func)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler.py", line 146, in compile_extra
    return self._compile_bytecode()
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler.py", line 214, in _compile_bytecode
    return self._compile_core()
           ^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler.py", line 193, in _compile_core
    raise e
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler.py", line 182, in _compile_core
    pm.run(self.state)
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler_machinery.py", line 398, in run
    raise patched_exception
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler_machinery.py", line 385, in run
    self._runPass(idx, pass_inst, state)
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler_lock.py", line 74, in _acquire_compile_lock
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler_machinery.py", line 337, in _runPass
    mutated |= check(pss.run_pass, internal_state)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/compiler_machinery.py", line 291, in check
    mangled = func(compiler_state)
              ^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/typed_passes.py", line 141, in run_pass
    typemap, return_type, calltypes, errs = type_inference_stage(
                                            ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/typed_passes.py", line 120, in type_inference_stage
    errs = infer.propagate(raise_errors=raise_errors)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/conda/envs/test/lib/python3.12/site-packages/numba_cuda/numba/cuda/core/typeinfer.py", line 1156, in propagate
    raise errors[0]
numba.cuda.core.errors.TypingError: Failed in cuda mode pipeline (step: nopython frontend)
Unknown attribute 'Series' of type Module(<module 'cudf' from '/opt/conda/envs/test/lib/python3.12/site-packages/cudf/__init__.py'>)

File "tests/groupby/test_apply.py", line 683:
    def gdf_func(df):
        return cudf.Series([df["a"].sum(), df["b"].min(), df["c"].max()])
        ^

During: typing of get attribute at /__w/cudf/cudf/python/cudf/cudf/tests/groupby/test_apply.py (683)

File "tests/groupby/test_apply.py", line 683:
    def gdf_func(df):
        return cudf.Series([df["a"].sum(), df["b"].min(), df["c"].max()])
        ^

During: Pass nopython_type_inference

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@mroeschke
mroeschke requested a review from a team as a code owner March 3, 2026 00:28
@mroeschke
mroeschke requested a review from KyleFromNVIDIA March 3, 2026 00:28
@github-actions github-actions Bot added Python Affects Python cuDF API. pylibcudf Issues specific to the pylibcudf package labels Mar 3, 2026
@GPUtester GPUtester moved this to In Progress in cuDF Python Mar 3, 2026
@mroeschke mroeschke added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 3, 2026
@mroeschke mroeschke changed the title Pin upper bound of numba-cuda <0.28.0 Pin upper bound of numba-cuda to <0.28.0 Mar 3, 2026
@mroeschke
mroeschke requested a review from a team as a code owner March 3, 2026 01:24
@mroeschke

Copy link
Copy Markdown
Contributor Author

cc @brandon-b-miller PR to temporarily pin numba-cuda

@github-actions github-actions Bot added the cudf.pandas Issues specific to cudf.pandas label Mar 3, 2026
@mroeschke

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit 3384db2 into NVIDIA:main Mar 3, 2026
116 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in cuDF Python Mar 3, 2026
@mroeschke
mroeschke deleted the ci/pin/numba_cuda branch March 3, 2026 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cudf.pandas Issues specific to cudf.pandas improvement Improvement / enhancement to an existing function non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants