Skip to content

Commit 1871ec1

Browse files
lucylqfacebook-github-bot
authored andcommitted
min pip version (pytorch#3526)
Summary: see [T188128067](https://www.internalfb.com/intern/tasks/?t=188128067) and pytorch/torchchat#726 Pull Request resolved: pytorch#3526 Reviewed By: huydhn Differential Revision: D57032452 Pulled By: lucylq fbshipit-source-id: 9770d5fea83b551518e8b14579f4e40baef85195
1 parent 8e2e2e2 commit 1871ec1

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

build/packaging/pre_build_script.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ set -euxo pipefail
1616
readonly BUILD_DEPS=(
1717
# This list must match the build-system.requires list from pyproject.toml.
1818
"cmake"
19+
"pip>=23"
1920
"pyyaml"
2021
"setuptools>=63"
2122
"tomli"

install_requirements.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ EXIR_REQUIREMENTS=(
7373
# pip packages needed for development.
7474
DEVEL_REQUIREMENTS=(
7575
cmake # For building binary targets.
76+
"pip>=23" # For building the pip package.
7677
pyyaml # Imported by the kernel codegen tools.
7778
"setuptools>=63" # For building the pip package.
7879
tomli # Imported by extract_sources.py when using python < 3.11.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[build-system]
22
requires = [
33
"cmake", # For building binary targets in the wheel.
4+
"pip>=23", # For building the pip package.
45
"pyyaml", # Imported by the kernel codegen tools.
56
"setuptools>=63", # For building the pip package contents.
67
"tomli", # Imported by extract_sources.py when using python < 3.11.

0 commit comments

Comments
 (0)