datakind / permanent-colandr-back

DataCorps - Colandr Tool resources
https://www.colandrapp.com/signin
14 stars 1 forks source link

Update and better define (dev) app environment #41

Closed bdewilde closed 1 year ago

bdewilde commented 1 year ago

changes

context

afaict, on the production machine, we are currently running Python 3.6.12 and PostgreSQL 9.6.11 with the following dependencies (filtered to just direct, not transitive, deps)

alembic==1.0.9
arrow==0.13.1
bcrypt==3.1.6
bibtexparser==1.1.0
celery==3.1.25
dedupe==1.9.6
Flask==0.12.4
Flask-HTTPAuth==3.2.4
Flask-Mail==0.9.1
Flask-Migrate==2.4.0
Flask-RESTful==0.3.7
flask-restplus==0.12.1
Flask-Script==2.0.6
Flask-SQLAlchemy==2.3.2
gunicorn==19.6.0
itsdangerous==1.1.0
Jinja2==2.10.1
MarkupSafe==1.1.1
marshmallow==2.19.2
numpy==1.16.2
psycopg2==2.8.2
python-dateutil==2.8.0
python-redis-lock==3.1.0
PyYAML==5.1
redis==2.10.5
requests==2.21.0
scikit-learn==0.20.3
SQLAlchemy==1.2.19
textacy==0.4.2
webargs==5.3.0

i wasn't able to reproduce this environment locally, owing to changes in supported versions of things (e.g. PY3.6 no longer supported properly via homebrew installs), so i had to incrementally bump / constrain things until everything got working.

questions

samanz commented 1 year ago

I'll work on a PR for updating pdfestrian, and make sure it all works.

bdewilde commented 1 year ago

@samanz not a big deal because i've not added branch protections yet, but in future PRs, please don't hesitate to approve/request changes rather than just comment. (unless only commenting is your intention, of course.) hopefully that will help speed up review cycles, especially since our dev hours are bound to be on different schedules for this project. sound good?