#66619 closed defect (fixed)

py-h5py: fails to build due to oldest-supported-numpy missing

Reported by: jsalort (Julien Salort) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: eborisch (Eric A. Borisch)
Port: py-h5py

Description

I am unable to build py311-h5py. I get:

ERROR Missing dependencies:
	oldest-supported-numpy

Strangely, this seems to be a bug in PIP which is supposedly fixed in pip 22.1. py311-pip @ 22.3.1 is installed and active.

MacPorts 2.8.0 running on Ventura (Apple M1). One possibility would be to patch pyproject.toml to remove the "oldest-supported-numpy" line, but I don't know if it is the right way.

Attachments (2)

main.log (87.0 KB) - added by jsalort (Julien Salort) 23 months ago.
main.2.log (111.0 KB) - added by CraigMarkwardt 22 months ago.
Mac OS Big Sur main.log

Download all attachments as: .zip

Change History (5)

Changed 23 months ago by jsalort (Julien Salort)

Attachment: main.log added

comment:1 Changed 22 months ago by CraigMarkwardt

Same problem with py311-h5py

Mac Big Sur 11.7.2 Intel

Macports 2.8.0

Also installed:

py311-pip @22.3.1_0 (active)

py311-numpy @1.24.1_0+gfortran+openblas (active)

Last edited 22 months ago by CraigMarkwardt (previous) (diff)

Changed 22 months ago by CraigMarkwardt

Attachment: main.2.log added

Mac OS Big Sur main.log

comment:2 Changed 22 months ago by jsalort (Julien Salort)

Removing oldest-supported-numpy from pyproject.toml fixes the build issue for me. I have created a PR. https://github.com/macports/macports-ports/pull/17388

comment:3 Changed 22 months ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.