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 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 version of Cython and that is causing you the problem.

Hope this helps.

Have a nice day.

Lumír

On 9/27/22 01:48, Sandro wrote:
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 this change was implemented in Cython 0.29.5.

I opened an issue upstream, but I would appreciate a second pair of eyes on the build. The file that tries to include the header file is generated, so nothing I could work around with using a patch (with my limited knowledge that is).

Build: https://copr.fedorainfracloud.org/coprs/gui1ty/neuro-sig/build/4869979/
Issue: https://github.com/has2k1/scikit-misc/issues/17

-- Sandro
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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