From 50f40b52c30637edcd0ee98fcb640e447a2e6c93 Mon Sep 17 00:00:00 2001 From: mprahl Date: Jan 09 2019 20:45:07 +0000 Subject: Install the Python 3 dependencies for ResultsDB in Vagrant The functional tests no longer use Python 2 since PR #359. This makes the functional tests work in Vagrant after that PR. --- diff --git a/Vagrantfile b/Vagrantfile index 403a4f0..e85aeb3 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -26,21 +26,7 @@ $script = <<-'SCRIPT' # Clone ResultsDB and WaiverDB for the functional tests git clone https://pagure.io/taskotron/resultsdb.git /opt/resultsdb git clone https://pagure.io/waiverdb.git /opt/waiverdb - # Install the proper dependencies for ResultsDB and WaiverDB - # We can't use the spec file to install the ResultsDB dependencies because - # the functional tests use Python 2 to launch ResultsDB and the spec file - # will install Python 3 dependencies since the OS is Fedora - dnf -y install \ - fedmsg \ - python2-fedmsg \ - python2-alembic \ - python2-flask \ - python2-flask-restful \ - python2-flask-sqlalchemy \ - python2-iso8601 \ - python2-psycopg2 \ - python2-six \ - python2-sqlalchemy + dnf -y builddep /opt/resultsdb/resultsdb.spec dnf -y builddep /opt/waiverdb/waiverdb.spec # Clean any pyc or pyo files