treewide: modernize Python package pytest flags and move away from pytestFlagsArray#424782
treewide: modernize Python package pytest flags and move away from pytestFlagsArray#424782mweinelt merged 6 commits intoNixOS:stagingfrom
pytestFlagsArray#424782Conversation
74c2c9f to
267de9f
Compare
c86d497 to
9a2baca
Compare
… and __structuredAttrs = true
…ucturedAttrs = true
…isabledTestPaths instead of pytestFlagsArray
disabledTests no longer Bash-expand as array elements and thus no longer swallow parameters between square brackets.
9a2baca to
a2bf565
Compare
wolfgangwalther
left a comment
There was a problem hiding this comment.
Thank you so much for taking on this huge effort to migrate pytestFlagsArray.
Diff LGTM.
Use `(enabled|disabled)(TestPaths|TestMarks|Tests)` and `pytestFlags` instead of the `__structuredAttrs`-incompatible `pytestFlagsArray`.
a2bf565 to
6248978
Compare
|
Oops! I forgot to push the new Pushed. |
|
|
Could you share the error message? I guess there might be some typos. |
It fails with a lot of these: Full log: https://logpaste.com/EtJszpL3 |
|
This seems to be in a |
|
It's called like this: Before it was called like this: I think the parentheses are breaking this. |
|
As the imageio package is still broken (due to obvious bad impl by upstream on the code block), what are the plans for that, Is already someone on that topic? |
|
I'm actually doing it now. Couple more hours, I think. |
fix regression introduced in NixOS#424782
Use
(enabled|disabled)(TestPaths|TestMarks|Tests)andpytestFlagsinstead of the__structuredAttrs-incompatiblepytestFlagsArray.Things 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.