vlad-nn

Results 7 comments of vlad-nn

IMHO, not. See, pybind11/numpy.h header is a part of pybind11 distro, and since pybind11 is header-only library, it does not create any extra dependency. pybind11/numpy.h does not have any pragma...

@gatagat , looks like this PR resolves both build and install dependencies on numpy. It also elimiminates the need to import lap from setup.py, which produced wheel build error.

For some reason APPVEYOR build fails on Python 3.8 configuration with [scipy compilation errors](https://ci.appveyor.com/project/gatagat/lap/builds/46789621/job/ms2a7kmg8796xjlh#L125:~:text=pip%20install%20%2D%2Dretries%203%20%2Dq%20wheel%20pytest%20pytest%2Dtimeout%20cython%20numpy%20scipy).

This is because `shell` argument in `Popen()` call in `run_async` evaluates to True.

Workaround found: ``` for p in psutil.process_iter([]): if writer.process.pid == p.ppid(): p.wait() ```

Yes, you right: psutil is not supported on ARM64 (https://github.com/giampaolo/psutil/issues/1782), so the most desired fix would be to get rid of psutil. BTW, why don't you use subprocess.Popen? (https://docs.python.org/3/library/subprocess.html)

Experiencing the same problem. Any update?