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

Skip to content

TYP/DOC: release note for the linalg typing improvements#30480

Merged
charris merged 3 commits into
numpy:mainfrom
jorenham:typing/linalg-relnotes
Dec 19, 2025
Merged

TYP/DOC: release note for the linalg typing improvements#30480
charris merged 3 commits into
numpy:mainfrom
jorenham:typing/linalg-relnotes

Conversation

@jorenham
Copy link
Copy Markdown
Member

This summarizes #30407, #30430, #30433, #30434, #30443, #30446, #30466, #30474, #30479, and closes #30405.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a release note documenting typing improvements for the numpy.linalg module, summarizing 10 related pull requests that enhanced type annotations with more precise input/output dtypes and preliminary shape-typing support.

  • Adds release note describing improved type annotations for numpy.linalg functions
  • Documents new preliminary shape-typing support with backward compatibility
  • Notes limitations of Python's type system for comprehensive shape-typing coverage

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread doc/release/upcoming_changes/30480.improvement.rst Outdated
Copy link
Copy Markdown
Member

@seberg seberg left a comment

Choose a reason for hiding this comment

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

Looks good, thanks Joren. Please just merge. I do wonder if we want to add a typing category to the release notes, so not merging just in case you want to do that now.
(It should be pretty simple, IIRC, basically mainly modifying the jinja template.)

@jorenham
Copy link
Copy Markdown
Member Author

I do wonder if we want to add a typing category to the release notes, so not merging just in case you want to do that now.

I was also wondering that myself. But I figured that we could also do that later, and then update this release note at that point.

@jorenham jorenham force-pushed the typing/linalg-relnotes branch from e8f4b91 to ba585a0 Compare December 19, 2025 16:13
@charris charris merged commit d184d31 into numpy:main Dec 19, 2025
6 checks passed
@charris
Copy link
Copy Markdown
Member

charris commented Dec 19, 2025

Thanks Joren.

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.

TYP: broad np.linalg return types

4 participants