Accepting request 1091231 from home:bnavigator:pyarrow

- Skip invalid pandas 2 test
  * pyarrow-pr35822-pandas2-extensiontype.patch
  * gh#apache/arrow#35822
  * gh#apache/arrow#35839

OBS-URL: https://build.opensuse.org/request/show/1091231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-pyarrow?expand=0&rev=6
This commit is contained in:
2023-06-07 09:09:42 +00:00
committed by Git OBS Bridge
parent a63aec57e4
commit cc2003b422
3 changed files with 65 additions and 1 deletions

View File

@@ -30,6 +30,8 @@ Source: https://files.pythonhosted.org/packages/source/p/pyarrow/pyarrow
Source10: LICENSE.txt
Source11: NOTICE.txt
Source99: python-pyarrow.rpmlintrc
# PATCH-FIX-UPSTREAM pyarrow-pr35822-pandas2-extensiontype.patch gh#apache/arrow#35822, gh#apache/arrow#35839
Patch0: pyarrow-pr35822-pandas2-extensiontype.patch
BuildRequires: %{python_module Cython >= 0.29.31}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel >= 1.16.6}
@@ -93,7 +95,7 @@ This package provides the header files within the python
platlib for consuming modules using cythonization.
%prep
%setup -q -n pyarrow-%{version}
%autosetup -p2 -n pyarrow-%{version}
cp %{SOURCE10} %{SOURCE11} ./
# we disabled the jemalloc backend in apache-arrow
sed -i 's/should_have_jemalloc = sys.platform == "linux"/should_have_jemalloc = False/' pyarrow/tests/test_memory.py