Skip to content

Commit 7df31e3

Browse files
committed
Disallow pytest 9.0.0 due to pytest-dev/pytest#13895
1 parent 1137fe9 commit 7df31e3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

setup.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,15 @@ def __ne__(self, other):
212212
# There are certain tests that also require pytest-qt, but because those
213213
# tests are so environment/machine specific, we are leaving these out of
214214
# the dependencies.
215-
'tests': ['coverage', 'parameterized', 'pybind11', 'pytest', 'pytest-parallel'],
215+
'tests': [
216+
'coverage',
217+
'parameterized',
218+
'pybind11',
219+
# 9.0.0 breaks skipping individual tests; see
220+
# https://github.com/pytest-dev/pytest/issues/13895
221+
'pytest!=9.0.0',
222+
'pytest-parallel',
223+
],
216224
'docs': [
217225
'Sphinx>4,!=8.2.0',
218226
'sphinx-copybutton',

0 commit comments

Comments
 (0)