Skip to content

apache-flink: Add version 2.3.0 - #3322

Draft
luhenry wants to merge 1 commit into
mainfrom
apache-flink
Draft

luhenry wants to merge 1 commit into
mainfrom
apache-flink

Conversation

@luhenry

@luhenry luhenry commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Cythonizes 7 small extension modules under pyflink/{fn_execution,table} that cimport compiled apache-beam internals. Upstream publishes no riscv64 wheel.

Mirrors upstream's build_python_wheels job in nightly.yml (plain cibuildwheel over flink-python, no separate sdist step).

Differs from upstream

  • CIBW_ARCHS: riscv64 overrides the hardcoded x86_64 in flink-python/pyproject.toml.
  • Drops the glibc_version_fix.h CFLAGS shim - it force-links a GLIBC_2.2.5 symbol version that doesn't exist in riscv64's glibc symbol history.

Matrix: cp312 only - flink's own apache-beam<=2.61.0 pin tops out at cp312, as does everything in that dependency chain.

Testing

  • Imports all 7 compiled extensions, including the ones that cimport Beam's cdef classes - this is a size-checked Cython type import that fails at wheel-import time on an ABI mismatch against the installed apache-beam.

License: OK

Draft: blocked on riscv64 builds of apache-beam==2.61.0, pyarrow==16.1.0, grpcio==1.65.5 and pemja==0.5.7 (apache-flink's declared dependency windows), tracked in #3320, #3318, #3319 and #3321.

flink-python's .pyx/.pxd files cimport compiled apache-beam internals
(apache_beam.coders.coder_impl, .runners.worker.operations,
.utils.windowed_value), size-checked Cython type imports that fail at
wheel-import time, not build time, on an ABI mismatch. Blocked until
a riscv64 apache-beam/pyarrow/grpcio/pemja land inside flink's
declared windows (apache-beam>=2.54.0,<=2.61.0,
pemja>=0.5.7,<0.5.8) - tracked separately. No native deps, no JVM at
build time: apache-flink-libraries (the 329MB jar bundle) is a
separate py2.py3-none-any wheel.

Mirrors upstream's own build_python_wheels job (nightly.yml): plain
cibuildwheel over the flink-python subdirectory of a full checkout,
riscv64 substituted for its hardcoded x86_64 archs. The
glibc_version_fix.h CFLAGS shim upstream adds for manylinux2014 x86_64
is dropped - the GLIBC_2.2.5 symbol version it force-links doesn't
exist in riscv64's glibc symbol history.
luhenry added a commit that referenced this pull request Oct 15, 2026
… version-gaps (PR #3318-3321), apache-flink port (PR #3322, draft)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant