Pin setuptools version (#23589)

Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Burhan 2026-02-08 16:50:53 -05:00 committed by GitHub
parent b5d9bfd49b
commit a3c9cdd2a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@
# For comprehensive documentation and usage instructions, visit: https://docs.ultralytics.com
[build-system]
requires = ["setuptools>=70.0.0", "wheel"]
requires = ["setuptools>=70.0.0,<=81.0.0", "wheel"]
build-backend = "setuptools.build_meta"
# Project settings -----------------------------------------------------------------------------------------------------
@ -99,6 +99,7 @@ export = [
"tensorflowjs>=2.0.0", # TF.js export, automatically installs tensorflow
"tensorstore>=0.1.63; platform_machine == 'aarch64' and python_version >= '3.9'", # for TF Raspberry Pi exports
"h5py!=3.11.0; platform_machine == 'aarch64'", # fix h5py build issues due to missing aarch64 wheels in 3.11 release
"setuptools<=81.0.0", # pin due to >=82.0.0 breaking tensorflow.js package
]
solutions = [
"shapely>=2.0.0", # shapely for point and polygon data matching