From a3076b344774c2944f0a4b7dd0d6fdaafabdab46 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Wed, 18 Sep 2024 13:22:39 +0200 Subject: dev-python/statsmodels: Require >=numpy-2.0.0 for building MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/930149 Signed-off-by: Michał Górny --- dev-python/statsmodels/statsmodels-0.14.3.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'dev-python/statsmodels') diff --git a/dev-python/statsmodels/statsmodels-0.14.3.ebuild b/dev-python/statsmodels/statsmodels-0.14.3.ebuild index c17f1ee501b8..3b129f1595f7 100644 --- a/dev-python/statsmodels/statsmodels-0.14.3.ebuild +++ b/dev-python/statsmodels/statsmodels-0.14.3.ebuild @@ -21,15 +21,18 @@ SLOT="0" KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~amd64-linux" IUSE="examples" +# NB: upstream requires building with numpy-2 but supports 1.x +# at runtime DEPEND=" - >=dev-python/numpy-1.22.3[${PYTHON_USEDEP}] + >=dev-python/numpy-2.0.0[${PYTHON_USEDEP}] >=dev-python/scipy-1.8[${PYTHON_USEDEP}] " RDEPEND=" - ${DEPEND} + >=dev-python/numpy-1.22.3[${PYTHON_USEDEP}] >=dev-python/packaging-21.3[${PYTHON_USEDEP}] >=dev-python/pandas-1.4[${PYTHON_USEDEP}] >=dev-python/patsy-0.5.6[${PYTHON_USEDEP}] + >=dev-python/scipy-1.8[${PYTHON_USEDEP}] " BDEPEND=" ${DEPEND} -- cgit v1.2.3-65-gdbad