Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add numpy 2.0 compatibility#235

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
apdavison merged 5 commits intopython-quantities:masterfromzm711:numpy-2.0-compat
Aug 27, 2024

Conversation

zm711
Copy link
Contributor

this is built off of#232

Since I don't know array wrapping perfectly I may need to tweak this again.

@zm711
Copy link
ContributorAuthor

So my fix, fixes old numpy but breaks new. Let me try again.

@zm711
Copy link
ContributorAuthor

@apdavison, both pre and post NumPy 2.0 tests are now passing on this PR.

@zm711zm711 mentioned this pull requestJul 24, 2024
@axelande
Copy link

Any plans of including this PR and release a new version that is compatible with numpy2?

@apdavison
Copy link
Contributor

yes, I'm hoping to merge this and make a release during the coming week.

axelande reacted with thumbs up emoji

@apdavisonapdavison merged commitbb96cbb intopython-quantities:masterAug 27, 2024
44 checks passed
@zm711zm711 deleted the numpy-2.0-compat branchAugust 27, 2024 12:24
JakobKai added a commit to JakobKai/python-quantities that referenced this pull requestMay 13, 2025
`quantities.Quantity.deepcopy` assumed that new objects copy the dataper defualt. This is no longer true since the adaptation to numpy 2(python-quantities#235, commit:ed43021).
JakobKai added a commit to JakobKai/python-quantities that referenced this pull requestMay 13, 2025
`quantities.Quantity.deepcopy` assumed that new objects copy the dataper defualt. This is no longer true since the adaptation to numpy 2(python-quantities#235, commit:ed43021).
@JakobKaiJakobKai mentioned this pull requestMay 13, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@zm711@axelande@apdavison@bjodah

[8]ページ先頭

©2009-2025 Movatter.jp