-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirements.txt
78 lines (59 loc) · 2.19 KB
/
requirements.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
alembic==0.8.7
click==6.6
coverage==4.2
Flask==0.11.1
Flask-Migrate==2.0.0
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
Flask-Testing==0.5.0
GitHub-Flask==3.1.3
gunicorn==19.6.0
itsdangerous==0.24
Jinja2==2.8
Mako==1.0.4
MarkupSafe==0.23
# mysql-connector-python — Temporarily disabled.
# This dependency was causing build errors when deploying to Heroku. The following are some different attempts that did not work.
# * http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-2.1.3.zip
# * mysql-connector-python==mysql-connector-python-2.1.3.tar.gz
psycopg2==2.6.2
py==1.4.31
py-bcrypt==0.4
pycparser==2.14
pytest==3.0.1
pytest-cov==2.3.1
pytest-flask==0.10.0
python-editor==1.0.1
requests==2.11.1
six==1.10.0
SQLAlchemy==1.0.14
Werkzeug==0.11.10
# ISSUE 1 - Users unable to register/login.
# I have temporarily taken related dependencies from the list above and put them below to try differentp combinations.
# End of log:
# Oct 18 13:10:47 pma-translation-hub-staging app/web.1: File "/app/.heroku/python/lib/python3.5/site-packages/bcrypt/__init__.py", line 50, in gensalt
# Oct 18 13:10:47 pma-translation-hub-staging app/web.1: output = _bcrypt.ffi.new("unsigned char[]", 30)
# Oct 18 13:10:47 pma-translation-hub-staging app/web.1: AttributeError: module 'bcrypt._bcrypt' has no attribute 'ffi'
# Oct 18 13:13:26 pma-translation-hub-staging heroku/run.9841: State changed from up to complete
# Suggested solutions:
# * pip uninstall py-bcrypt http://stackoverflow.com/questions/39980976/python-bcrypt-package-on-heroku-gives-attributeerror-module-object-has-no-att
# * try different dependency combinations
# * install other dependencies
# * remove redundant dependencies
# * Re-do what I've done in just-a-dash.
# Attempt 1 - FAILED
# This was the application default.
# Flask-Bcrypt==0.7.1
# bcrypt==3.1.0
# cffi==1.7.0
# Attempt 2 - FAILED
# Notes: Tried this because cryptography or cffi appeared to be maybe dependency of 'bcrypt', if not 'Flask-Bcrypt'.
# Did not solve the issue.
# Flask-Bcrypt==0.7.1
# bcrypt==3.1.0
# cffi==1.7.0
# cryptography
# Attempt 3 - Trying same thing as 'Attempt 1', but with some changes to models.py.
Flask-Bcrypt==0.7.1
bcrypt==3.1.0
cffi==1.7.0