Skip to content

Unable to Build pandas with Py38, macOS (clang?) and Cython>0.29.13 (tp_print warning) #33239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
WillAyd opened this issue Apr 2, 2020 · 3 comments
Labels
Build Library building on various platforms

Comments

@WillAyd
Copy link
Member

WillAyd commented Apr 2, 2020

Dedicated issue for @jbrockmendel callout in #30609 (comment)

I opened an issue on the Cython side as well cython/cython#3474

There's a rabbit hole of conversation with this going back to CPython . This may just be a temporary issue for Py38, so one "workaround" could be to just add -Wno-deprecated-declaration when these particular combination of things is detected, though of course an actual fix would be ideal

@WillAyd WillAyd added the Build Library building on various platforms label Apr 2, 2020
@TomAugspurger
Copy link
Contributor

After reading through the linked issues and BPOs I'm not sure that simply silencing this warning on macOS is the way to go. I'll do some more research, but for now I'm working around it with by setting CFLAGS='-Wno-error=deprecated-declarations' when compiling.

kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 12, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 13, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 13, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 13, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
halstead pushed a commit to openembedded/meta-openembedded that referenced this issue Aug 13, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 13, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 13, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 13, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
Acked-by: Trevor Gamblin <[email protected]>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 14, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
Acked-by: Trevor Gamblin <[email protected]>
kraj added a commit to YoeDistro/meta-openembedded that referenced this issue Aug 14, 2020
This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
Acked-by: Trevor Gamblin <[email protected]>
@jbrockmendel
Copy link
Member

is this resolved/do we have a gameplan?

@WillAyd
Copy link
Member Author

WillAyd commented Sep 25, 2020

We make an exception for PY38 in the Setup on this platform. That's probably the best we can get for now

@WillAyd WillAyd closed this as completed Sep 25, 2020
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
…h clang

This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
Acked-by: Trevor Gamblin <[email protected]>
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
…h clang

This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] cython/cython#3474
[2] pandas-dev/pandas#33239

Signed-off-by: Khem Raj <[email protected]>
Acked-by: Trevor Gamblin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms
Projects
None yet
Development

No branches or pull requests

3 participants