Re: Cython build failing on longintrepr.h not found

2023-02-07 Thread Sandro
On 07-02-2023 01:10, Miro Hrončok wrote: 4) contextlib.redirect_stdout does not support stdout of subprocesses https://docs.python.org/3/library/contextlib.html#contextlib.redirect_stdout We might need a more robust way of redirecting all of stdout... And this now finally has a fix ready:

Re: Cython build failing on longintrepr.h not found

2023-02-06 Thread Miro Hrončok
On 27. 09. 22 19:41, Miro Hrončok wrote: On 27. 09. 22 17:55, Sandro wrote: On 27-09-2022 08:17, Lumír Balhar wrote: Make sure that the build does not use the pyx file from upstream. It seems to me that the file generated by Cython is in the source tarball (skmisc/loess/src/_loess.pyx) and I

Re: Cython build failing on longintrepr.h not found

2022-09-28 Thread Sandro
On 27-09-2022 19:41, Miro Hrončok wrote: On 27. 09. 22 17:55, Sandro wrote: On 27-09-2022 08:17, Lumír Balhar wrote: Make sure that the build does not use the pyx file from upstream. It seems to me that the file generated by Cython is in the source tarball (skmisc/loess/src/_loess.pyx) and I

Re: Cython build failing on longintrepr.h not found

2022-09-27 Thread Miro Hrončok
On 27. 09. 22 17:55, Sandro wrote: On 27-09-2022 08:17, Lumír Balhar wrote: Make sure that the build does not use the pyx file from upstream. It seems to me that the file generated by Cython is in the source tarball (skmisc/loess/src/_loess.pyx) and I did not find any mention of use of Cython

Re: Cython build failing on longintrepr.h not found

2022-09-27 Thread Sandro
On 27-09-2022 08:17, Lumír Balhar wrote: Make sure that the build does not use the pyx file from upstream. It seems to me that the file generated by Cython is in the source tarball (skmisc/loess/src/_loess.pyx) and I did not find any mention of use of Cython in the build log. The file is

Re: Cython build failing on longintrepr.h not found

2022-09-27 Thread Petr Viktorin
The guidelines have more info: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_using_cython On 27. 09. 22 8:17, Lumír Balhar wrote: Hi Sandro. Make sure that the build does not use the pyx file from upstream. It seems to me that the file generated by Cython is in the

Re: Cython build failing on longintrepr.h not found

2022-09-27 Thread Lumír Balhar
Hi Sandro. Make sure that the build does not use the pyx file from upstream. It seems to me that the file generated by Cython is in the source tarball (skmisc/loess/src/_loess.pyx) and I did not find any mention of use of Cython in the build log. The file is probably generated by an older

Cython build failing on longintrepr.h not found

2022-09-26 Thread Sandro
Hi Pythonians, I have a favor to ask. I'm trying to package scikit-misc as a dependency for plotnine (for neuro-sig). The build fails with: fatal error: longintrepr.h: No such file or directory I'm aware of the fact that the file has been moved in Python 3.11, but was under the impression