Skip to content

[Backport staging-26.05] python3Packages.pyarrow: use pure tzdata in tests - #553405

Merged
veprbl merged 1 commit into
NixOS:staging-26.05from
booxter:pyarrow-tzdata
Aug 17, 2026
Merged

veprbl merged 1 commit into
NixOS:staging-26.05from
booxter:pyarrow-tzdata

Conversation

@booxter

@booxter booxter commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

test_orc.py tests may fail on darwin because they try to read from
/usr/share/zoneinfo which may not work in darwin sandbox.

This was reported multiple times, see:
#477944
#485004
#483241

I also hit it myself in my personal flake CI.

This patch switches the test to use pure tzdata to avoid the sandbox
issue for darwin and re-enables one of previously skipped test_orc.py
cases (for both platforms).

Fixes #483241

(cherry picked from commit e119515)

Things done

test_orc.py tests may fail on darwin because they try to read from
/usr/share/zoneinfo which may not work in darwin sandbox.

This was reported multiple times, see:
NixOS#477944
NixOS#485004
NixOS#483241

I also hit it myself in my personal flake CI.

This patch switches the test to use pure tzdata to avoid the sandbox
issue for darwin and re-enables one of previously skipped test_orc.py
cases (for both platforms).

Fixes NixOS#483241

(cherry picked from commit e119515)
@nixpkgs-ci
nixpkgs-ci Bot requested review from cpcloud and veprbl August 16, 2026 19:18
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. 4.workflow: backport This targets a stable branch labels Aug 16, 2026
@booxter booxter changed the title [Backport release-26.05] python3Packages.pyarrow: use pure tzdata in tests [Backport staging-26.05] python3Packages.pyarrow: use pure tzdata in tests Aug 16, 2026
@veprbl
veprbl added this pull request to the merge queue Aug 17, 2026
Merged via the queue into NixOS:staging-26.05 with commit a7a6847 Aug 17, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants