python3Packages.galois: init at 0.0.32#185879
Conversation
|
|
|
The numpy version constraint is due to the current numba release not supporting numpy 1.23 numba/numba#8263 Nixpkgs patches numba per #181620 (comment) |
mweinelt
left a comment
There was a problem hiding this comment.
That looks pretty good already. Only a few marks on what I think can still be improved.
|
All changes implemented. Thanks for the feedback! |
|
How long do the tests run for you? I added pytest-xdist to checkInputs and it was just under 4 minutes on an older 32C/64T machine. If tests are run single-threaded I expect quite some test runtime. |
|
They take about 10 minutes on my Icelake macbook. As far as I am aware, they are single threaded. Would you recommend pytest-xdist? I guess it runs the tests in parallel? |
|
Adding |
|
I was unable to get pytest to parallelize the tests. Using ============================= test session starts ==============================
platform darwin -- Python 3.9.10, pytest-6.2.5, py-1.11.0, pluggy-1.0.0
rootdir: /private/tmp/nix-build-python3.9-galois-0.0.32.drv-0/source, configfile: setup.cfg, testpaths: tests
plugins: xdist-2.5.0, forked-1.4.0
collected 7323 itemsAny thoughts? As an aside, this doesn't seem to be documented anywhere |
|
First you see the hook getting executed and then a number of gateways started that are used for tests.
Yeah, oops. Should be part of |
What is
Doesn't really matter unless you're actually compiling anything. The tests don't benefit from that setting. |
|
I have the tests running in parallel on my nixos box, so it must be the nix configuration as you mentioned. It takes about 5 minutes on a 4C/8T Zen 3 machine with about half that time stuck on 1-2 long running tests. Overall, I think it is good to merge now? |
|
Yes, it was. I just wanted to make sure everything was working for you as expected. |
Description of changes
chrispattisonThings done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes