Skip to content

Commit a6741a0

Browse files
committed
Deduplicate pyproject.toml and requirements-dev.txt
1 parent 608a745 commit a6741a0

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"cmake<4.0.0", # For building binary targets in the wheel. 4.0.0 breaks third-party CMake build so temporarily pin the version.
3+
"cmake>=3.19,<4.0.0", # For building binary targets in the wheel. 4.0.0 breaks third-party CMake build so temporarily pin the version.
44
"pip>=23", # For building the pip package.
55
"pyyaml", # Imported by the kernel codegen tools.
66
"setuptools>=63", # For building the pip package contents.
@@ -49,7 +49,7 @@ classifiers = [
4949
]
5050

5151
# Python dependencies required for use.
52-
# coremltools has issue with python 3.13, see https://github.com/apple/coremltools/issues/2487
52+
# coremltools has issue with python 3.13, see https://github.com/apple/coremltools/issues/2487
5353
requires-python = ">=3.10,<3.13"
5454
dependencies=[
5555
"expecttest",

requirements-dev.txt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
# Pip packages needed to build from source. Mainly for development of ExecuTorch.
22

3-
cmake>=3.19, <4.0.0 # For building binary targets in the wheel.
4-
pip>=23 # For building the pip package.
5-
pyyaml # Imported by the kernel codegen tools.
6-
setuptools>=63 # For building the pip package contents.
7-
tomli # Imported by extract_sources.py when using python < 3.11.
8-
wheel # For building the pip package archive.
9-
zstd # Imported by resolve_buck.py.
3+
# Build specific requirements are in pyproject.toml's build-system.requires already
4+
# and invoked during pip install .
5+
106
lintrunner==0.12.7
117
lintrunner-adapters==0.12.4

0 commit comments

Comments
 (0)