Skip to content
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

[Python] 12.0.1 FTBFS w/ Cython-3 on Fedora 39/rawhide #36857

Closed
kalebskeithley opened this issue Jul 24, 2023 · 1 comment
Closed

[Python] 12.0.1 FTBFS w/ Cython-3 on Fedora 39/rawhide #36857

kalebskeithley opened this issue Jul 24, 2023 · 1 comment

Comments

@kalebskeithley
Copy link

kalebskeithley commented Jul 24, 2023

I'm the maintainer of Apache Arrow on Fedora. To date, Arrow builds fine with cython 0.29. Fedora Rawhide has updated to Cython 3 and now the builds fail with:

 [ 16%] Built target _acero_pyx
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
      cdef cppclass CFlightListing" arrow::flight::FlightListing":
          CResult[unique_ptr[CFlightInfo]] Next()
      cdef cppclass CSimpleFlightListing" arrow::flight::SimpleFlightListing":
          CSimpleFlightListing(vector[CFlightInfo]&& info)
                              ^
  ------------------------------------------------------------
  pyarrow/includes/libarrow_flight.pxd:175:28: Rvalue-reference as function argument not supported
  gmake[2]: Leaving directory '/builddir/build/BUILD/apache-arrow-12.0.1/python/build/temp.linux-aarch64-cpython-312'
  [ 16%] Built target _parquet_encryption_pyx
  gmake[2]: Leaving directory '/builddir/build/BUILD/apache-arrow-12.0.1/python/build/temp.linux-aarch64-cpython-312'
  [ 16%] Built target _parquet_pyx
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              # Text header values in gRPC (and HTTP/1, HTTP/2) are
              # required to be valid ASCII. Binary header values are
              # exposed as bytes.
              value = value.decode("ascii")
          headers.setdefault(header, []).append(value)
          postincrement(header_iter)
          ^
  ------------------------------------------------------------
  pyarrow/_flight.pyx:2312:8: No 'operator++(int)' declared for postfix '++' (operand type is 'const_iterator')

full build log at https://kojipkgs.fedoraproject.org/work/tasks/1880/103851880/build.log (it's a scratch build so the logs won't stick around for long)

Component(s)

Python

@kou kou changed the title 12.0.1 FTBFS w/ Cython-3 on Fedora 39/rawhide [Python] 12.0.1 FTBFS w/ Cython-3 on Fedora 39/rawhide Jul 25, 2023
@kou
Copy link
Member

kou commented Jul 25, 2023

Closed as duplicated of #36730
#36745 will fix this.

@kou kou closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants