diff --git a/conda/environments/all_cuda-118_arch-aarch64.yaml b/conda/environments/all_cuda-118_arch-aarch64.yaml index 96c10a763a..613b44dfb7 100644 --- a/conda/environments/all_cuda-118_arch-aarch64.yaml +++ b/conda/environments/all_cuda-118_arch-aarch64.yaml @@ -44,8 +44,8 @@ dependencies: - nvcc_linux-aarch64=11.8 - pre-commit - pydata-sphinx-theme -- pytest - pytest-cov +- pytest==7.* - rapids-dask-dependency==24.4.* - recommonmark - rmm==24.4.* diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index aea5bd1961..69a7a17fc0 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -44,8 +44,8 @@ dependencies: - nvcc_linux-64=11.8 - pre-commit - pydata-sphinx-theme -- pytest - pytest-cov +- pytest==7.* - rapids-dask-dependency==24.4.* - recommonmark - rmm==24.4.* diff --git a/conda/environments/all_cuda-120_arch-aarch64.yaml b/conda/environments/all_cuda-120_arch-aarch64.yaml index 0ea4a979d6..3d6ab0f669 100644 --- a/conda/environments/all_cuda-120_arch-aarch64.yaml +++ b/conda/environments/all_cuda-120_arch-aarch64.yaml @@ -40,8 +40,8 @@ dependencies: - numpydoc - pre-commit - pydata-sphinx-theme -- pytest - pytest-cov +- pytest==7.* - rapids-dask-dependency==24.4.* - recommonmark - rmm==24.4.* diff --git a/conda/environments/all_cuda-120_arch-x86_64.yaml b/conda/environments/all_cuda-120_arch-x86_64.yaml index 48a463bc6f..1250a876a9 100644 --- a/conda/environments/all_cuda-120_arch-x86_64.yaml +++ b/conda/environments/all_cuda-120_arch-x86_64.yaml @@ -40,8 +40,8 @@ dependencies: - numpydoc - pre-commit - pydata-sphinx-theme -- pytest - pytest-cov +- pytest==7.* - rapids-dask-dependency==24.4.* - recommonmark - rmm==24.4.* diff --git a/dependencies.yaml b/dependencies.yaml index 37404a1e37..92c9307fad 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -500,7 +500,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - pytest + - pytest==7.* - pytest-cov test_pylibraft: common: diff --git a/python/pylibraft/pyproject.toml b/python/pylibraft/pyproject.toml index ba45a6d33d..80859673ef 100644 --- a/python/pylibraft/pyproject.toml +++ b/python/pylibraft/pyproject.toml @@ -49,8 +49,8 @@ classifiers = [ [project.optional-dependencies] test = [ "cupy-cuda11x>=12.0.0", - "pytest", "pytest-cov", + "pytest==7.*", "scikit-learn", "scipy", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. diff --git a/python/raft-dask/pyproject.toml b/python/raft-dask/pyproject.toml index 33e0c15684..e0353fa98a 100644 --- a/python/raft-dask/pyproject.toml +++ b/python/raft-dask/pyproject.toml @@ -50,8 +50,8 @@ classifiers = [ [project.optional-dependencies] test = [ - "pytest", "pytest-cov", + "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]