python-packages: Disable parallel build when host pip is needed 12653/head
authorJeffery To <jeffery.to@gmail.com>
Mon, 29 Jun 2020 20:41:15 +0000 (04:41 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 30 Jun 2020 07:43:01 +0000 (15:43 +0800)
commite0e2224f8a80dd6b93dd00bd1e4a89e5a649c461
treec36edeeb713a87bad4e992fcb212a5eeec139f93
parent811ff39de5cc3763e4509f852b28a97e9b571a4d
python-packages: Disable parallel build when host pip is needed

This adds PKG_BUILD_PARALLEL:=0 to packages that depend on host Python
packages (HOST_PYTHON3_PACKAGE_BUILD_DEPENDS), because installing
packages with multiple concurrent pip processes can lead to errors or
unexpected results[1].

This also:

* Move HOST_PYTHON3_PACKAGE_BUILD_DEPENDS definitions to before
  python3-package.mk is included

* Update Python folder readme to include PKG_BUILD_PARALLEL:=0

[1]: https://github.com/pypa/pip/issues/2361

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
12 files changed:
lang/python/README.md
lang/python/bcrypt/Makefile
lang/python/numpy/Makefile
lang/python/python-cryptography/Makefile
lang/python/python-jsonschema/Makefile
lang/python/python-pluggy/Makefile
lang/python/python-py/Makefile
lang/python/python-pycparser/Makefile
lang/python/python-pynacl/Makefile
lang/python/python-pytest/Makefile
lang/python/python-zipp/Makefile
net/seafile-seahub/Makefile