Skip to content

Add support for building confluent-kafka-python on Windows ARM64#2190

Open
MUGUNDAN (MugundanMCW) wants to merge 1 commit intoconfluentinc:masterfrom
MugundanMCW:winarm64_support
Open

Add support for building confluent-kafka-python on Windows ARM64#2190
MUGUNDAN (MugundanMCW) wants to merge 1 commit intoconfluentinc:masterfrom
MugundanMCW:winarm64_support

Conversation

@MugundanMCW
Copy link

What

The PR adds support for compiling confluent-kafka-python Python wheels on Windows ARM64 (Closes: #1981).

Changes proposed:

  • Confluent-kafka-python relies on librdkafka NuGet packages to build wheels for Windows x86 and x64. However, there are no librdkafka NuGet packages available for Windows ARM64.
  • To address this, the PR introduces a batch script to build librdkafka from source and integrates it with the Windows ARM64 build process.
  • While building the wheel using cibuildwheel (CIBW), the build fails during dependency installation due to the following issues:
    • Cryptography – the latest release does not provide Windows ARM64 wheels (ARM64 builds are currently paused due to issues with Python GitHub Actions).
    • Tink – No Windows ARM64 wheels support.
  • By skipping the installation of cryptography and Tink, the wheel builds successfully on Windows ARM64.

Checklist

Did you add sufficient unit test and/or integration test coverage for this PR?

  • No additional tests were added. This PR only modifies build configuration files and does not introduce any changes to the actual confluent-kafka-python source code.

Open questions / Follow-ups

  • The project uses Semaphore CI for building and releasing wheels, which is accessible only by Confluent employees. Are there any plans to add CI support for building and releasing Windows ARM64 wheels?

@confluent-cla-assistant
Copy link

Please sign the Contributor License Agreement here before this PR can be approved.
❌ MugundanMCW
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

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.

Provide wheel for Windows ARM64

1 participant