New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python3Packages.clifford: fix tests #98404
Conversation
* Tests failed using nose. * Switched to pytest b/c that's what the official travis builds run. * Disabled slow and/or flaky tests as needed. * Changed patching from preConfigure to postPatch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure why, but it fails:
clifford/test/test_cga.py .......x.......xx....x/nix/store/gnylh7dnvw9rcaz4y64f89z6x69rkcz2-pytest-check-hook/nix-support/setup-hook: line 40: 62 Aborted (core dumped) /nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/bin/python3.8 -m pytest -k "not test_iterative_model_match and not test_estimate_rotor and not test_estimate_motor and not test_array_control and not test_clustering and not test_write_and_read and not test_assign_objects_to_objects and not test_general_logarithm_conformal and not test_get_properties_of_sphere and not test_get_midpoint_between_lines" --pyargs clifford --benchmark-skip -m 'not veryslow'
cannot build derivation '/nix/store/gcfmri4ic7g7bsks63wbnzjhm3ca109z-env.drv': 1 dependencies couldn't be built
[1 built (1 failed), 0.0 MiB DL]
error: build of '/nix/store/gcfmri4ic7g7bsks63wbnzjhm3ca109z-env.drv' failed
https://github.com/NixOS/nixpkgs/pull/98404
1 package failed to build:
python38Packages.clifford
1 package built:
python37Packages.clifford
Test failure on macos 10.14 for me with python 3.8:
|
Strange @risicle, can replicate. investigating. |
The python 3.7 version fails for me too on linux x86_64:
|
I rebuilt this on Friday via
EDIT: whoops, apparently must have missed the scroll up to get the python38Package. |
unfortunately, the python38 failure isn't very useful:
|
Closing because fixed in d65aba6 |
oh yea, sorry. I just wanted to fix all the reverse dependencies |
Motivation for this change
ZHF: #97479
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)