fix 1272. Fixing aiohttp version to 3.6.2 21/9921/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 28 Oct 2020 10:04:37 +0000 (10:04 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 28 Oct 2020 10:04:45 +0000 (10:04 +0000)
library aioresponses 0.7.0 used only by unittests is failing
with the aiohttp version 3.7.x For the moment freezing aiohttp
version

Also allows modern versions of cherrypy and jsonschema in master branch

Change-Id: I45503fd28a2f015773b1f7200d80d5ce412df567
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
requirements.txt
setup.py

index 1f2adf9..6abb721 100644 (file)
 # License for the specific language governing permissions and limitations
 # under the License.
 
 # License for the specific language governing permissions and limitations
 # under the License.
 
-CherryPy==18.1.2
-jsonschema==3.2.0
+CherryPy>=18.1.2
+jsonschema>=3.2.0
 PyYAML
 python-keystoneclient
 requests
 git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common
 git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im
 PyYAML
 python-keystoneclient
 requests
 git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common
 git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im
-aiohttp>=2.3.10
+aiohttp>=2.3.10,<=3.6.2
index f134876..309dda1 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -48,14 +48,14 @@ setup(
     #             ('/etc/systemd/system/', ['osm_nbi/osm-nbi.service']),
     #             ],
     install_requires=[
     #             ('/etc/systemd/system/', ['osm_nbi/osm-nbi.service']),
     #             ],
     install_requires=[
-        'CherryPy==18.1.2',
+        'CherryPy>=18.1.2',
         'osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common',
         'osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common',
-        'jsonschema==3.2.0',
+        'jsonschema>=3.2.0',
         'PyYAML',
         'osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im',
         'python-keystoneclient',
         'requests',
         'PyYAML',
         'osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im',
         'python-keystoneclient',
         'requests',
-        'aiohttp>=2.3.10',
+        'aiohttp>=2.3.10,<=3.6.2',
     ],
     setup_requires=['setuptools-version-command'],
 )
     ],
     setup_requires=['setuptools-version-command'],
 )