Package sh breaks --import-mode=importlib #7689
Labels
topic: collection
related to the collection phase
type: bug
problem that needs to be addressed
type: question
general question, might be closed after 2 weeks of inactivity
Hi, I have track down an issue involving the package sh and the option
--import-mode=importlib
.When package
sh
is loaded, an importer is added tosys.meta_path
:This breaks the importing system of
pytest
at this line, since the new importer does not have the methodfind_spec
.I get, indeed, the following error:
Should this issue be resolved from
pytest
side, or fromsh
side?The text was updated successfully, but these errors were encountered: