#67136 closed enhancement (fixed)

py-numpy: install oldest-supported-numpy metadata

Reported by: jmroot (Joshua Root) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-numpy

Description

A number of numpy dependents have started specifying oldest-supported-numpy as a build-time dependency. See for example #66606, #66619, #66898. In MacPorts we don't have the problem that this is intended to solve, since the numpy version at runtime will always be >= the one at build time. Patching out the dependencies in each port works, but I think the most expedient general solution is for our numpy ports to simply install a dist-info directory containing appropriate metadata, such that these dependencies will be considered satisfied.

Change History (1)

comment:1 Changed 11 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 42a7af9815778e1430839b6eb2c1711c49128310/macports-ports (master):

New port: py-oldest-supported-numpy

Depend on it in py-numpy so any dependents that declare a dependency on
oldest-supported-numpy will consider it satisfied. No rev bump as this
doesn't change numpy's installed files.

Closes: #67136

Note: See TracTickets for help on using tickets.