diff --git a/ci/conda_env_python.txt b/ci/conda_env_python.txt index 97203442129c4..5fdd21d2bd1f9 100644 --- a/ci/conda_env_python.txt +++ b/ci/conda_env_python.txt @@ -23,7 +23,7 @@ cloudpickle fsspec hypothesis numpy>=1.16.6 -pytest +pytest<8 # pytest-lazy-fixture broken on pytest 8.0.0 pytest-faulthandler pytest-lazy-fixture s3fs>=2023.10.0 diff --git a/python/requirements-test.txt b/python/requirements-test.txt index 9f07e5c57bd09..b3ba5d852b968 100644 --- a/python/requirements-test.txt +++ b/python/requirements-test.txt @@ -1,6 +1,6 @@ cffi hypothesis pandas -pytest +pytest<8 pytest-lazy-fixture pytz diff --git a/python/requirements-wheel-test.txt b/python/requirements-wheel-test.txt index 516ec0fccc2e9..c74a8ca6908a7 100644 --- a/python/requirements-wheel-test.txt +++ b/python/requirements-wheel-test.txt @@ -1,7 +1,7 @@ cffi cython hypothesis -pytest +pytest<8 pytest-lazy-fixture pytz tzdata; sys_platform == 'win32'