Fix: pytest 5.0.0 issue that breaks installs 31/7731/2
authorpeusterm <manuel.peuster@uni-paderborn.de>
Mon, 1 Jul 2019 09:09:14 +0000 (11:09 +0200)
committerpeusterm <manuel.peuster@uni-paderborn.de>
Mon, 1 Jul 2019 19:29:54 +0000 (21:29 +0200)
Change-Id: Ice3cddc4083b23e5c9d148c3ddea98c7a982f46f
Signed-off-by: peusterm <manuel.peuster@uni-paderborn.de>
Dockerfile
ansible/install.yml
setup.py

index a15ddc9..a823cda 100755 (executable)
@@ -44,12 +44,13 @@ RUN apt-get update \
     curl \
     iptables \
     iputils-ping \
     curl \
     iptables \
     iputils-ping \
-    sudo
+    sudo \
+    vim
 
 # install containernet (using its Ansible playbook)
 
 # install containernet (using its Ansible playbook)
-# Attention: Containernet installation fixed to specific commit. Change to update to latest Containernet version.
-RUN git clone https://github.com/containernet/containernet.git && \
-    (cd containernet && git checkout 6fcee82e192c8c0e6447650d6f512842185529ee)
+#RUN git clone https://github.com/containernet/containernet.git && \
+#    (cd containernet && git checkout 6fcee82e192c8c0e6447650d6f512842185529ee)
+RUN git clone https://github.com/containernet/containernet.git
 WORKDIR /containernet/ansible
 RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install.yml
 
 WORKDIR /containernet/ansible
 RUN ansible-playbook -i "localhost," -c local --skip-tags "notindocker" install.yml
 
index 0ee1e44..4cf9be7 100755 (executable)
@@ -63,7 +63,7 @@
      pip: name=oslo.config state=latest
 
    - name: install pytest
      pip: name=oslo.config state=latest
 
    - name: install pytest
-     pip: name=pytest state=latest
+     pip: name=pytest version=4.6.4
 
    - name: install Flask
      pip: name=Flask state=latest
 
    - name: install Flask
      pip: name=Flask state=latest
index 7442fda..ef1f0fe 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -47,7 +47,7 @@ setup(name='emuvim',
           'six>=1.9',
           'ryu',
           'oslo.config',
           'six>=1.9',
           'ryu',
           'oslo.config',
-          'pytest',
+          'pytest<=4.6.4',
           'Flask',
           'flask_restful',
           'docker==2.0.2',
           'Flask',
           'flask_restful',
           'docker==2.0.2',
@@ -70,5 +70,5 @@ setup(name='emuvim',
           ],
       },
       setup_requires=['pytest-runner'],
           ],
       },
       setup_requires=['pytest-runner'],
-      tests_require=['pytest', 'more-itertools<=5.0.0'],
+      tests_require=['pytest<=4.6.4', 'more-itertools<=5.0.0'],
       )
       )