From d79b7e96022ee1552548622e636458ebb734318a Mon Sep 17 00:00:00 2001 From: Peter Andreas Entschev Date: Tue, 30 Jan 2024 15:02:43 +0100 Subject: [PATCH] Pin to `pytest==7.*` (#1020) Pytest 8 introduced breaking changes that `pytest-asyncio` is still in the process of resolving. See https://github.com/pytest-dev/pytest-asyncio/issues/763. This pin should also be done directly by `pytest-asyncio>=0.23.4`, but that version is still not available in conda-forge. --- dependencies.yaml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index f122836f..1d31bd52 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -120,7 +120,7 @@ dependencies: - dask - distributed - numba>=0.57 - - pytest + - pytest==7.* - pytest-asyncio - pytest-rerunfailures - output_types: [conda] diff --git a/pyproject.toml b/pyproject.toml index 233e7bcc..1e608473 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,9 +54,9 @@ test = [ "dask", "distributed", "numba>=0.57", - "pytest", "pytest-asyncio", "pytest-rerunfailures", + "pytest==7.*", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`. [project.urls]