Skip to content

Fix cp.empty(None) to raise TypeError#9160

Merged
asi1024 merged 2 commits into
cupy:mainfrom
asi1024:prohibit-none-creation
Jun 16, 2025
Merged

Fix cp.empty(None) to raise TypeError#9160
asi1024 merged 2 commits into
cupy:mainfrom
asi1024:prohibit-none-creation

Conversation

@asi1024
Copy link
Copy Markdown
Member

@asi1024 asi1024 commented Jun 12, 2025

@asi1024 asi1024 changed the title Fix cp.empty(None) to raise TypeError Fix cp.empty(None) to raise TypeError Jun 12, 2025
@asi1024 asi1024 added the cat:numpy-compat Follow the NumPy/SciPy spec changes label Jun 12, 2025
@asi1024 asi1024 added to-be-backported Pull-requests to be backported to stable branch prio:medium labels Jun 13, 2025
@kmaehashi
Copy link
Copy Markdown
Member

kmaehashi commented Jun 13, 2025

  • Backport should be test only.
  • Pre-review Test failing. Looks unrelated to this PR:
/home/runner/work/cupy/cupy/cupy/__init__.py:docstring of cupy.RawKernel.__call__:1: WARNING: Inline emphasis start-string without end-string.

@kmaehashi
Copy link
Copy Markdown
Member

/test mini

kmaehashi
kmaehashi previously approved these changes Jun 13, 2025
@kmaehashi
Copy link
Copy Markdown
Member

Could you check test failures?

@asi1024
Copy link
Copy Markdown
Member Author

asi1024 commented Jun 16, 2025

/test mini

@asi1024 asi1024 enabled auto-merge June 16, 2025 05:19
@asi1024 asi1024 added this to the v14.0.0a2 milestone Jun 16, 2025
@asi1024 asi1024 merged commit 3a2c950 into cupy:main Jun 16, 2025
63 checks passed
chainer-ci pushed a commit to chainer-ci/cupy that referenced this pull request Jun 16, 2025
Fix `cp.empty(None)` to raise `TypeError`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:numpy-compat Follow the NumPy/SciPy spec changes prio:medium to-be-backported Pull-requests to be backported to stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants