Skip to content

Remove dpnp.row_stack in favor of dpnp.vstack#2957

Merged
antonwolfy merged 6 commits into
masterfrom
remove-np.row_stack
Jun 18, 2026
Merged

Remove dpnp.row_stack in favor of dpnp.vstack#2957
antonwolfy merged 6 commits into
masterfrom
remove-np.row_stack

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

numpy.row_stack was an alias of numpy.vstack, deprecated since NumPy 2.0 and removed in NumPy 2.5.

This PR mirrors that removal: dpnp.row_stack is removed in favor ofdpnp.vstack. Accessing dpnp.row_stack now raises AttributeError; usedpnp.vstack instead.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy added this to the 0.21.0 release milestone Jun 18, 2026
@antonwolfy antonwolfy self-assigned this Jun 18, 2026
Comment thread dpnp/tests/third_party/cupy/manipulation_tests/test_join.py Outdated
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@coveralls

coveralls commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 78.088% (-0.004%) from 78.092% — remove-np.row_stack into master

@vlad-perevezentsev vlad-perevezentsev self-requested a review June 18, 2026 13:51

@vlad-perevezentsev vlad-perevezentsev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM
Thank you @antonwolfy

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev1=py313h509198e_17 ran successfully.
Passed: 1355
Failed: 5
Skipped: 16

@antonwolfy antonwolfy merged commit 7cbdf70 into master Jun 18, 2026
55 of 81 checks passed
@antonwolfy antonwolfy deleted the remove-np.row_stack branch June 18, 2026 21:43
github-actions Bot added a commit that referenced this pull request Jun 18, 2026
`numpy.row_stack` was an alias of `numpy.vstack`, deprecated since NumPy
2.0 and removed in NumPy 2.5.

This PR mirrors that removal: `dpnp.row_stack` is removed in favor
of`dpnp.vstack`. Accessing `dpnp.row_stack` now raises `AttributeError`;
use`dpnp.vstack` instead. 7cbdf70
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.

3 participants