From e6fd078a8b6ac61e1c0d436d7d8d2fbd74846c44 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 31 Jan 2020 09:43:02 -0800 Subject: [PATCH] Update deps so that refstack builds and deploys In bindep we specify we need GCC to compile deps and set tags to compile and test as appropriate as none of these packages are needed as runtime dependencies. In requirements.txt we unpin alembic and beaker and add PyMySQL. Alembic and beaker need to be unpinned to work with modern python3 and PyMySQL is a python only runtime dep if using MySQL. This makes building docker images much simpler. Change-Id: I18a296de190324c545feda3b1b87e0a9424d0f96 --- bindep.txt | 10 +++++----- requirements.txt | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/bindep.txt b/bindep.txt index cba81a40..cc937cb3 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1,8 +1,8 @@ # This is a cross-platform list tracking distribution packages needed for install and tests; # see https://docs.openstack.org/infra/bindep/ for additional information. -mysql-client [platform:dpkg] -mysql-server [platform:dpkg] -postgresql -postgresql-client [platform:dpkg] - +gcc [compile test] +mysql-client [test platform:dpkg] +mysql-server [test platform:dpkg] +postgresql [test] +postgresql-client [test platform:dpkg] diff --git a/requirements.txt b/requirements.txt index 27625fa2..3d949eb3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ SQLAlchemy>=0.8.3 -alembic==0.5.0 -beaker==1.6.5.post1 +alembic +beaker beautifulsoup4 cryptography>=1.0,!=1.3.0 # BSD/Apache-2.0 docutils>=0.11 @@ -15,3 +15,4 @@ requests-cache>=0.4.9 jsonschema>=2.0.0,<3.0.0 PyJWT>=1.0.1 # MIT WebOb>=1.7.1 # MIT +PyMySQL>=0.6.2,!=0.6.4