Skip to content

Commit

Permalink
min pip version (#3526)
Browse files Browse the repository at this point in the history
Summary:
see [T188128067](https://www.internalfb.com/intern/tasks/?t=188128067)

Pull Request resolved: #3526

Differential Revision: D57032452

Pulled By: lucylq
  • Loading branch information
lucylq authored and facebook-github-bot committed May 9, 2024
1 parent 21f5fbf commit 198b81d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-wheels-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
post-script: build/packaging/post_build_script.sh
smoke-test-script: build/packaging/smoke_test.py
package-name: executorch
python-version: '3.10'
name: ${{ matrix.repository }}
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
with:
Expand All @@ -60,3 +61,4 @@ jobs:
package-name: ${{ matrix.package-name }}
smoke-test-script: ${{ matrix.smoke-test-script }}
trigger-event: ${{ github.event_name }}
python-version: ${{ matrix.python-version }}
1 change: 1 addition & 0 deletions build/packaging/pre_build_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 198b81d

Please sign in to comment.