Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Resolve Ruff NPY errors - fix exception imports and asfarray usage in test code#8455

Merged
asi1024 merged 5 commits into
cupy:mainfrom
EarlMilktea:ruff-npy
Aug 10, 2024
Merged

Resolve Ruff NPY errors - fix exception imports and asfarray usage in test code#8455
asi1024 merged 5 commits into
cupy:mainfrom
EarlMilktea:ruff-npy

Conversation

@EarlMilktea

Copy link
Copy Markdown
Contributor

Resolves #8454

@asi1024 asi1024 added cat:numpy-compat Follow the NumPy/SciPy spec changes prio:medium prio:high to-be-backported Pull-requests to be backported to stable branch and removed prio:medium labels Aug 7, 2024
@jakirkham

Copy link
Copy Markdown
Member

cc @seberg (in case you have thought on this 🙂)

@EarlMilktea EarlMilktea marked this pull request as ready for review August 8, 2024 07:43

@jakirkham jakirkham left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Earl! 🙏

Generally this seems reasonable. Using cupy.exceptions module in more places

Had one question below

Comment thread tests/cupy_tests/manipulation_tests/test_kind.py
@asi1024

asi1024 commented Aug 9, 2024

Copy link
Copy Markdown
Member

/test mini

@kmaehashi kmaehashi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM!

@kmaehashi kmaehashi added this to the v14.0.0a1 milestone Aug 9, 2024
@asi1024 asi1024 merged commit 584601e into cupy:main Aug 10, 2024
chainer-ci pushed a commit to chainer-ci/cupy that referenced this pull request Aug 10, 2024
@EarlMilktea EarlMilktea deleted the ruff-npy branch August 10, 2024 07:20
@jakirkham

Copy link
Copy Markdown
Member

Thanks all! 🙏

@kmaehashi kmaehashi changed the title Resolve Ruff NPY errors Resolve Ruff NPY errors - fix exception imports and asfarray usage in test code Aug 13, 2024
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:high to-be-backported Pull-requests to be backported to stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolve Ruff NPY errors

5 participants