Accepting request 1117788 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1117788
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pandas?expand=0&rev=57
This commit is contained in:
Ana Guerrero 2023-10-15 17:26:04 +00:00 committed by Git OBS Bridge
commit f9ff9dc141
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Oct 14 03:55:05 UTC 2023 - Bernhard Wiedemann <bwiedemann@suse.com>
- Fix random build failures
-------------------------------------------------------------------
Sat Oct 7 20:22:18 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -419,7 +419,7 @@ You can install them directly through `pip3 install --user`, if needed.
%setup -q -n pandas-%{version}
%if !%{with test}
# any installed python3 will do (SLE15 python module pythons does note guarantee /usr/bin/python3)
firstpython3=$(find %{_bindir} -name 'python3*' -print -quit)
firstpython3=$(find %{_bindir} -regex '.*/python3[.0-9]*' -print -quit)
${firstpython3} generate_version.py -o _version_meson.py
sed -i "s|'python', 'generate_version.py',|'${firstpython3}', 'generate_version.py',|" meson.build
# don't require the PyPI data only tzdata package, we use the timezone RPM package