From 912076658883513214b769e2a670b7b2303cb67f Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Mon, 3 May 2021 09:03:49 -0700 Subject: [PATCH] Relax the install_requires, no need to exact version as long as there are no broken changes with future versions (#1530) #### What I did Fixes https://github.com/Azure/sonic-buildimage/issues/7152 #### How I did it Relax the install_requires --- setup.py | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/setup.py b/setup.py index 15f93b46f759..b8b6d0722907 100644 --- a/setup.py +++ b/setup.py @@ -161,32 +161,32 @@ }, install_requires=[ 'click==7.0', - 'click-log==0.3.2', - 'docker==4.4.4', - 'docker-image-py==0.1.10', - 'filelock==3.0.12', - 'enlighten==1.8.0', - 'ipaddress==1.0.23', - 'jinja2==2.11.3', - 'jsondiff==1.2.0', - 'jsonpatch==1.32.0', - 'm2crypto==0.31.0', - 'natsort==6.2.1', # 6.2.1 is the last version which supports Python 2. Can update once we no longer support Python 2 - 'netaddr==0.8.0', - 'netifaces==0.10.7', - 'pexpect==4.8.0', - 'poetry-semver==0.1.0', - 'prettyprinter==0.18.0', - 'pyroute2==0.5.14', - 'requests==2.25.0', + 'click-log>=0.3.2', + 'docker>=4.4.4', + 'docker-image-py>=0.1.10', + 'filelock>=3.0.12', + 'enlighten>=1.8.0', + 'ipaddress>=1.0.23', + 'jinja2>=2.11.3', + 'jsondiff>=1.2.0', + 'jsonpatch>=1.32.0', + 'm2crypto>=0.31.0', + 'natsort>=6.2.1', # 6.2.1 is the last version which supports Python 2. Can update once we no longer support Python 2 + 'netaddr>=0.8.0', + 'netifaces>=0.10.7', + 'pexpect>=4.8.0', + 'poetry-semver>=0.1.0', + 'prettyprinter>=0.18.0', + 'pyroute2>=0.5.14', + 'requests>=2.25.0', 'sonic-config-engine', 'sonic-platform-common', 'sonic-py-common', 'sonic-yang-mgmt', 'swsssdk>=2.0.1', - 'tabulate==0.8.2', - 'www-authenticate==0.9.2', - 'xmltodict==0.12.0', + 'tabulate>=0.8.2', + 'www-authenticate>=0.9.2', + 'xmltodict>=0.12.0', ], setup_requires= [ 'pytest-runner',