mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05:00
Upgrade pip packages
This commit is contained in:
@@ -41,12 +41,13 @@ class SQLAlchemy(_SQLAlchemy):
|
|||||||
"""We need to subclass SQLAlchemy in order to override create_engine options"""
|
"""We need to subclass SQLAlchemy in order to override create_engine options"""
|
||||||
|
|
||||||
def apply_driver_hacks(self, app, info, options):
|
def apply_driver_hacks(self, app, info, options):
|
||||||
super().apply_driver_hacks(app, info, options)
|
sa_url, options = super().apply_driver_hacks(app, info, options)
|
||||||
if 'connect_args' not in options:
|
if 'connect_args' not in options:
|
||||||
options['connect_args'] = {}
|
options['connect_args'] = {}
|
||||||
options['connect_args']["options"] = "-c statement_timeout={}".format(
|
options['connect_args']["options"] = "-c statement_timeout={}".format(
|
||||||
int(app.config['SQLALCHEMY_STATEMENT_TIMEOUT']) * 1000
|
int(app.config['SQLALCHEMY_STATEMENT_TIMEOUT']) * 1000
|
||||||
)
|
)
|
||||||
|
return (sa_url, options)
|
||||||
|
|
||||||
|
|
||||||
db = SQLAlchemy()
|
db = SQLAlchemy()
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ celery[sqs]==5.2.6
|
|||||||
Flask-Bcrypt==1.0.1
|
Flask-Bcrypt==1.0.1
|
||||||
flask-marshmallow==0.14.0
|
flask-marshmallow==0.14.0
|
||||||
Flask-Migrate==3.1.0
|
Flask-Migrate==3.1.0
|
||||||
git+https://github.com/mitsuhiko/flask-sqlalchemy.git@500e732dd1b975a56ab06a46bd1a20a21e682262#egg=Flask-SQLAlchemy==2.3.2.dev20190108
|
git+https://github.com/pallets-eco/flask-sqlalchemy.git@aa7a61a5357cf6f5dcc135d98c781192457aa6fa#egg=Flask-SQLAlchemy==2.5.1
|
||||||
Flask==2.1.2
|
Flask==2.1.2
|
||||||
click-datetime==0.2
|
click-datetime==0.2
|
||||||
# Should be pinned until a new gunicorn release greater than 20.1.0 comes out. (Due to eventlet v0.33 compatibility issues)
|
# Should be pinned until a new gunicorn release greater than 20.1.0 comes out. (Due to eventlet v0.33 compatibility issues)
|
||||||
@@ -14,15 +14,15 @@ git+https://github.com/benoitc/gunicorn.git@1299ea9e967a61ae2edebe191082fd169b86
|
|||||||
iso8601==1.0.2
|
iso8601==1.0.2
|
||||||
itsdangerous==2.1.2
|
itsdangerous==2.1.2
|
||||||
jsonschema[format]==4.5.1
|
jsonschema[format]==4.5.1
|
||||||
marshmallow-sqlalchemy==0.28.0
|
marshmallow-sqlalchemy==0.28.1
|
||||||
marshmallow==3.15.0
|
marshmallow==3.15.0
|
||||||
psycopg2-binary==2.9.3
|
psycopg2-binary==2.9.3
|
||||||
PyJWT==2.4.0
|
PyJWT==2.4.0
|
||||||
SQLAlchemy==1.4.36
|
SQLAlchemy==1.4.40
|
||||||
cachetools==5.1.0
|
cachetools==5.1.0
|
||||||
beautifulsoup4==4.11.1
|
beautifulsoup4==4.11.1
|
||||||
lxml==4.9.1
|
lxml==4.9.1
|
||||||
Werkzeug==2.0.3 # pyup: <2.1.0 # later versions are not compatible with the version of flask-sqlalchemy we have pinned
|
Werkzeug==2.1.1
|
||||||
python-dotenv==0.20.0
|
python-dotenv==0.20.0
|
||||||
|
|
||||||
notifications-python-client==6.3.0
|
notifications-python-client==6.3.0
|
||||||
@@ -30,7 +30,7 @@ notifications-python-client==6.3.0
|
|||||||
# PaaS
|
# PaaS
|
||||||
awscli-cwlogs==1.4.6
|
awscli-cwlogs==1.4.6
|
||||||
|
|
||||||
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@56.0.0
|
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@56.0.2
|
||||||
|
|
||||||
# gds-metrics requires prometheseus 0.2.0, override that requirement as 0.7.1 brings significant performance gains
|
# gds-metrics requires prometheseus 0.2.0, override that requirement as 0.7.1 brings significant performance gains
|
||||||
prometheus-client==0.14.1
|
prometheus-client==0.14.1
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ flask-migrate==3.1.0
|
|||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
flask-redis==0.4.0
|
flask-redis==0.4.0
|
||||||
# via notifications-utils
|
# via notifications-utils
|
||||||
flask-sqlalchemy @ git+https://github.com/mitsuhiko/flask-sqlalchemy.git@500e732dd1b975a56ab06a46bd1a20a21e682262
|
flask-sqlalchemy @ git+https://github.com/pallets-eco/flask-sqlalchemy.git@aa7a61a5357cf6f5dcc135d98c781192457aa6fa
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# flask-migrate
|
# flask-migrate
|
||||||
@@ -157,13 +157,13 @@ marshmallow==3.15.0
|
|||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# flask-marshmallow
|
# flask-marshmallow
|
||||||
# marshmallow-sqlalchemy
|
# marshmallow-sqlalchemy
|
||||||
marshmallow-sqlalchemy==0.28.0
|
marshmallow-sqlalchemy==0.28.1
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
mistune==0.8.4
|
mistune==0.8.4
|
||||||
# via notifications-utils
|
# via notifications-utils
|
||||||
notifications-python-client==6.3.0
|
notifications-python-client==6.3.0
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@56.0.0
|
notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@56.0.2
|
||||||
# via -r requirements.in
|
# via -r requirements.in
|
||||||
orderedset==2.0.3
|
orderedset==2.0.3
|
||||||
# via notifications-utils
|
# via notifications-utils
|
||||||
@@ -171,6 +171,7 @@ packaging==21.3
|
|||||||
# via
|
# via
|
||||||
# bleach
|
# bleach
|
||||||
# marshmallow
|
# marshmallow
|
||||||
|
# marshmallow-sqlalchemy
|
||||||
# redis
|
# redis
|
||||||
phonenumbers==8.12.48
|
phonenumbers==8.12.48
|
||||||
# via notifications-utils
|
# via notifications-utils
|
||||||
@@ -248,7 +249,7 @@ smartypants==2.0.1
|
|||||||
# via notifications-utils
|
# via notifications-utils
|
||||||
soupsieve==2.3.2.post1
|
soupsieve==2.3.2.post1
|
||||||
# via beautifulsoup4
|
# via beautifulsoup4
|
||||||
sqlalchemy==1.4.36
|
sqlalchemy==1.4.40
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# alembic
|
# alembic
|
||||||
@@ -275,7 +276,7 @@ webcolors==1.12
|
|||||||
# via jsonschema
|
# via jsonschema
|
||||||
webencodings==0.5.1
|
webencodings==0.5.1
|
||||||
# via bleach
|
# via bleach
|
||||||
werkzeug==2.0.3
|
werkzeug==2.1.1
|
||||||
# via
|
# via
|
||||||
# -r requirements.in
|
# -r requirements.in
|
||||||
# flask
|
# flask
|
||||||
|
|||||||
Reference in New Issue
Block a user