GeezerVison is showing github.com — [Python][CI] test-conda-python-3.11-hypothesis fails with newest pytest · Issue #50277 · apache/arrow
[Python][CI] test-conda-python-3.11-hypothesis fails with newest pytest #50277
Description
Describe the bug, including details regarding any error messages, version, and platform.
The test-conda-python-3.11-hypothesis fails with the following:
metafunc.parametrize(*marker.args, **marker.kwargs, _param_mark=marker)
opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/python.py:1316: in parametrize
argnames, parametersets = ParameterSet._for_parametrize(
opt/conda/envs/arrow/lib/python3.11/site-packages/_pytest/mark/structures.py:203: in _for_parametrize
warnings.warn(
E pytest.PytestRemovedIn10Warning: Passing a non-Collection iterable to parametrize is deprecated.
E Test: opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/tests/test_memory.py::test_debug_memory_pool_abort, argvalues type: generator
E Please convert to a list or tuple.
E See https://docs.pytest.org/en/stable/deprecations.html#parametrize-iterators
=========================== short test summary info ============================
SKIPPED [1] opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/tests/test_cuda.py:35: could not import 'pyarrow.cuda': No module named 'pyarrow._cuda'
SKIPPED [1] opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/tests/test_cuda_numba_interop.py:26: could not import 'pyarrow.cuda': No module named 'pyarrow._cuda'
SKIPPED [1] opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/tests/test_jvm.py:27: could not import 'jpype': No module named 'jpype'
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
================= 3 skipped, 8194 deselected, 1 error in 9.43s =================
This is related to an update on pytest.
Component(s)
Continuous Integration, Python
Activity
added a commit that references this issue
on Jun 30, 2026GH-50277: [CI][Python] Avoid using generators for test parametrizatio…
raulcd commented on Jun 30, 2026
Issue resolved by pull request 50278
#50278
Metadata
Metadata
Development
No branches or pull requestsIssue actions