Skip to content

Add support for Numba 0.66 - #905

Merged
leofang merged 2 commits into
NVIDIA:mainfrom
bdice:numba-0.66-support
Jul 2, 2026
Merged

leofang merged 2 commits into
NVIDIA:mainfrom
bdice:numba-0.66-support

Conversation

@bdice

@bdice bdice commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Numba 0.66 moved NPDatetime and NPTimedelta from
numba.core.types.scalars to numba.np.types. This updates numba-cuda to
re-export the types from their new public location while preserving the
existing behavior with older Numba releases. It also replaces the remaining
uses of the old private _NPDatetimeBase path with the public concrete types.

xref: NVIDIA/numba-cuda-mlir#172
xref: rapidsai/build-planning#301

Tests:

  • pre-commit run --files ...
  • Numba 0.66.0 / Python 3.14: no-CUDA import tests (2 passed)
  • Numba 0.66.0 / Python 3.14 on an NVIDIA GeForce RTX 2070 SUPER: datetime tests (7 passed)
  • Numba 0.60.0 / Python 3.12: no-CUDA import tests (2 passed)
  • Numba 0.60.0 / Python 3.12 on an NVIDIA GeForce RTX 2070 SUPER: datetime tests (7 passed)

@copy-pr-bot

copy-pr-bot Bot commented Jul 2, 2026

Copy link
Copy Markdown

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@bdice bdice self-assigned this Jul 2, 2026
@bdice
bdice marked this pull request as ready for review July 2, 2026 14:01
@copy-pr-bot

copy-pr-bot Bot commented Jul 2, 2026

Copy link
Copy Markdown

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@brandon-b-miller

Copy link
Copy Markdown
Contributor

/ok to test

@bdice
bdice marked this pull request as draft July 2, 2026 14:04
@bdice

bdice commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test

@bdice
bdice marked this pull request as ready for review July 2, 2026 15:50
@kkraus14

kkraus14 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

I think we should also pin to numba <0.67 in addition to this change. Things will inevitably continue to break as there's future numba releases.

@bdice

bdice commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

I think we should also pin to numba <0.67 in addition to this change. Things will inevitably continue to break as there's future numba releases.

That would force fallback to older numba-cuda versions with no upper bound, right?

@leofang
leofang merged commit 10eac70 into NVIDIA:main Jul 2, 2026
1263 of 1296 checks passed
@isVoid isVoid mentioned this pull request Jul 2, 2026
leofang added a commit that referenced this pull request Jul 3, 2026
- bump version to 0.30.4
- Add support for Numba 0.66 (#905)
- Fix RMM EMM plugin module path (#895)
- Add maintenance notice to issue templates (#903)

---------

Co-authored-by: Michael Wang <[email protected]>
Co-authored-by: Leo Fang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants