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
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to