Skip to content

Explicitly reject oldest-supported-numpy as a build-time dependency - #392

Merged
agriyakhetarpal merged 1 commit into
mainfrom
oldest-supported-numpy-rejection
Jun 30, 2026
Merged

Explicitly reject oldest-supported-numpy as a build-time dependency#392
agriyakhetarpal merged 1 commit into
mainfrom
oldest-supported-numpy-rejection

Conversation

@agriyakhetarpal

Copy link
Copy Markdown
Member

Split off from #21. oldest-supported-numpy is no longer silently ignored when it appears as a build dependency, and instead raises an error. It has been deprecated since NumPy 2.0, so packages that still depend on it should move to a plain numpy dependency. If this causes trouble for a specific recipe, it can still be ignored by setting ignored_build_requirements to "patchelf oldest-supported-numpy" of course, but IMO we don't need to bother about it anymore. In pyodide/pyodide-recipes#591, I tested the change via #21, only Fiona was using it. I updated its version to one that no longer uses it in pyodide/pyodide-recipes#608 and all recipes are now fine.

@agriyakhetarpal agriyakhetarpal changed the title Explicitly reject oldest-supported-numpy Explicitly reject oldest-supported-numpy as a build-time dependency Jun 30, 2026
@agriyakhetarpal
agriyakhetarpal merged commit 8ea032b into main Jun 30, 2026
13 checks passed
@agriyakhetarpal
agriyakhetarpal deleted the oldest-supported-numpy-rejection branch June 30, 2026 14:52
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.

1 participant