Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor nptyping #3

Merged
merged 15 commits into from
Jul 31, 2024
Merged

Vendor nptyping #3

merged 15 commits into from
Jul 31, 2024

Conversation

sneakers-the-rat
Copy link
Collaborator

Fix: #2

nptyping is no longer maintained, unfortunately, and it pins numpy < 2 (and has a bunch of other problems with being out of date that we have had to monkeypatch around.

This PR

  • vendors in nptyping,
  • applies our monkeypatches (no more monkeypatching at import!),
  • removes deprecated types
  • updates CI to test with numpy<2 and numpy>2 (as well as non-linux platforms)

We will continue to replace our usage of even the vendored nptyping until it's gone, since TypeVarTuple is a thing now, and we don't need to have string-based shape expressions and all the wonkiness that comes from the metaclass system there (with love and respect to the maintainer of nptyping, if they ever read this)

@sneakers-the-rat sneakers-the-rat merged commit 880dafb into main Jul 31, 2024
28 checks passed
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.

Error on deps: Numpydantic 1.2.2 is not compatible with numpy 2.0.1
1 participant