Skip to content

Commit

Permalink
Pin to pytest 7. (rapidsai#2137)
Browse files Browse the repository at this point in the history
There is an unusual test failure in raft-dask:

```
Exception: ModuleNotFoundError("No module named 'raft_dask.common.comms_utils'")
```

The tests started failing at the same time that pytest 8 was released. This PR tests with `pytest==7.*` to isolate the root cause (and fix it if it is the problem).
  • Loading branch information
bdice authored Jan 31, 2024
1 parent f876491 commit c70d17a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-120_arch-aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-120_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.*
Expand Down
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ dependencies:
common:
- output_types: [conda, requirements, pyproject]
packages:
- pytest
- pytest==7.*
- pytest-cov
test_pylibraft:
common:
Expand Down
2 changes: 1 addition & 1 deletion python/pylibraft/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion python/raft-dask/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c70d17a

Please sign in to comment.