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
This commit is contained in:
Clark Boylan 2020-01-31 09:43:02 -08:00
parent 4f1f07cf73
commit e6fd078a8b
2 changed files with 8 additions and 7 deletions

View File

@ -1,8 +1,8 @@
# This is a cross-platform list tracking distribution packages needed for install and tests; # This is a cross-platform list tracking distribution packages needed for install and tests;
# see https://docs.openstack.org/infra/bindep/ for additional information. # see https://docs.openstack.org/infra/bindep/ for additional information.
mysql-client [platform:dpkg] gcc [compile test]
mysql-server [platform:dpkg] mysql-client [test platform:dpkg]
postgresql mysql-server [test platform:dpkg]
postgresql-client [platform:dpkg] postgresql [test]
postgresql-client [test platform:dpkg]

View File

@ -1,6 +1,6 @@
SQLAlchemy>=0.8.3 SQLAlchemy>=0.8.3
alembic==0.5.0 alembic
beaker==1.6.5.post1 beaker
beautifulsoup4 beautifulsoup4
cryptography>=1.0,!=1.3.0 # BSD/Apache-2.0 cryptography>=1.0,!=1.3.0 # BSD/Apache-2.0
docutils>=0.11 docutils>=0.11
@ -15,3 +15,4 @@ requests-cache>=0.4.9
jsonschema>=2.0.0,<3.0.0 jsonschema>=2.0.0,<3.0.0
PyJWT>=1.0.1 # MIT PyJWT>=1.0.1 # MIT
WebOb>=1.7.1 # MIT WebOb>=1.7.1 # MIT
PyMySQL>=0.6.2,!=0.6.4