On 26. 10. 22 19:40, Sandro wrote:
Hi,
I'm getting the ImportError from subject specifically when building
python-plotnine for f36 (Python 3.10.7).
Yes, importing from .conftest in tests should not be possible.
The same package builds fine for f37 and rawhide (Python 3.11.0).
Maybe pytest somehow made this work? It¨s not just Python 3.11 but also pytest 7.
The module the test is trying to import from is present in tests/, so
I'm a bit
stupefied as to why this fails. I also tried with putting an empty __init__.py
in tests/. But this fails with an OSError in conftest.py.
Do you happen to have the exact OSError with a traceback? Maybe it's not related.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok