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.cirq: unbreak #96883
Conversation
Some prep work ahead of Nixpkgs 20.09. Matches work (mostly) in NixOS/nixpkgs#96883. Minor meta update.
Some prep work ahead of Nixpkgs 20.09. Matches work (mostly) in NixOS/nixpkgs#96883. Minor meta update.
not sure if it's just my machine, or numpy:
|
@jonringer I can't reproduce:
I've had trouble with that test before, the failures I've seen were machine precision-ish issues (0.750...2 != 0.75). I can add that patch/test disable if you'd like. |
I'm not sure the perf tests give a lot more validity when packaging (great upstream in a controlled environment). And it might be worthwhile to remove them altogether to ensure less flakey builds. |
Remove unneeded test disables. Add changelog. Unpin most python dependencies.
The actual test failing is here:
Which is not a benchmark, and is sort of relevant to my use case for this package, which is why I'm hesitant to disable it entirely. Disabling benchmarks cuts about 30 seconds off the build time, so I'll do that (but separate from above). |
08817f4
to
e28ef25
Compare
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.
LGTM
Result of nixpkgs-review pr 96883 1
2 packages built:
- python37Packages.cirq
- python38Packages.cirq
Motivation for this change
This is a pre-ZHF PR to unbreak a package before release.
Found out it was broken due to changing dependencies or something.
Remove unneeded test disables.
Add changelog.
Unpin most python dependencies.
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)