Re: ImportError: attempted relative import with no known parent package

2022-10-27 Thread Sandro
On 27-10-2022 17:25, Miro Hrončok wrote: 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 an

Re: ImportError: attempted relative import with no known parent package

2022-10-27 Thread Miro Hrončok
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

Re: pathfix.py will be removed from Python 3.12

2022-10-27 Thread Miro Hrončok
On 27. 10. 22 11:51, Miro Hrončok wrote: micropython  churchyard https://src.fedoraproject.org/rpms/micropython/pull-request/14 -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ python-devel mailing list -- python-devel@lists.fedorapr

Re: pathfix.py will be removed from Python 3.12

2022-10-27 Thread Miro Hrončok
On 26. 10. 22 23:19, Elliott Sales de Andrade wrote: This list is not sorted, which makes it difficult to scan. Please also provide the maintainers-by-package list that is usually sent for changes that affect many packages. Maintainers by package: GConf2 alexl buc caillon caolanm

Re: pathfix.py will be removed from Python 3.12

2022-10-27 Thread Miro Hrončok
On 26. 10. 22 18:41, Maxwell G wrote: On Wed Oct 26, 2022 at 12:41 +0200, Lumír Balhar wrote: Since Python 2.0 (1994), Python provided a useful tool pathfix.py that we use in Python RPM macros for fixing shebangs of Python modules and some RPM packages use it as well directly in their specfiles