# 4.7.0.68 introduces fatal backward incompatibility with zlib (https://github.com/opencv/opencv-python/issues/765), 4.10.0.84 isn't py3.6 compatible anymore
opencv-python-headless==4.6.0.66; python_version < '3.7'
opencv-python-headless==4.10.0.84; python_version >= '3.7'

albumentations==1.1.0
cloudpickle>=1.3,<1.6
flask<2.3 # Flask 2.2 pulls click 8, istsdang. 2.1, jinja2 3.1, werkzeug 2.2.2, markupsafe 2.1
jedi==0.17.2
Jinja2<3.2
MarkupSafe<2.1.0; python_version < '3.7'
MarkupSafe<2.2.0; python_version >= '3.7'
matplotlib>=3.3,<3.4; python_version < '3.7'
matplotlib>=3.5,<3.8; python_version >= '3.7'
joblib==1.1.0; python_version < '3.7'
joblib==1.2.0; python_version >= '3.7'
Pillow==8.4.0; python_version < '3.7'
Pillow>=9,<10; python_version >= '3.7' and python_version < '3.8'
# Pillow 10.2 contains a security issue, do not use it
Pillow>=10.3,<11; python_version >= '3.8'
scikit-learn>=0.20,<0.21; python_version < '3.8'
scikit-learn>=1.0,<1.6; python_version >= '3.8'
scikit-image>=0.17,<0.18; python_version < '3.7'
scikit-image>=0.18,<0.19; python_version >= '3.7' and python_version < '3.10'
scikit-image>=0.21,<0.22; python_version >= '3.10' and python_version < '3.12'
scikit-image>=0.22,<0.23; python_version >= '3.12'
scipy>=1.2,<1.3; python_version < '3.8'
scipy>=1.9,<1.15; python_version >= '3.8'
statsmodels==0.12.2; python_version < '3.10'
statsmodels==0.14.0; python_version >= '3.10'
Werkzeug<3.2
setuptools<81.0; python_version >= '3.12'



# On OSX last Torch x86 compatible wheel is 2.2.2. We should bump it as soon we drop or deprecate Python x86 support on OSX
torch==2.2.2; platform_system == "Darwin" and python_version >= '3.9'
torchvision==0.17.2; platform_system == "Darwin" and python_version >= '3.9'
torch==2.6.0; platform_system != "Darwin" and python_version >= '3.9'
torchvision==0.21.0; platform_system != "Darwin" and python_version >= '3.9'

# PyTorch 1.X is shipped by default with Cuda 10.2, which is incompatible with the latest generation Ampere GPUs (compute capability 8.x).
# Retrieving the torch+cu116 package allows us to force a torch version with Cuda 11 support, which is compatible with most modern GPUs (drivers > 450.36 & compute capability > 3.5).
# These cu116 packages are not available through Pypi, and are instead only downloadable from the torch_stable website.
# Cuda 11 is only available on Linux and Windows, therefore there is no "torch+cu116" version available for Darwin platforms (MacOs).

torch==1.13.1; platform_system == "Darwin" and python_version >= '3.7' and python_version < '3.9'
torchvision==0.14.1; platform_system == "Darwin" and python_version >= '3.7' and python_version < '3.9'
torch==1.13.1+cu116; platform_system != "Darwin" and python_version >= '3.7' and python_version < '3.9'
torchvision==0.14.1+cu116; platform_system != "Darwin" and python_version >= '3.7' and python_version < '3.9'

torch==1.9.1; platform_system == "Darwin" and python_version < '3.7'
torchvision==0.10.1; platform_system == "Darwin" and python_version < '3.7'
torch==1.9.1+cu111; platform_system != "Darwin" and python_version < '3.7'
torchvision==0.10.1+cu111; platform_system != "Darwin" and python_version < '3.7'
--find-links https://download.pytorch.org/whl/torch_stable.html

