[Bug 281470] math/py-numpy: Update to 2.1.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Nov 2024 16:32:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281470

--- Comment #14 from John Hein <jcfyecrayz@liamekaens.com> ---
(In reply to Rainer Hurling from comment #12)
"Has anyone tried whether they can be installed at the same time (side by side)
without conflicts?"

The current math/py-numpy and the one based on 2.x proposed here do conflict. 
Some options to support having two math/py-numpy* ports include the following:

 (a) Allow math/py-numpy1 (or math/py-numpy based on 1.x) and math/py-numpy2
(or math/py-numpy based on 2.x) to both exist as package options, but they
conflict. So either one can be installed individually but both cannot be
installed together.  When you have multiple dependent ports clamoring for
different versions (especially all needing run time installation), this becomes
intractable to install in the same environment.  But some packages use this
strategy (like lang/cython and lang/cython3, for instance, which is usually
only needed at build time).

 (b) Allow one of the flavors to install to an alternate namespace (e.g.,
site-packages/numpy1).

 (c) Install to a separate virtual environment.  This option is not currently
supported by the ports tree python infrastructure.  So supporting this would be
a big change.

-- 
You are receiving this mail because:
You are the assignee for the bug.