Skip to content

Commit 4af6b47

Browse files
authored
Pin to pytest==7.* (#180)
Pytest 8 introduced breaking changes that `pytest-asyncio` is still in the process of resolving. See pytest-dev/pytest-asyncio#763. This pin should also also be done directly by `pytest-asyncio>=0.23.4`, but that version is still not available in conda-forge.
1 parent 2249bed commit 4af6b47

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

conda/environments/all_cuda-118_arch-x86_64.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ dependencies:
3535
- pkg-config
3636
- pre-commit
3737
- pynvml>=11.4.1
38-
- pytest
3938
- pytest-asyncio
4039
- pytest-rerunfailures
40+
- pytest==7.*
4141
- python>=3.9,<3.11
4242
- rmm==24.2.*
4343
- scikit-build-core>=0.7.0

conda/environments/all_cuda-120_arch-x86_64.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ dependencies:
3535
- pkg-config
3636
- pre-commit
3737
- pynvml>=11.4.1
38-
- pytest
3938
- pytest-asyncio
4039
- pytest-rerunfailures
40+
- pytest==7.*
4141
- python>=3.9,<3.11
4242
- rmm==24.2.*
4343
- scikit-build-core>=0.7.0

dependencies.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ dependencies:
214214
- dask
215215
- distributed
216216
- numba>=0.57.1
217-
- pytest
217+
- pytest==7.*
218218
- pytest-asyncio
219219
- pytest-rerunfailures
220220
depends_on_cupy:

python/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ test = [
4545
"dask",
4646
"distributed",
4747
"numba>=0.57.1",
48-
"pytest",
4948
"pytest-asyncio",
5049
"pytest-rerunfailures",
50+
"pytest==7.*",
5151
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit ../dependencies.yaml and run `rapids-dependency-file-generator`.
5252

5353
[project.urls]

0 commit comments

Comments
 (0)