python312Packages.pymatgen: disable test that crashes on Darwin#422968
python312Packages.pymatgen: disable test that crashes on Darwin#422968K900 merged 1 commit intoNixOS:masterfrom
Conversation
|
|
ethancedwards8
left a comment
There was a problem hiding this comment.
Approved automatically following the successful run of nixpkgs-review.
|
Blocking #421308 |
300e743 to
1cec9b8
Compare
1cec9b8 to
72ba52b
Compare
|
Filed materialsproject/pymatgen#4452 and added a link. |
jonhermansen
left a comment
There was a problem hiding this comment.
I'm so sorry @sarahec , ok I got it sorted now. I tested your branch out. The tests fail on x86_64-darwin with the commit before your patch. The tests succeed with your commit applied.
When I said "I see the same issue", I meant that I got the same exact test failure that you did, with the sandbox enabled.
Your fix works for me. 👍
|
BTW, I tried building the package with python3.11 and it failed in a completely different way. Figured I'd mention it, because I tried it. |
Yeah, Python 3.11 isn't officially supported anymore (in nixpkgs). |
|
How are you even building it with python 3.11? The attrset is gone! |
Should I not do that? Or, is it not doing what I think it's doing? |
|
Well, that attrset has been removed in the latest master it seems, so you don't have to worry about it not working because it no longer exists. |
I worked off of @sarahec's history, so whatever was there, I tried it 😅 |
|
@K900 Thank you |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/2450 |
Test failure on Darwin:
worker 'gw1' crashed while running 'tests/io/abinit/test_abitimer.py::TestAbinitTimer::test_timer'Test disabled. This is one of many tests that all access the same MacOS graphics routine and fail due to sandboxing and/or headless builds (Hydra).
Discovered in
nixpkgs-reviewof #421308Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.