diff --git a/build/packaging/pre_build_script.sh b/build/packaging/pre_build_script.sh index 1abb1a76fe3..74c98406d05 100644 --- a/build/packaging/pre_build_script.sh +++ b/build/packaging/pre_build_script.sh @@ -16,6 +16,7 @@ set -euxo pipefail readonly BUILD_DEPS=( # This list must match the build-system.requires list from pyproject.toml. "cmake" + "pip>=23" "pyyaml" "setuptools>=63" "tomli" diff --git a/install_requirements.sh b/install_requirements.sh index d88eb505a6c..24a01cae9b6 100755 --- a/install_requirements.sh +++ b/install_requirements.sh @@ -73,6 +73,7 @@ EXIR_REQUIREMENTS=( # pip packages needed for development. DEVEL_REQUIREMENTS=( cmake # For building binary targets. + "pip>=23" # For building the pip package. pyyaml # Imported by the kernel codegen tools. "setuptools>=63" # For building the pip package. tomli # Imported by extract_sources.py when using python < 3.11. diff --git a/pyproject.toml b/pyproject.toml index 099cdd0d32c..b6926a2f5f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,7 @@ [build-system] requires = [ "cmake", # For building binary targets in the wheel. + "pip>=23", # For building the pip package. "pyyaml", # Imported by the kernel codegen tools. "setuptools>=63", # For building the pip package contents. "tomli", # Imported by extract_sources.py when using python < 3.11.