From b2e87dec6a2cf15d4c60852f78c68fe93d4a653d Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 3 Jul 2024 11:44:32 +0200 Subject: [PATCH] Draft: requirement updates --- requirements.txt | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index fcbb5da93..bc5dfc5de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,12 +1,29 @@ +# Python 3.7 - 3.10 +opencv-python==4.2.0.32; python_version <= "3.7" +opencv-python~=4.5.5.64,<=4.5.5.64; python_version < "3.10" +opencv-python==4.5.5.64; python_version == "3.10" + +# opencv 4.5+ will install numpy>=1.21.2 +numpy==1.18.4; python_version >= '3.0' and python_version <= "3.7" + +# 2.2 breaks in 3.10 +networkx==2.2; python_version < "3.10" + +networkx>=2.7<3.0; python_version >= "3.10" + +# Python 3.10 + +opencv-python~=4.5.5.64,<=4.10.0.84; python_version > "3.10" + +# Needs to be more fine grained +Shapely==1.7.1; python_version < "3.10" +Shapely==1.8.*; python_version == "3.10" + py-trees==0.8.3 -numpy==1.18.4; python_version >= '3.0' -networkx==2.2 -Shapely==1.7.1 + psutil xmlschema==1.0.18 ephem tabulate -opencv-python==4.2.0.32 matplotlib six simple-watchdog-timer