diff --git a/pyproject.toml b/pyproject.toml index 3299a895a69..e8051714002 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "cmake<4.0.0", # For building binary targets in the wheel. 4.0.0 breaks third-party CMake build so temporarily pin the version. + "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. "pip>=23", # For building the pip package. "pyyaml", # Imported by the kernel codegen tools. "setuptools>=63", # For building the pip package contents. @@ -49,7 +49,7 @@ classifiers = [ ] # Python dependencies required for use. -# coremltools has issue with python 3.13, see https://github.com/apple/coremltools/issues/2487 +# coremltools has issue with python 3.13, see https://github.com/apple/coremltools/issues/2487 requires-python = ">=3.10,<3.13" dependencies=[ "expecttest", diff --git a/requirements-dev.txt b/requirements-dev.txt index a4ed212fb65..6bfd5e29e64 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,11 +1,7 @@ # Pip packages needed to build from source. Mainly for development of ExecuTorch. -cmake>=3.19, <4.0.0 # 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. -wheel # For building the pip package archive. -zstd # Imported by resolve_buck.py. +# Build specific requirements are in pyproject.toml's build-system.requires already +# and invoked during pip install . + lintrunner==0.12.7 lintrunner-adapters==0.12.4