Skip to content

Commit

Permalink
Pin pytest-xdist to <3.5 - issue seem to have introduced in pytest-de…
Browse files Browse the repository at this point in the history
…v/pytest-xdist#778, even if at first this appear to be unrelated (we use `loadfile` and not `loadscope`)
  • Loading branch information
ericpre committed Nov 29, 2023
1 parent 2c84104 commit 0da8bb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion conda_environment_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ dependencies:
- matplotlib-base=3.5.1
- pytest
- pytest-mpl
- pytest-xdist
# Regression introduced in https://github.com/pytest-dev/pytest-xdist/pull/778
- pytest-xdist <3.5
- pytest-rerunfailures
- pytest-instafail
- pooch
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"tests": [
"pytest>=3.6",
"pytest-mpl",
"pytest-xdist",
"pytest-xdist<3.5",
"pytest-rerunfailures",
"pytest-instafail",
],
Expand Down

0 comments on commit 0da8bb2

Please sign in to comment.