forked from openwrt/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]: pypa/pip#2361 Signed-off-by: Jeffery To <[email protected]>
- Loading branch information
1 parent
84d4b2f
commit e4381f9
Showing
12 changed files
with
33 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-cryptography | ||
PKG_VERSION:=2.9.2 | ||
PKG_RELEASE:=1 | ||
PKG_RELEASE:=2 | ||
|
||
PYPI_NAME:=cryptography | ||
PKG_HASH:=a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229 | ||
|
@@ -19,6 +19,7 @@ PKG_LICENSE_FILES:=LICENSE.APACHE LICENSE.BSD | |
PKG_MAINTAINER:=Jeffery To <[email protected]>, Alexandru Ardelean <[email protected]> | ||
|
||
PKG_BUILD_DEPENDS:=libffi/host | ||
PKG_BUILD_PARALLEL:=0 | ||
|
||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi>=1.8,!=1.11.3" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-jsonschema | ||
PKG_VERSION:=3.2.0 | ||
PKG_RELEASE:=3 | ||
PKG_RELEASE:=4 | ||
|
||
PYPI_NAME:=jsonschema | ||
PKG_HASH:=c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a | ||
|
@@ -11,7 +11,8 @@ PKG_MAINTAINER:=Javier Marcet <[email protected]> | |
PKG_LICENSE:=MIT | ||
PKG_LICENSE_FILES:=COPYING | ||
|
||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS=setuptools_scm | ||
PKG_BUILD_PARALLEL:=0 | ||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools_scm | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-pluggy | ||
PKG_VERSION:=0.13.1 | ||
PKG_RELEASE:=2 | ||
PKG_RELEASE:=3 | ||
|
||
PYPI_NAME:=pluggy | ||
PKG_HASH:=15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 | ||
|
@@ -18,12 +18,13 @@ PKG_MAINTAINER:=Jan Pavlinec <[email protected]> | |
PKG_LICENSE:=MIT | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_PARALLEL:=0 | ||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
include ../python3-package.mk | ||
|
||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm | ||
|
||
define Package/python3-pluggy | ||
SUBMENU:=Python | ||
SECTION:=lang | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-py | ||
PKG_VERSION:=1.8.1 | ||
PKG_RELEASE:=2 | ||
PKG_RELEASE:=3 | ||
|
||
PYPI_NAME:=py | ||
PKG_HASH:=5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa | ||
|
@@ -18,12 +18,13 @@ PKG_MAINTAINER:=Jan Pavlinec <[email protected]> | |
PKG_LICENSE:=MIT | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_PARALLEL:=0 | ||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
include ../python3-package.mk | ||
|
||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm | ||
|
||
define Package/python3-py | ||
SUBMENU:=Python | ||
SECTION:=lang | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-pycparser | ||
PKG_VERSION:=2.20 | ||
PKG_RELEASE:=2 | ||
PKG_RELEASE:=3 | ||
|
||
PYPI_NAME:=pycparser | ||
PKG_HASH:=2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0 | ||
|
@@ -18,6 +18,7 @@ PKG_LICENSE:=BSD-3-Clause | |
PKG_LICENSE_FILES:=LICENSE | ||
PKG_MAINTAINER:=Jeffery To <[email protected]> | ||
|
||
PKG_BUILD_PARALLEL:=0 | ||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="ply==3.10" | ||
|
||
include ../pypi.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-pytest | ||
PKG_VERSION:=5.4.2 | ||
PKG_RELEASE:=1 | ||
PKG_RELEASE:=2 | ||
|
||
PYPI_NAME:=pytest | ||
PKG_HASH:=eb2b5e935f6a019317e455b6da83dd8650ac9ffd2ee73a7b657a30873d67a698 | ||
|
@@ -18,6 +18,7 @@ PKG_MAINTAINER:=Jan Pavlinec <[email protected]> | |
PKG_LICENSE:=MIT | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_PARALLEL:=0 | ||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=setuptools-scm | ||
|
||
include ../pypi.mk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk | |
|
||
PKG_NAME:=python-zipp | ||
PKG_VERSION:=3.1.0 | ||
PKG_RELEASE:=2 | ||
PKG_RELEASE:=3 | ||
|
||
PYPI_NAME:=zipp | ||
PKG_HASH:=c599e4d75c98f6798c509911d08a22e6c021d074469042177c8c86fb92eefd96 | ||
|
@@ -11,6 +11,9 @@ PKG_MAINTAINER:=Jan Pavlinec <[email protected]> | |
PKG_LICENSE:=MIT | ||
PKG_LICENSE_FILES:=LICENSE | ||
|
||
PKG_BUILD_PARALLEL:=0 | ||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="setuptools_scm[toml] >= 3.4.1" | ||
|
||
include ../pypi.mk | ||
include $(INCLUDE_DIR)/package.mk | ||
include ../python3-package.mk | ||
|
@@ -24,8 +27,6 @@ define Package/python3-zipp | |
DEPENDS:=+python3-light | ||
endef | ||
|
||
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="setuptools_scm[toml] >= 3.4.1" | ||
|
||
define Package/python3-zipp/description | ||
Backport of pathlib-compatible object wrapper for zip files | ||
endef | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters