Bug 294318 - math/py-ml-dtypes: upgrade to 0.5.4
Summary: math/py-ml-dtypes: upgrade to 0.5.4
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Xin LI
URL:
Keywords:
Depends on: 294317
Blocks:
  Show dependency tree / graph
 
Reported: 2026-04-08 03:29 UTC by Xin LI
Modified: 2026-09-11 05:44 UTC (History)
3 users (show)

See Also:
sunpoet: maintainer-feedback+


Attachments
Proposed patch (4.20 KB, patch)
2026-04-08 03:29 UTC, Xin LI
no flags Details | Diff
Rebased after recent changes (3.43 KB, patch)
2026-05-20 06:51 UTC, Xin LI
delphij: maintainer-approval? (sunpoet)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xin LI freebsd_committer freebsd_triage 2026-04-08 03:29:27 UTC
Created attachment 269479 [details]
Proposed patch

Switch to use numpy2, and use eigen5 instead of bundled eigen (broken when AVX enabled).
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2026-04-24 21:32:14 UTC
(In reply to Xin LI from comment #0)

I'm OK with eigen change.

Regarding the numpy transition: in my experience, this is rarely isolated to a single port. It typically impacts a broad range of ports, often leading to conflicts between py-numpy1 and py-numpy within the dependency chain or among downstream consumers. Resolving this will likely require a coordinated effort across multiple committers.
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2026-05-10 03:27:46 UTC
(In reply to Po-Chuan Hsieh from comment #1)

The numpy is no longer an issue since makc@ has migrated almost every ports to py-numpy in ports b0b4d9e1eae890d0de1591e20fb37358439a2ff6.
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2026-05-20 00:03:54 UTC
^Triage: this patch does not apply.

For one thing, the existing port has already been updated with the numpy changes,
and the PORTREVISION updated.

For the second, the line:

   +@@ -4,8 +4,7 @@ requires-python = ">=3.9"

appears out of sequence.

Can submitter please update this?
Comment 4 Xin LI freebsd_committer freebsd_triage 2026-05-20 06:51:07 UTC
Created attachment 270939 [details]
Rebased after recent changes
Comment 5 Po-Chuan Hsieh freebsd_committer freebsd_triage 2026-05-20 08:57:56 UTC
I've made minor adjustment:
- Respect LOCALBASE
- Clean up bundled library

Please see https://people.FreeBSD.org/~sunpoet/patch/math-py-ml-dtypes.txt