Skip to content

[Python][CI] test-conda-python-3.11-hypothesis fails with newest pytest #50277

Description

@raulcd

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions