Skip to content

Fix mypy CI error on 3.4 branch - #9849

Merged
jrhemstad merged 1 commit into
NVIDIA:branch/3.4.xfrom
bernhardmgruber:fix_mypy
Jul 14, 2026
Merged

jrhemstad merged 1 commit into
NVIDIA:branch/3.4.xfrom
bernhardmgruber:fix_mypy

Conversation

@bernhardmgruber

Copy link
Copy Markdown
Contributor

Fix extracted from #9568

Fix extracted from NVIDIA#9568
@bernhardmgruber
bernhardmgruber requested review from a team as code owners July 14, 2026 07:25
@github-project-automation github-project-automation Bot moved this to Todo in CCCL Jul 14, 2026
@cccl-authenticator-app cccl-authenticator-app Bot moved this from Todo to In Review in CCCL Jul 14, 2026
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: dd90e60d-ed0a-4f49-9f09-41e39b7cf5fe

📥 Commits

Reviewing files that changed from the base of the PR and between 305c95b and dbafeac.

📒 Files selected for processing (2)
  • .pre-commit-config.yaml
  • python/cuda_cccl/pyproject.toml

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated development checks to improve compatibility with NumPy type information.
    • Streamlined the type-checking environment by avoiding unsupported NumPy stub configurations.
    • Added support for cachetools type annotations in pre-commit checks.
    • Documented the compatibility considerations behind these configuration updates.

Walkthrough

Changes

Mypy NumPy configuration

Layer / File(s) Summary
Configure NumPy handling for mypy
.pre-commit-config.yaml, python/cuda_cccl/pyproject.toml
The mypy pre-commit hook removes NumPy from additional_dependencies, and mypy overrides now cover numpy and numpy.* imports.

Suggested reviewers: shwina, jacobfaib


Comment @coderabbitai help to get the list of available commands.

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 6h 39m: Pass: 100%/500 | Total: 16d 00h | Max: 2h 58m | Hits: 37%/1698411

See results here.

@jrhemstad
jrhemstad merged commit 0ce9eec into NVIDIA:branch/3.4.x Jul 14, 2026
1031 of 1040 checks passed
@bernhardmgruber
bernhardmgruber deleted the fix_mypy branch July 14, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants