mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -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 werkzeug.local import LocalProxy
|
||||
|
||||
from app.celery.celery import NotifyCelery
|
||||
from app.clients import Clients
|
||||
from app.clients.email.aws_ses import AwsSesClient
|
||||
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"
|
||||
|
||||
db = SQLAlchemy()
|
||||
|
||||
# avoid circular import by importing after db
|
||||
from app.celery.celery import NotifyCelery
|
||||
|
||||
|
||||
ma = Marshmallow()
|
||||
notify_celery = NotifyCelery()
|
||||
firetext_client = FiretextClient()
|
||||
|
||||
@@ -20,6 +20,7 @@ RUN \
|
||||
zip \
|
||||
libpq-dev \
|
||||
jq \
|
||||
libcurl4-openssl-dev \
|
||||
&& echo "Clean up" \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/*
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ gunicorn==19.6.0
|
||||
docopt==0.6.2
|
||||
six==1.10.0
|
||||
iso8601==0.1.11
|
||||
pycurl==7.43.0
|
||||
|
||||
# pin to minor version 3.1.x
|
||||
notifications-python-client>=3.1,<3.2
|
||||
|
||||
Reference in New Issue
Block a user