From 25275533eb0a6149a04205b071eff0b8af87402b Mon Sep 17 00:00:00 2001 From: jakirkham Date: Mon, 29 Jan 2024 14:26:51 -0800 Subject: [PATCH] Exclude PyTest 8 There are some test issues cropping up in CI due to PyTest 8. Go ahead and pin it as a workaround for now. --- conda/environments/all_cuda-118_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-120_arch-x86_64.yaml | 2 +- dependencies.yaml | 2 +- python/cucim/pyproject.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index 0cc4a61e2..31c5e6077 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -39,7 +39,7 @@ dependencies: - pytest-cov>=2.12.1 - pytest-lazy-fixture>=0.6.3 - pytest-xdist -- pytest>=6.2.4 +- pytest>=6.2.4,<8.0.0a0 - python>=3.8,<3.11 - pywavelets>=1.0 - recommonmark diff --git a/conda/environments/all_cuda-120_arch-x86_64.yaml b/conda/environments/all_cuda-120_arch-x86_64.yaml index 221169e0c..0f25face9 100644 --- a/conda/environments/all_cuda-120_arch-x86_64.yaml +++ b/conda/environments/all_cuda-120_arch-x86_64.yaml @@ -38,7 +38,7 @@ dependencies: - pytest-cov>=2.12.1 - pytest-lazy-fixture>=0.6.3 - pytest-xdist -- pytest>=6.2.4 +- pytest>=6.2.4,<8.0.0a0 - python>=3.8,<3.11 - pywavelets>=1.0 - recommonmark diff --git a/dependencies.yaml b/dependencies.yaml index 60d482b1d..33f7c6a67 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -254,7 +254,7 @@ dependencies: packages: - GPUtil>=1.4.0 - psutil>=5.8.0 - - pytest>=6.2.4 + - pytest>=6.2.4,<8.0.0a0 - pytest-cov>=2.12.1 - pytest-lazy-fixture>=0.6.3 - pytest-xdist diff --git a/python/cucim/pyproject.toml b/python/cucim/pyproject.toml index b39c912a7..ac1034d5d 100644 --- a/python/cucim/pyproject.toml +++ b/python/cucim/pyproject.toml @@ -72,7 +72,7 @@ test = [ "pytest-cov>=2.12.1", "pytest-lazy-fixture>=0.6.3", "pytest-xdist", - "pytest>=6.2.4", + "pytest>=6.2.4,<8.0.0a0", "pywavelets>=1.0", "tifffile>=2022.7.28", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`.