diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17feee7ab4..997ce41cdb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -96,7 +96,7 @@ jobs: pip install file://$PWD/python/ipywidgets#egg=ipywidgets[test] - name: Test with pytest run: | - pip install pytest + pip install "pytest<8" cd python/ipywidgets pytest --cov=ipywidgets ipywidgets