From 990b64221e2e4f89b699f308a588e3754ef81a0b Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 30 Jan 2024 17:30:06 -0600 Subject: [PATCH] Pin to pytest 7. --- conda/environments/all_cuda-118_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-118_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-120_arch-aarch64.yaml | 2 +- conda/environments/all_cuda-120_arch-x86_64.yaml | 2 +- dependencies.yaml | 2 +- python/pylibraft/pyproject.toml | 2 +- python/raft-dask/pyproject.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/conda/environments/all_cuda-118_arch-aarch64.yaml b/conda/environments/all_cuda-118_arch-aarch64.yaml index ac076f5505..160e74c14f 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.2.* - recommonmark - rmm==24.2.* diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index b3ded51bb5..5c91d806c6 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.2.* - recommonmark - rmm==24.2.* diff --git a/conda/environments/all_cuda-120_arch-aarch64.yaml b/conda/environments/all_cuda-120_arch-aarch64.yaml index c0eede1389..af99664012 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.2.* - recommonmark - rmm==24.2.* diff --git a/conda/environments/all_cuda-120_arch-x86_64.yaml b/conda/environments/all_cuda-120_arch-x86_64.yaml index cebaf96493..ecf2c3d904 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.2.* - recommonmark - rmm==24.2.* diff --git a/dependencies.yaml b/dependencies.yaml index 0e4d6d4693..aa05607bd9 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 5070d6cf6f..8a81061478 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 37d94be7f9..7c37ae9c06 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]