Skip to content

python3Packages.pyarrow: disable test that breaks on Darwin - #477944

Closed
sarahec wants to merge 1 commit into
NixOS:masterfrom
sarahec:darwin-pyarrow
Closed

sarahec wants to merge 1 commit into
NixOS:masterfrom
sarahec:darwin-pyarrow

Conversation

@sarahec

@sarahec sarahec commented Jan 8, 2026 •

Copy link
Copy Markdown
Contributor

test_timezone_absent fails on Darwin with Operation not permitted: '/usr/share/zoneinfo', even with the sandbox off. Disabled.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci
nixpkgs-ci Bot requested review from cpcloud and veprbl January 8, 2026 02:30
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 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. labels Jan 8, 2026
@ofborg ofborg Bot added the 6.topic: darwin Running or building packages on Darwin label Jan 8, 2026
@veprbl

veprbl commented Jan 8, 2026

Copy link
Copy Markdown
Member

You could also try adding the path to __impureHostDeps, but this is also fine.

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Jan 8, 2026
@sarahec
sarahec requested a review from Aleksanaa January 11, 2026 03:35
@Aleksanaa

Copy link
Copy Markdown
Member

even with the sandbox off.

It builds on hydra: https://hydra.nixos.org/eval/1821902?filter=pyarrow&compare=1821892&full=#tabs-still-succeed

I'm afraid this introduces unnecessary workload to unstable.

@sarahec

sarahec commented Jan 11, 2026

Copy link
Copy Markdown
Contributor Author

even with the sandbox off.

It builds on hydra: https://hydra.nixos.org/eval/1821902?filter=pyarrow&compare=1821892&full=#tabs-still-succeed

I'm afraid this introduces unnecessary workload to unstable.

I'll close it then. I wonder why it failed for me?

@sarahec sarahec closed this Jan 11, 2026
@sarahec
sarahec deleted the darwin-pyarrow branch January 11, 2026 04:10
afh pushed a commit to afh/nixpkgs that referenced this pull request Aug 16, 2026
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
highghlow pushed a commit to highghlow/nixpkgs that referenced this pull request Aug 20, 2026
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
JulesdeCube pushed a commit to JulesdeCube/nixpkgs that referenced this pull request Aug 22, 2026
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 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: 0 This PR does not cause any packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants