)]}'
{"roles/ara_api/vars/RedHat.yaml":[{"author":{"_account_id":9061,"name":"David Moreau Simard","email":"moi@dmsimard.com","username":"dmsimard"},"change_message_id":"88f47709989c74ee15f951e4d0c2866eff91a9e2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"ara_api_required_packages:"},{"line_number":3,"context_line":"   - git"},{"line_number":4,"context_line":"   - rh-python36-python-virtualenv"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"ara_api_postgresql_packages:"},{"line_number":7,"context_line":"   - rh-python36-python-psycopg2"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9fb8cfa7_eb57ad01","line":4,"range":{"start_line":4,"start_character":5,"end_line":4,"end_character":34},"updated":"2019-06-06 14:48:06.000000000","message":"This is coming from software collections which requires a bit more work than just listing the package here:\nhttps://www.softwarecollections.org/en/scls/rhscl/rh-python36/\n\nIf we are going to support running the API server on top of EL7, I would rather we do it through the python36 interpreter in EPEL rather than software collections.\n\nThis has the added benefit of having the python3 interpreter at /usr/bin/python3 instead of /opt/rh/rh-python36/root/usr/bin/python3.\n\nSo this would mean that we need to install epel-release and then install the \"python36\" package. It doesn\u0027t seem that we need to install a virtualenv package, it is built into the interpreter.","commit_id":"ce20b7e28fbef58cfb59b64581dcd710882efa6e"},{"author":{"_account_id":9061,"name":"David Moreau Simard","email":"moi@dmsimard.com","username":"dmsimard"},"change_message_id":"88f47709989c74ee15f951e4d0c2866eff91a9e2","unresolved":false,"context_lines":[{"line_number":4,"context_line":"   - rh-python36-python-virtualenv"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"ara_api_postgresql_packages:"},{"line_number":7,"context_line":"   - rh-python36-python-psycopg2"},{"line_number":8,"context_line":"   - gcc"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"9fb8cfa7_cf4af6aa","line":7,"range":{"start_line":7,"start_character":5,"end_line":7,"end_character":32},"updated":"2019-06-06 14:48:06.000000000","message":"The role is currently designed to pull psycopg2 with pip: https://github.com/ansible-community/ara/blob/bae32bf42565acd7749c235eab37ae4598d43925/roles/ara_api/tasks/database_engine/django.db.backends.postgresql.yaml#L38-L43\n\nI suppose it would eventually be nice to support installation from packages but we\u0027re not there yet.\n\nWhen testing locally with EPEL, this is what I needed to run in order to be able to install psycopg2 from pypi:\n\n    yum install -y epel-release postgresql postgresql-devel gcc\n    yum install -y python36 python36-devel\n    python3 -m venv /tmp/test\n    /tmp/test/bin/pip install psycopg2","commit_id":"ce20b7e28fbef58cfb59b64581dcd710882efa6e"}]}
