Skip to content

Conversation

@NoureldinYosri
Copy link
Collaborator

@NoureldinYosri NoureldinYosri commented Oct 20, 2025

fixes #78 and updates the type stub to accommodate the breaking change introduced in the latest numpy release

@NoureldinYosri NoureldinYosri requested a review from mhucka October 20, 2025 17:26
Copy link
Contributor

@mhucka mhucka 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, but check the changes to tunits/core/init.pyi as they don't appear to be related to macos-13.

real: 'Value'
imag: 'Value'

# needed because np.generic declars __new__ as abstract.
Copy link
Contributor

Choose a reason for hiding this comment

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

You're welcome to handle PRs as you wish, of course, but I wanted to flag this in case it was included accidentally: this looks like an unrelated change. (Unrelated to removing macos-13.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

without this the CI is broken because of a recent update to numpy ... numpy now declares new as an abstract method which it didn't used to do.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is why the commit that added this change is called "fix mypy"

Copy link
Contributor

Choose a reason for hiding this comment

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

Right, but what I'm trying to say is, that change should probably be done as a separate PR, rather than being a part of this PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I update the title and description ... small fixes to the CI can be interwoven into PRs

@NoureldinYosri NoureldinYosri changed the title remove macos-13 from workflows remove macos-13 from workflows and update the type stub to accommodate the latest numpy version Oct 20, 2025
@NoureldinYosri NoureldinYosri merged commit 3447c33 into main Oct 20, 2025
10 checks passed
@NoureldinYosri NoureldinYosri deleted the macos_13 branch October 20, 2025 20:29
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.

Remove macos-13 runners from CI workflows because they will be retired

2 participants