Skip to content

python3Packages.typedunits: Disable fractional rounding test on aarch64#410612

Merged
drupol merged 1 commit intoNixOS:masterfrom
sarahec:typedunits-aarch-zhf
May 28, 2025
Merged

python3Packages.typedunits: Disable fractional rounding test on aarch64#410612
drupol merged 1 commit intoNixOS:masterfrom
sarahec:typedunits-aarch-zhf

Conversation

@sarahec
Copy link
Contributor

@sarahec sarahec commented May 24, 2025

Hydra: https://hydra.nixos.org/build/298234353

quantumlib/TypedUnits#14 documents a failing test due to rounding error. I originally encountered this on aarch64-darwin and assumed it was darwin-specific, but it also fails on aarch64-linux.

Changed the test exclusion from isDarwin to isAarch.

ZHF: #403336

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.

@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label May 24, 2025
@sarahec sarahec added the 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. label May 24, 2025
@github-actions github-actions bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels May 24, 2025
@sarahec sarahec requested review from dotlambda and drupol May 24, 2025 19:47
@drupol drupol merged commit 684d39b into NixOS:master May 28, 2025
20 of 21 checks passed
@sarahec sarahec deleted the typedunits-aarch-zhf branch May 28, 2025 18:28
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: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants