Bug 294328 - math/py-numpy: migrate consumers from numpy1
Summary: math/py-numpy: migrate consumers from numpy1
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks: 286376
  Show dependency treegraph
 
Reported: 2026-04-08 10:21 UTC by Max Brazhnikov
Modified: 2026-04-11 21:18 UTC (History)
5 users (show)

See Also:
makc: maintainer-feedback+
makc: exp-run?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Brazhnikov freebsd_committer freebsd_triage 2026-04-08 10:21:20 UTC
The purpose of this PR is to coordinate the switch from math/py-numpy1 to math/py-numpy.

Plan:
* ask for exp-run to identify ports that fails with numpy1
* switch ports to numpy2
* deprecate numpy1
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2026-04-11 12:30:09 UTC
Remark: science/py-netCDF4 1.7.2 (in the tree) depends on numpy 1, but the new release 1.7.4 requires numpy>=2.0.0 (and also setuptools>=77.0.1).
Comment 2 Max Brazhnikov freebsd_committer freebsd_triage 2026-04-11 20:52:57 UTC
Folks, I've created a dedicated branch [1] to keep track of updates and fixes required for switching ports to numpy2.

[1] https://codeberg.org/makc/freebsd-ports/commits/branch/numpy2
Comment 3 Max Brazhnikov freebsd_committer freebsd_triage 2026-04-11 21:18:19 UTC
Antoine, I'd like to ask for an exp-run to test the switch from numpy1 to numpy2:

https://people.freebsd.org/~makc/patches/switch_to_numpy2.diff

Besides the trivial substitutions the patch contains fix for devel/shiboken6 and update for astro/py-pyerfa to support numpy2.