From fc2b9771f17644243817a339e218360aa97a1a79 Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Mon, 29 Jan 2024 13:29:46 -0600 Subject: [PATCH] Pin pytest to <8 (#14920) --- conda/environments/all_cuda-118_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-120_arch-x86_64.yaml | 2 +- dependencies.yaml | 2 +- python/cudf/pyproject.toml | 2 +- python/cudf_kafka/pyproject.toml | 2 +- python/custreamz/pyproject.toml | 2 +- python/dask_cudf/pyproject.toml | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index 47b377013ce..956c685f7de 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -73,11 +73,11 @@ dependencies: - ptxcompiler - pyarrow==14.0.1.* - pydata-sphinx-theme!=0.14.2 -- pytest - pytest-benchmark - pytest-cases>=3.8.2 - pytest-cov - pytest-xdist +- pytest<8 - python-confluent-kafka>=1.9.0,<1.10.0a0 - python-snappy>=0.6.0 - python>=3.9,<3.11 diff --git a/conda/environments/all_cuda-120_arch-x86_64.yaml b/conda/environments/all_cuda-120_arch-x86_64.yaml index 4cf1d5427f4..cd2c70577f9 100644 --- a/conda/environments/all_cuda-120_arch-x86_64.yaml +++ b/conda/environments/all_cuda-120_arch-x86_64.yaml @@ -71,11 +71,11 @@ dependencies: - pyarrow==14.0.1.* - pydata-sphinx-theme!=0.14.2 - pynvjitlink -- pytest - pytest-benchmark - pytest-cases>=3.8.2 - pytest-cov - pytest-xdist +- pytest<8 - python-confluent-kafka>=1.9.0,<1.10.0a0 - python-snappy>=0.6.0 - python>=3.9,<3.11 diff --git a/dependencies.yaml b/dependencies.yaml index 90a04b2f876..9a1d11af02d 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -612,7 +612,7 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - pytest + - pytest<8 - pytest-cov - pytest-xdist test_python_cudf: diff --git a/python/cudf/pyproject.toml b/python/cudf/pyproject.toml index c7b66abea27..ce30230398f 100644 --- a/python/cudf/pyproject.toml +++ b/python/cudf/pyproject.toml @@ -57,11 +57,11 @@ test = [ "fastavro>=0.22.9", "hypothesis", "msgpack", - "pytest", "pytest-benchmark", "pytest-cases>=3.8.2", "pytest-cov", "pytest-xdist", + "pytest<8", "python-snappy>=0.6.0", "scipy", "tokenizers==0.13.1", diff --git a/python/cudf_kafka/pyproject.toml b/python/cudf_kafka/pyproject.toml index 062a0224c1f..d6574c32873 100644 --- a/python/cudf_kafka/pyproject.toml +++ b/python/cudf_kafka/pyproject.toml @@ -27,9 +27,9 @@ dependencies = [ [project.optional-dependencies] test = [ - "pytest", "pytest-cov", "pytest-xdist", + "pytest<8", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. [project.urls] diff --git a/python/custreamz/pyproject.toml b/python/custreamz/pyproject.toml index 3e6c74ab570..03ec079a890 100644 --- a/python/custreamz/pyproject.toml +++ b/python/custreamz/pyproject.toml @@ -36,9 +36,9 @@ classifiers = [ [project.optional-dependencies] test = [ - "pytest", "pytest-cov", "pytest-xdist", + "pytest<8", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. [project.urls] diff --git a/python/dask_cudf/pyproject.toml b/python/dask_cudf/pyproject.toml index 33065da6e8d..c3185bcb793 100644 --- a/python/dask_cudf/pyproject.toml +++ b/python/dask_cudf/pyproject.toml @@ -43,9 +43,9 @@ cudf = "dask_cudf.backends:CudfBackendEntrypoint" test = [ "dask-cuda==24.2.*", "numba>=0.57", - "pytest", "pytest-cov", "pytest-xdist", + "pytest<8", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. [project.urls]