mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
add pycurl to requirements
it's needed by kombu 4.0.2. Also moved import about
This commit is contained in:
@@ -13,6 +13,7 @@ from notifications_utils.clients.redis.redis_client import RedisClient
|
|||||||
from notifications_utils import logging, request_id
|
from notifications_utils import logging, request_id
|
||||||
from werkzeug.local import LocalProxy
|
from werkzeug.local import LocalProxy
|
||||||
|
|
||||||
|
from app.celery.celery import NotifyCelery
|
||||||
from app.clients import Clients
|
from app.clients import Clients
|
||||||
from app.clients.email.aws_ses import AwsSesClient
|
from app.clients.email.aws_ses import AwsSesClient
|
||||||
from app.clients.sms.firetext import FiretextClient
|
from app.clients.sms.firetext import FiretextClient
|
||||||
@@ -25,11 +26,6 @@ DATETIME_FORMAT = "%Y-%m-%dT%H:%M:%S.%fZ"
|
|||||||
DATE_FORMAT = "%Y-%m-%d"
|
DATE_FORMAT = "%Y-%m-%d"
|
||||||
|
|
||||||
db = SQLAlchemy()
|
db = SQLAlchemy()
|
||||||
|
|
||||||
# avoid circular import by importing after db
|
|
||||||
from app.celery.celery import NotifyCelery
|
|
||||||
|
|
||||||
|
|
||||||
ma = Marshmallow()
|
ma = Marshmallow()
|
||||||
notify_celery = NotifyCelery()
|
notify_celery = NotifyCelery()
|
||||||
firetext_client = FiretextClient()
|
firetext_client = FiretextClient()
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ RUN \
|
|||||||
zip \
|
zip \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
jq \
|
jq \
|
||||||
|
libcurl4-openssl-dev \
|
||||||
&& echo "Clean up" \
|
&& echo "Clean up" \
|
||||||
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ gunicorn==19.6.0
|
|||||||
docopt==0.6.2
|
docopt==0.6.2
|
||||||
six==1.10.0
|
six==1.10.0
|
||||||
iso8601==0.1.11
|
iso8601==0.1.11
|
||||||
|
pycurl==7.43.0
|
||||||
|
|
||||||
# pin to minor version 3.1.x
|
# pin to minor version 3.1.x
|
||||||
notifications-python-client>=3.1,<3.2
|
notifications-python-client>=3.1,<3.2
|
||||||
|
|||||||
Reference in New Issue
Block a user