Skip to content

GH-49426: [Python] Do not build pyarrow-stubs on emscripten builds#49427

Merged
rok merged 3 commits intoapache:mainfrom
raulcd:GH-49426
Mar 3, 2026
Merged

GH-49426: [Python] Do not build pyarrow-stubs on emscripten builds#49427
rok merged 3 commits intoapache:mainfrom
raulcd:GH-49426

Conversation

@raulcd
Copy link
Member

@raulcd raulcd commented Mar 2, 2026

Rationale for this change

The emscripten job is currently failing due to pyarrow-stubs building.

What changes are included in this PR?

  • Do not build doc stubs for emscripten build as it tries to install pyarrow which is unavailable.
  • Minor fix for chrome as it was timing out without being able to download wasm wheel.
  • Fix loading tzdata as some tests were failing without it.

Are these changes tested?

Yes via archery.

Are there any user-facing changes?

No

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

⚠️ GitHub issue #49426 has been automatically assigned in GitHub to PR creator.

@raulcd
Copy link
Member Author

raulcd commented Mar 2, 2026

@github-actions crossbow submit test-conda-python-emscripten

@github-actions
Copy link

github-actions bot commented Mar 2, 2026

Revision: 6b666d1

Submitted crossbow builds: ursacomputing/crossbow @ actions-e5e8b8cfe9

Task Status
test-conda-python-emscripten GitHub Actions

@raulcd
Copy link
Member Author

raulcd commented Mar 3, 2026

@github-actions crossbow submit test-conda-python-emscripten

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Revision: 3bd04d8

Submitted crossbow builds: ursacomputing/crossbow @ actions-99893ace2c

Task Status
test-conda-python-emscripten GitHub Actions

@raulcd
Copy link
Member Author

raulcd commented Mar 3, 2026

@github-actions crossbow submit test-conda-python-emscripten

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Revision: d5b2027

Submitted crossbow builds: ursacomputing/crossbow @ actions-50151f5e3d

Task Status
test-conda-python-emscripten GitHub Actions

@raulcd raulcd marked this pull request as ready for review March 3, 2026 13:21
@raulcd raulcd requested review from AlenkaF and rok as code owners March 3, 2026 13:21
Copy link
Member

@rok rok left a comment

Choose a reason for hiding this comment

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

Looks good @raulcd. Will merge.

address = q.get(timeout=50)
time.sleep(0.1) # wait to make sure server is started
yield address
p.terminate()
Copy link
Member

Choose a reason for hiding this comment

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

As per claude threading.Thread.terminate doesn't exists, but this is not really an issue here.

Comment on lines +129 to +131
if is_emscripten:
# stubs are not supported in Emscripten build
return
Copy link
Member

Choose a reason for hiding this comment

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

Makes sense!

@rok rok merged commit edfb24d into apache:main Mar 3, 2026
18 of 20 checks passed
@rok rok removed the awaiting committer review Awaiting committer review label Mar 3, 2026
@github-actions github-actions bot added the awaiting merge Awaiting merge label Mar 3, 2026
@conbench-apache-arrow
Copy link

After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit edfb24d.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 3 possible false positives for unstable benchmarks that are known to sometimes produce them.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants