Skip to content

Add missing functions to NumPy 2.0 migration rule#11528

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
mtsokol:npy201-alltrue
May 26, 2024
Merged

Add missing functions to NumPy 2.0 migration rule#11528
charliermarsh merged 1 commit intoastral-sh:mainfrom
mtsokol:npy201-alltrue

Conversation

@mtsokol
Copy link
Contributor

@mtsokol mtsokol commented May 24, 2024

Hi!

I left out some of the functions in the migration rule which became removed in NumPy 2.0:

  • np.alltrue
  • np.anytrue
  • np.cumproduct
  • np.product

Addressing: numpy/numpy#26493

@mtsokol mtsokol changed the title Add np.alltrue to NumPy 2.0 migration rule Add missing functions to NumPy 2.0 migration rule May 24, 2024
@github-actions
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

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

Perfect, thanks!

@charliermarsh charliermarsh added the rule Implementing or modifying a lint rule label May 26, 2024
@charliermarsh charliermarsh merged commit ab6d9d4 into astral-sh:main May 26, 2024
@mtsokol mtsokol deleted the npy201-alltrue branch May 27, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rule Implementing or modifying a lint rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants