CI issue with test_sdist-3.8_glx-win
https://gitlab.esrf.fr/workflow/ewoks/ewoks/-/jobs/914495
Regression in pytest 8.0.0rc1 (7.4.4 was the last working version).
___ ERROR collecting build_venv/Lib/site-packages/ewokscore/tests/examples ____
..\build_venv\lib\site-packages\_pytest\runner.py:341: in from_call
result: Optional[TResult] = func()
..\build_venv\lib\site-packages\_pytest\runner.py:380: in collect
collector.config.pluginmanager._loadconftestmodules(
..\build_venv\lib\site-packages\_pytest\config\__init__.py:616: in _loadconftestmodules
mod = self._importconftest(conftestpath, importmode, rootpath)
..\build_venv\lib\site-packages\_pytest\config\__init__.py:662: in _importconftest
assert mod not in mods
E AssertionError
_____ ERROR collecting build_venv/Lib/site-packages/ewokscore/tests/utils _____
..\build_venv\lib\site-packages\_pytest\runner.py:341: in from_call
result: Optional[TResult] = func()
..\build_venv\lib\site-packages\_pytest\runner.py:380: in collect
collector.config.pluginmanager._loadconftestmodules(
..\build_venv\lib\site-packages\_pytest\config\__init__.py:616: in _loadconftestmodules
mod = self._importconftest(conftestpath, importmode, rootpath)
..\build_venv\lib\site-packages\_pytest\config\__init__.py:662: in _importconftest
assert mod not in mods
E AssertionError
Probably pytest
issue https://github.com/pytest-dev/pytest/issues/9765 (fixed in https://github.com/pytest-dev/pytest/pull/11708)
Edited by Wout De Nolf