From 3e9cd4a7392b823ed13f24b9aad1ae284fae21c1 Mon Sep 17 00:00:00 2001 From: Alvaro Laserna Date: Wed, 21 Feb 2024 15:07:11 +0200 Subject: [PATCH 1/2] make deps not so strict and remove selenium --- requirements.txt | 17 ++++++++--------- setup.py | 17 ++++++++--------- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/requirements.txt b/requirements.txt index a350a21..df3058a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,14 +4,13 @@ black==22.6.0 build # lib -pytest==7.4.3 -Appium-Python-Client==3.1.1 -selenium==4.17.2 -opencv-python==4.8.1.78 +pytest<=7.4.3 +Appium-Python-Client~=3.1.1 +opencv-python~=4.8.1.78 geckodriver-autoinstaller==0.1.0 -pytest-xdist==2.5.0 -pytest-testrail==2.9.0 +pytest-xdist~=2.5.0 +pytest-testrail~=2.9.0 pure-python-adb==0.3.0.dev0 -webdriver-manager==4.0.1 -numpy==1.26.2 -imutils==0.5.4 +webdriver-manager~=4.0.1 +numpy~=1.26.2 +imutils~=0.5.4 diff --git a/setup.py b/setup.py index 9009a4c..e3fec61 100644 --- a/setup.py +++ b/setup.py @@ -37,16 +37,15 @@ packages=find_packages(), python_requires=">=3.6, <4", install_requires=[ - "pytest==7.4.3", - "Appium-Python-Client==3.1.1", - "selenium==4.17.2", - "opencv-python==4.8.1.78", + "pytest<=7.4.3", + "Appium-Python-Client~=3.1.1", + "opencv-python~=4.8.1.78", "geckodriver-autoinstaller==0.1.0", - "pytest-xdist==2.5.0", - "pytest-testrail==2.9.0", + "pytest-xdist~=2.5.0", + "pytest-testrail~=2.9.0", "pure-python-adb==0.3.0.dev0", - "webdriver-manager==4.0.1", - "numpy==1.26.2", - "imutils==0.5.4", + "webdriver-manager~=4.0.1", + "numpy~=1.26.2", + "imutils~=0.5.4", ], ) From caa10517deba249237a57fc2edb3f85c787bcdf0 Mon Sep 17 00:00:00 2001 From: Alvaro Laserna Date: Thu, 22 Feb 2024 14:37:22 +0200 Subject: [PATCH 2/2] loosen up a bit more --- requirements.txt | 4 ++-- setup.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index df3058a..b2dbb08 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,11 +6,11 @@ build # lib pytest<=7.4.3 Appium-Python-Client~=3.1.1 -opencv-python~=4.8.1.78 +opencv-python~=4.8.1 geckodriver-autoinstaller==0.1.0 pytest-xdist~=2.5.0 pytest-testrail~=2.9.0 pure-python-adb==0.3.0.dev0 webdriver-manager~=4.0.1 -numpy~=1.26.2 +numpy~=1.26 imutils~=0.5.4 diff --git a/setup.py b/setup.py index e3fec61..ace81ae 100644 --- a/setup.py +++ b/setup.py @@ -39,13 +39,13 @@ install_requires=[ "pytest<=7.4.3", "Appium-Python-Client~=3.1.1", - "opencv-python~=4.8.1.78", + "opencv-python~=4.8.1", "geckodriver-autoinstaller==0.1.0", "pytest-xdist~=2.5.0", "pytest-testrail~=2.9.0", "pure-python-adb==0.3.0.dev0", "webdriver-manager~=4.0.1", - "numpy~=1.26.2", + "numpy~=1.26", "imutils~=0.5.4", ], )