This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new ddc422944e GH-49295: [Python] Remove "mimalloc" from 
`mandatory_backends` (#49645)
ddc422944e is described below

commit ddc422944e5bbfdd6b76b4d0c4d8c0c6625b14f4
Author: Sutou Kouhei <[email protected]>
AuthorDate: Fri Apr 3 09:03:08 2026 +0900

    GH-49295: [Python] Remove "mimalloc" from `mandatory_backends` (#49645)
    
    ### Rationale for this change
    
    mimalloc is enabled by default but users can disable it. For example, 
Debian package disables it.
    
    If it's disabled, PyArrow tests are failed.
    
    ### What changes are included in this PR?
    
    Remove `"mimalloc"` from `mandatory_backends` in our test.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    No.
    * GitHub Issue: #49295
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 python/pyarrow/tests/test_memory.py | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/python/pyarrow/tests/test_memory.py 
b/python/pyarrow/tests/test_memory.py
index 29e47b5175..56196bd9c5 100644
--- a/python/pyarrow/tests/test_memory.py
+++ b/python/pyarrow/tests/test_memory.py
@@ -30,9 +30,7 @@ import pytest
 pytestmark = pytest.mark.processes
 
 possible_backends = ["system", "jemalloc", "mimalloc"]
-# Backends which are expected to be present in all builds of PyArrow,
-# except if the user manually recompiled Arrow C++.
-mandatory_backends = ["system", "mimalloc"]
+mandatory_backends = ["system"]
 
 
 def backend_factory(backend_name):

Reply via email to