From 50f239881b072aa2ac6c6d73387fc2d4c910aeea Mon Sep 17 00:00:00 2001 From: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Date: Mon, 15 Apr 2024 20:23:53 -0400 Subject: [PATCH 1/3] add lxml_html_clean to testing in setup.cfg --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index adfe8c8..24d2c2b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -44,6 +44,7 @@ testing = pytest pytest-cov pytest-qt + lxml_html_clean doc = sphinx>6 sphinx-autobuild From 9d1c5f0a1db25ccc6843bbaf425f1624e0cdfbce Mon Sep 17 00:00:00 2001 From: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Date: Mon, 15 Apr 2024 20:51:43 -0400 Subject: [PATCH 2/3] add a comment and add to tox.ini --- setup.cfg | 1 + tox.ini | 1 + 2 files changed, 2 insertions(+) diff --git a/setup.cfg b/setup.cfg index 24d2c2b..7ab117e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -44,6 +44,7 @@ testing = pytest pytest-cov pytest-qt + # should only be needed till napari 0.5.0 release lxml_html_clean doc = sphinx>6 diff --git a/tox.ini b/tox.ini index af2b8d3..9896ee1 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,7 @@ deps = pytest-cov # https://pytest-cov.readthedocs.io/en/latest/ pytest-qt # https://pytest-qt.readthedocs.io/en/latest/intro.html pytest-xvfb ; sys_platform == 'linux' + lxml_html_clean # should only be needed till napari 0.5.0 commands = pytest -v --color=yes --cov=napari_animation --cov-report=xml [testenv:py{38,39,310,311}-{linux,macos,windows}-pyqt] From a47215307b5e2f42fea5094267c5350aa38f0d6d Mon Sep 17 00:00:00 2001 From: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com> Date: Mon, 15 Apr 2024 21:12:57 -0400 Subject: [PATCH 3/3] fix tox.ini --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9896ee1..e5efda8 100644 --- a/tox.ini +++ b/tox.ini @@ -32,16 +32,17 @@ deps = pytest-cov # https://pytest-cov.readthedocs.io/en/latest/ pytest-qt # https://pytest-qt.readthedocs.io/en/latest/intro.html pytest-xvfb ; sys_platform == 'linux' - lxml_html_clean # should only be needed till napari 0.5.0 commands = pytest -v --color=yes --cov=napari_animation --cov-report=xml [testenv:py{38,39,310,311}-{linux,macos,windows}-pyqt] deps = napari[pyqt5,testing] + lxml_html_clean # should only be needed till napari 0.5.0 [testenv:py{38,39,310}-{linux,macos,windows}-pyside] deps = napari[pyside2,testing] + lxml_html_clean # should only be needed till napari 0.5.0 [testenv:ruff] skip_install = True