Skip to content

Commit

Permalink
Update dependencies to be copacetic with werkzeug.
Browse files Browse the repository at this point in the history
  Remove use of defunct FLASK_ENV.
  • Loading branch information
grosscol committed Oct 30, 2023
1 parent 1dad5b6 commit f918089
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ See [Development](#Development) section for developer installation.
# Activate venv if present.
[ -d 'venv' ] && source 'venv/bin/activate'

export FLASK_ENV=development
export FLASK_APP=bravo_api

# Confige file is relative to the instance directory.
Expand Down
2 changes: 1 addition & 1 deletion bravo_api/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.15.1
2.16.0
6 changes: 5 additions & 1 deletion run_bravo_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@
# Activate venv if present.
[ -d 'venv' ] && source 'venv/bin/activate'

export FLASK_ENV=development
# This should be False in production
export FLASK_DEBUG=True

export FLASK_APP=bravo_api
export BRAVO_API_CONFIG_FILE='config.py'
export BRAVO_API_INSTANCE_DIR='./instance'

# Development server
flask run --port 9099

# Production server should use something like gunicorn
# gunicorn -b 127.0.0.1:9099 -w 10 -k gevent "bravo_api:create_app()"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
python_requires='>=3.8, <4',

install_requires=[
'pymongo>=3.11.2', 'click>=7.1.2', 'Flask>=1.1.2',
'pymongo>=3.11.2', 'click>=7.1.2', 'Flask>=3.0.0',
'flask_cors>=3.0.10', 'flask_pymongo>=2.3.0', 'intervaltree>=3.1.0', 'marshmallow>=3.10.0',
'pysam>=0.16.0.1', 'python-rapidjson>=1.0', 'webargs>=7.0.1',
'authlib>=1.0.0', 'flask-login>=0.5.0', 'requests>=2.25.1', 'boto3>=1.26',
'authlib>=1.0.0', 'flask-login>=0.6.3', 'requests>=2.25.1', 'boto3>=1.26',
'cachelib==0.9.0', 'Flask-Caching>=2.0.2'
],

Expand Down

0 comments on commit f918089

Please sign in to comment.