Skip to content

python3Packages.pyarrow: use pure tzdata in tests - #553144

Merged
veprbl merged 1 commit into
NixOS:stagingfrom
booxter:pyarrow-darwin-impure-zoneinfo
Aug 16, 2026
Merged

veprbl merged 1 commit into
NixOS:stagingfrom
booxter:pyarrow-darwin-impure-zoneinfo

Conversation

@booxter

@booxter booxter commented Aug 15, 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

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
@booxter
booxter requested a review from sarahec August 15, 2026 22:46
@nixpkgs-ci
nixpkgs-ci Bot requested review from cpcloud and veprbl August 15, 2026 22:50
@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. labels Aug 15, 2026
@booxter booxter added backport staging-26.05 Backport PR automatically and removed 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. labels Aug 15, 2026
@nixpkgs-ci nixpkgs-ci Bot added 6.topic: python Python is a high-level, general-purpose programming language. 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. labels Aug 15, 2026

@sarahec sarahec left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Thank you!

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Aug 15, 2026
@veprbl
veprbl added this pull request to the merge queue Aug 16, 2026
Merged via the queue into NixOS:staging with commit c23b50f Aug 16, 2026
35 checks passed
@nixpkgs-ci

nixpkgs-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Backport failed for staging-26.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin staging-26.05
git worktree add -d .worktree/backport-553144-to-staging-26.05 origin/staging-26.05
cd .worktree/backport-553144-to-staging-26.05
git switch --create backport-553144-to-staging-26.05
git cherry-pick -x e119515fbb4b58ffaa3239bac5450d542a60b297

@booxter

booxter commented Aug 16, 2026

Copy link
Copy Markdown
Contributor Author

Manually backported here: #553405

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

Labels

6.topic: python Python is a high-level, general-purpose programming language. 8.has: failed backport 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. 12.approvals: 1 This PR was reviewed and approved by one person. backport staging-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants