Skip to content

Conversation

@jorenham
Copy link
Contributor

We're planning on removing | None from numpy.typing.DTypeLike, and we noticed that this would cause some typing isssues in xarray. With these changes, that will no longer be the case :)

@github-actions github-actions bot added topic-backends topic-indexing topic-groupby topic-DataTree Related to the implementation of a DataTree class io topic-NamedArray Lightweight version of Variable labels Sep 12, 2025
@max-sixty max-sixty merged commit 4394792 into pydata:main Sep 12, 2025
37 checks passed
@max-sixty
Copy link
Collaborator

thank you v much!

@jorenham jorenham deleted the DTypeLike-None branch September 12, 2025 21:34
shoyer pushed a commit to shoyer/xarray that referenced this pull request Sep 16, 2025
* TYP: explicit `DTypeLike | None`

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

io topic-backends topic-DataTree Related to the implementation of a DataTree class topic-groupby topic-indexing topic-NamedArray Lightweight version of Variable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants