Opened 7 months ago

Closed 6 months ago

#69803 closed defect (fixed)

py-numpy @1.26.4: ERROR Missing dependencies: meson-python<0.16.0,>=0.15.0

Reported by: fakahle Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: Cc: michaelld (Michael Dickens)
Port: py-numpy

Description (last modified by ryandesign (Ryan Carsten Schmidt))

:info:build ERROR Missing dependencies:
:info:build     meson-python<0.16.0,>=0.15.0

Either pypropject.toml (in numpy/work) needs to be updated to allow 0.16.0 or py312-meson-python needs a downgrade to 0.15.x in order to compile py-numpy on macports.

Same with py311-numpy, ...

Change History (5)

comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: reneeotten michaelld added
Description: modified (diff)
Port: py-meson-python py-numpy added; py312-numpy py311-numpy removed

comment:3 Changed 6 months ago by AgilentGCMS

I am having this same problem as of May 20, 2024. I see that a fix (https://github.com/numpy/numpy/commit/43f9f1b59ef64c7797816fcb7fa6925963fbdcf9) was instituted 4 weeks ago in numpy. When will this fix make its way into macports, please? I'd rather not build numpy outside of macports if I can help it.

comment:4 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: reneeotten removed
Owner: set to ryandesign
Port: py-meson-python removed
Status: newaccepted
Summary: as of April 2024 macports py-meson refers to 0.16 (py312-meson-python @0.16.0_0) but numpy's pyproject.toml requires meson-python<0.16.0py-numpy @1.26.4: ERROR Missing dependencies: meson-python<0.16.0,>=0.15.0

Maybe we were assuming a new version of numpy including this fix would be released soon but since it hasn't been, I'll add a patchfile.

comment:5 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 0c6a110576211e75981c5cbd91d33bb5ded2c2a8/macports-ports (master):

py-numpy: Fix build with py-meson-python 0.16.0

Closes: #69803

Also no longer chmod tempita.py since that fix was included in 1.26.2.

Note: See TracTickets for help on using tickets.