DeepForest icon indicating copy to clipboard operation
DeepForest copied to clipboard

opencv uses "setuptools==59.2.0",

Open henrykironde opened this issue 1 year ago • 1 comments

Keep setuptools to >59 Ref: https://github.com/opencv/opencv-python/blob/8ad8ec1bae8aad196b3e9117a4b2b47d58547d47/pyproject.toml#L15

henrykironde avatar Mar 26 '24 07:03 henrykironde

Thanks @henrykironde. I totally believe that this will fix things and that this is why we had that version pegged in the first place, but I'm confused as why. The build system should handle any needed upstream dependencies and all of this works fine locally:

$ conda create -n opencvtest python=3
$ conda activate opencvtest
$ conda install -c conda-forge opencv
$ conda list | grep setuptools
# Note that setuptools is the default 68.x, not the old version
setuptools                68.2.2          py312h06a4308_0 
Python 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:50:58) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import setuptools
>>> setuptools.__version__
'68.2.2'
>>> import cv2
>>> cv2.__version__
'4.9.0'

Are we building from source on GH Actions or something?

ethanwhite avatar Mar 26 '24 11:03 ethanwhite