Disable simplejson test on Darwin otherwise build fails. #26405
Merged
+3
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
The reason for this is a failed build test on Darwin. There is an extremely minor floating point error (0.2e-50) which causes the failure. As a result of this it breaks everything that depends on it, including popular packages such as matplotlib.
The reason this error occurs seems to be something in the nix build step. Compiling the package seperately (outside of nix) works fine, unfortunately I have nowhere near the required level of nix knowledge to debug this.
Disabling tests on Darwin fixes the issue adequately and matplotlib builds properly.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)