mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
python: Move python3-setuptools and python3-pyelftools to requirements.txt
Different build hosts have vastly different versions of setuptools and pyelftools depending on the host OS, e.g. Ubuntu 22.04 has setuptools v59 while the latest version at the time of this commit is setuptools v71. Using Pip instead of APT to download these packages assures that all build hosts use the same version, removing some points of failures and inconsistencies.
This commit is contained in:
@@ -290,7 +290,8 @@ function adaptative_prepare_host_dependencies() {
|
||||
host_deps_add_extra_python # See python-tools.sh::host_deps_add_extra_python()
|
||||
|
||||
### Python3 -- required for Armbian's Python tooling, and also for more recent u-boot builds. Needs 3.9+; ffi-dev is needed for some Python packages when the wheel is not prebuilt
|
||||
host_dependencies+=("python3-dev" "python3-setuptools" "python3-pip" "python3-pyelftools" "libffi-dev")
|
||||
### 'python3-setuptools' and 'python3-pyelftools' moved to requirements.txt to make sure build hosts use the same/latest versions of these tools.
|
||||
host_dependencies+=("python3-dev" "python3-pip" "libffi-dev")
|
||||
|
||||
# Needed for some u-boot's, lest "tools/mkeficapsule.c:21:10: fatal error: gnutls/gnutls.h"
|
||||
host_dependencies+=("libgnutls28-dev")
|
||||
|
||||
Reference in New Issue
Block a user