Closed kalbasit closed 4 years ago
Never mind. This is caused by #64962. I'll fix it there.
On the master branch, I removed the derivation from the nix store with nix-store --delete --ignore-liveness /nix/store/dix39a6m4w7a5vw6bg0h85ip8dr538in-python3.7-joblib-0.13.2
and I built it without substitutes; nix-build --option build-use-substitutes false -A python3Packages.joblib
failed with the same message. This is not caused by #63962, but help me discover it due to the update of the requests python package.
maintainer: @costrouc
@zimbatm I don't have a way to test on joblib for darwin so this is why I didn't have input on this PR. Is there an easy way to test nixpkgs on darwin? Hackintosh via kvm?
There is https://github.com/kholia/OSX-KVM that works with some tweaking but I wouldn't describe it as easy. Another option is to ask @ GrahamcOfBorg to do the builds on the PR if there are not too many iterations to do.
Describe the bug
nix-build -A python3Packages.joblib
fails on Darwin.To Reproduce Steps to reproduce the behavior:
nix-build -A python3Packages.joblib
Expected behavior Package builds
Additional context
Error log:
Error log
```console running install tests ============================= test session starts ============================== platform darwin -- Python 3.7.4, pytest-4.6.3, py-1.7.0, pluggy-0.12.0 rootdir: /private/var/folders/ck/ht80_l5d4c9_tnwmd5lqsxj40000gn/T/nix-build-python3.7-joblib-0.13.2.drv-0/joblib-0.13.2, inifile: setup.cfg, testpaths: joblib collected 1109 items / 1 deselected / 2 skipped / 1106 selected joblib/__init__.py s [ 0%] joblib/parallel.py ss [ 0%] joblib/test/test_backports.py s.... [ 0%] joblib/test/test_disk.py ........ [ 1%] joblib/test/test_format_stack.py s... [ 1%] joblib/test/test_func_inspect.py s.................................... [ 5%] joblib/test/test_hashing.py sssssssssss................................. [ 9%] ........................................................................ [ 15%] ........................................................................ [ 22%] ........................................................................ [ 28%] ........................................................................ [ 35%] ........................................................................ [ 41%] ........................................................................ [ 48%] ....................ss............. [ 51%] joblib/test/test_init.py . [ 51%] joblib/test/test_logger.py . [ 51%] joblib/test/test_memmapping.py ssssssssssssss.. [ 52%] joblib/test/test_memory.py ss........................................... [ 56%] ...... [ 57%] joblib/test/test_module.py .. [ 57%] joblib/test/test_my_exceptions.py ... [ 57%] joblib/test/test_numpy_pickle.py sssssssssssssssssssss.................. [ 61%] ...............................................................s [ 67%] joblib/test/test_numpy_pickle_compat.py . [ 67%] joblib/test/test_numpy_pickle_utils.py .. [ 67%] joblib/test/test_parallel.py sssss...................................... [ 71%] ........................................................................ [ 77%] ........................................................................ [ 84%] ........FFF.......[DEBUG:MainProcess:Thread-505] worker handler exiting [DEBUG:MainProcess:Thread-508] worker handler exiting [DEBUG:MainProcess:Thread-506] task handler got sentinel [DEBUG:MainProcess:Thread-506] task handler sending sentinel to result handler [DEBUG:MainProcess:Thread-506] task handler sending sentinel to workers [DEBUG:MainProcess:Thread-506] task handler exiting [DEBUG:MainProcess:Thread-486] joining task handler [DEBUG:MainProcess:Thread-487] joining task handler ...................................................... [ 90%] ....s.ss.s...s.ss.s...s.ss.s............................................ [ 97%] ...............ss... [ 99%] joblib/test/test_store_backends.py ... [ 99%] joblib/test/test_testing.py ..... [ 99%] joblib/test/data/create_numpy_pickle.py s [100%] =================================== FAILURES =================================== ________________ test_dispatch_multiprocessing[multiprocessing] ________________ backend = 'multiprocessing' @with_multiprocessing @parametrize('backend', PARALLEL_BACKENDS) def test_dispatch_multiprocessing(backend): """ Check that using pre_dispatch Parallel does indeed dispatch items lazily. """ > manager = mp.Manager() joblib/test/test_parallel.py:448: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/lib/python3.7/multiprocessing/context.py:56: in Manager m.start() /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/lib/python3.7/multiprocessing/managers.py:567: in start self._address = reader.recv() /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/lib/python3.7/multiprocessing/connection.py:250: in recv buf = self._recv_bytes() /nix/store/pwqcjzvh0slsrx1qylc9b95k216bd6zs-python3-3.7.4/lib/python3.7/multiprocessing/connection.py:407: in _recv_bytes buf = self._recv(4) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self =Metadata Please run
nix run nixpkgs.nix-info -c nix-info -m
and paste the result.Darwin 18.6.0, macOS 10.14.5
no
no
nix-env (Nix) 2.2.2
"darwin, nixpkgs-19.09pre185256.5b8b5a694c7"
/run/current-system/nixpkgs
Maintainer information:
Possibly related to #21437