You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "vyasr (via GitHub)" <gi...@apache.org> on 2024/03/06 18:21:10 UTC

[I] Python build was broken by Cython 3.0.9 [arrow]

vyasr opened a new issue, #40386:
URL: https://github.com/apache/arrow/issues/40386

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   The [Cython 3.0.9 release yesterday (3/5/24)](https://cython.readthedocs.io/en/latest/src/changes.html#id2) added a warning [when a Cython function is marked noexcept while returning a Python object](https://github.com/cython/cython/pull/5999). This appears to have broken builds of pyarrow (see recent runs on #40373). I glanced at pyarrow's setup.py and it wasn't immediately obvious clear where/if pyarrow is setting [warnings as errors for Cython](https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#Cython.Compiler.Options.warning_errors), but I assume it is doing so if it's breaking the build.
   
   ### Component(s)
   
   Python


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] Python build was broken by Cython 3.0.9 [arrow]

Posted by "austin3dickey (via GitHub)" <gi...@apache.org>.
austin3dickey commented on issue #40386:
URL: https://github.com/apache/arrow/issues/40386#issuecomment-1981763058

   Note that this is causing all benchmarking builds to fail as well (causing messages like https://github.com/apache/arrow/pull/40367#issuecomment-1980301946)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] Python build was broken by Cython 3.0.9 [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #40386:
URL: https://github.com/apache/arrow/issues/40386#issuecomment-1981854282

   Duplicated of #40375.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] Python build was broken by Cython 3.0.9 [arrow]

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on issue #40386:
URL: https://github.com/apache/arrow/issues/40386#issuecomment-1982788208

   > I glanced at pyarrow's setup.py and it wasn't immediately obvious clear where/if pyarrow is setting [warnings as errors for Cython](https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#Cython.Compiler.Options.warning_errors), but I assume it is doing so if it's breaking the build.
   
   Small follow-up, we indeed do that here:
   
   https://github.com/apache/arrow/blob/49cdb0fe4e98fda19031c864a18e6156c6edbf3c/python/CMakeLists.txt#L722-L723
   
   (I was wondering myself as well ;))
   
   And thanks for the PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] Python build was broken by Cython 3.0.9 [arrow]

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on issue #40386:
URL: https://github.com/apache/arrow/issues/40386#issuecomment-1982752223

   Closed by #40387


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] Python build was broken by Cython 3.0.9 [arrow]

Posted by "vyasr (via GitHub)" <gi...@apache.org>.
vyasr commented on issue #40386:
URL: https://github.com/apache/arrow/issues/40386#issuecomment-1986098208

   Aha I didn't realize it was building with CMake using a custom setuptools command setup.
   
   My follow-up was going to be if you'd considered using scikit-build, but it looks like there's already discussion of that in #36411!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] Python build was broken by Cython 3.0.9 [arrow]

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche closed issue #40386: [Python] Python build was broken by Cython 3.0.9
URL: https://github.com/apache/arrow/issues/40386


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Python] Python build was broken by Cython 3.0.9 [arrow]

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #40386: [Python] Python build was broken by Cython 3.0.9
URL: https://github.com/apache/arrow/issues/40386


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org