From 112bf9d1cfc3dae3131c0dd3089ebcf371eedd0bfaa6bb706550b6e30065626a Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 11 Jul 2024 05:35:39 +0000 Subject: [PATCH] - Restrict numpy to < 2. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-astropy?expand=0&rev=126 --- python-astropy.changes | 4 ++-- python-astropy.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python-astropy.changes b/python-astropy.changes index c47269b..26bda99 100644 --- a/python-astropy.changes +++ b/python-astropy.changes @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:263b01fd1f4dab924749917f56fd765d6a286253fa33adc0d576de66b326470b -size 323489 +oid sha256:5884db98e2c18727680427e1d479735b9df9168a732846c1331cd6229234d224 +size 323656 diff --git a/python-astropy.spec b/python-astropy.spec index f73e46a..9080be2 100644 --- a/python-astropy.spec +++ b/python-astropy.spec @@ -63,7 +63,7 @@ Source100: python-astropy-rpmlintrc BuildRequires: %{python_module Cython >= 3 with %python-Cython < 3.1} BuildRequires: %{python_module devel >= 3.9} BuildRequires: %{python_module extension-helpers >= 1.0} -BuildRequires: %{python_module numpy-devel} +BuildRequires: %{python_module numpy-devel < 2} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm >= 6.2} BuildRequires: %{python_module setuptools} @@ -74,9 +74,9 @@ BuildRequires: pkgconfig BuildRequires: python-rpm-macros Requires: python-PyYAML >= 3.13 Requires: python-astropy-iers-data >= 0.2024.4.29.0.28.48 -Requires: python-numpy >= 1.23 Requires: python-packaging >= 19.0 Requires: python-pyerfa >= 2.0.1.1 +Requires: (python-numpy >= 1.23 with python-numpy < 2) Requires(post): update-alternatives Requires(postun): update-alternatives # %%{_bindir}/showtable namespace clash