Skip to content

Conversation

@jorenham
Copy link
Member

Similar to #30168, but for #29536, towards #28800.

@jorenham jorenham added 07 - Deprecation 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes 41 - Static typing labels Nov 22, 2025
@jorenham jorenham added this to the 2.4.0 release milestone Nov 22, 2025
@jorenham
Copy link
Member Author

jorenham commented Nov 22, 2025

Note that there's no need to also do this for ndarray.dtype, because it doesn't have a setter in the stubs (apparently stubtest didn't notice)

@jorenham
Copy link
Member Author

Are there any other pending deprecations that I (also (almost)) forgot about?

@jorenham jorenham removed the 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes label Nov 23, 2025
@charris charris merged commit cd352dd into numpy:main Nov 24, 2025
13 checks passed
@charris
Copy link
Member

charris commented Nov 24, 2025

If more cases turn up, we can add them. Thanks Joren.

@charris charris added the triage review Issue/PR to be discussed at the next triage meeting label Nov 24, 2025
@jorenham jorenham deleted the typing/ndarray.shape-setter-oending-deprecation branch November 24, 2025 16:38
@charris
Copy link
Member

charris commented Nov 24, 2025

I added a triage label just so we can review the deprecations next triage meeting.

@jorenham jorenham removed the triage review Issue/PR to be discussed at the next triage meeting label Nov 27, 2025
@jorenham
Copy link
Member Author

Are there any other pending deprecations that I (also (almost)) forgot about?

@eendebakpt, can you perhaps think of any?

cakedev0 pushed a commit to cakedev0/numpy that referenced this pull request Dec 5, 2025
* DEP, TYP: ``ndarray.shape`` setter pending deprecation

* DOC: release note for the pending deprecation of `ndarray.shape`
IndifferentArea pushed a commit to IndifferentArea/numpy that referenced this pull request Dec 7, 2025
* DEP, TYP: ``ndarray.shape`` setter pending deprecation

* DOC: release note for the pending deprecation of `ndarray.shape`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants