Skip to content

fix(bindings/python): enable hdfs-native on arm#7911

Open
chitralverma wants to merge 1 commit into
apache:mainfrom
chitralverma:fix/python-hdfs-native-arm
Open

fix(bindings/python): enable hdfs-native on arm#7911
chitralverma wants to merge 1 commit into
apache:mainfrom
chitralverma:fix/python-hdfs-native-arm

Conversation

@chitralverma

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #6791.

Rationale for this change

OpenDAL excluded hdfs-native from ARM Python wheels in #6792 because hdfs-native 0.13.0 contained bindgen layout assertions generated for 64-bit targets. The upstream fix removed those assertions and verified armv7 under QEMU in Kimahriman/hdfs-native#271, resolving Kimahriman/hdfs-native#270. OpenDAL currently resolves hdfs-native 0.13.5, which contains that fix.

Related dependency upgrade: #7910 upgrades hdfs-native to 0.14.2. This PR is independent because the ARM fix is already included in 0.13.5.

What changes are included in this PR?

  • Add services-hdfs-native back to the unconditional Python services-all feature.
  • Remove the ARM-specific exclusion.

Are there any user-facing changes?

Yes. Python wheels built for ARM targets include the hdfs-native service again.

Verification

  • cargo check --features services-all in bindings/python
  • just lint in bindings/python
  • Native linux/arm/v7 container: cargo check --locked -p opendal-service-hdfs-native
  • taplo format --check Cargo.toml in bindings/python

AI Usage Statement

This PR was prepared with OpenCode using GPT-5.6.

Copilot AI review requested due to automatic review settings July 14, 2026 08:57
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. releases-note/fix The PR fixes a bug or has a title that begins with "fix" labels Jul 14, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.

This PR re-enables the hdfs-native service for ARM Python wheels by making services-hdfs-native part of the unconditional services-all feature set and removing the ARM-only exclusion previously applied in the Python bindings.

Changes:

  • Add services-hdfs-native to the unconditional services-all feature list.
  • Remove the target-arch (arm) conditional feature gating for services-hdfs-native.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

releases-note/fix The PR fixes a bug or has a title that begins with "fix" size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

python: hdfs_native released failed on ubuntu-latest, armv7l

2 participants