Skip to content

python3Packages.typedunits: exclude test on aarch64 (was aarch)#412990

Closed
sarahec wants to merge 1 commit intoNixOS:masterfrom
sarahec:exclude-aarch64
Closed

python3Packages.typedunits: exclude test on aarch64 (was aarch)#412990
sarahec wants to merge 1 commit intoNixOS:masterfrom
sarahec:exclude-aarch64

Conversation

@sarahec
Copy link
Contributor

@sarahec sarahec commented Jun 1, 2025

The 1/12 fraction test is breaking due to differences in the floating point implementation on arm. The original fix was to disable if hostPlatform.isAarch but this didn't work for aarch64-linux users. (See #409974 (comment))

Changed the conditional on disabledTests to isAarch64.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Was disabled for aarch, but broke when tested on aarch64-linux.
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jun 1, 2025
@sarahec sarahec requested a review from wolfgangwalther June 1, 2025 18:05
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Jun 1, 2025
@sarahec sarahec closed this Jun 1, 2025
@sarahec sarahec deleted the exclude-aarch64 branch June 1, 2025 18:12
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. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant