From 4d1c34fccea41e0f119fc5bc54c0b1f17c887917 Mon Sep 17 00:00:00 2001 From: Rebecca Law Date: Mon, 5 Sep 2016 16:45:54 +0100 Subject: [PATCH] A little bit of clean up. - Remove the deploy to staging | live links in the README - Update most of the outdated requirements. Left Flask update out for now. --- README.md | 2 -- requirements.txt | 18 +++++++++--------- tests/app/celery/test_scheduled_tasks.py | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 44bfd2822..a6917c43c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ ![](https://travis-ci.org/alphagov/notifications-api.svg) [![Requirements Status](https://requires.io/github/alphagov/notifications-api/requirements.svg?branch=master)](https://requires.io/github/alphagov/notifications-api/requirements/?branch=master) -[![Deploy to staging](https://notify-build-monitor.herokuapp.com/deploys/notifications-api/master...staging.svg?prefix=Deploy%20to)](https://github.com/alphagov/notifications-api/compare/staging...master?expand=1&title=Deploy%20to%20staging) [![Deploy to live](https://notify-build-monitor.herokuapp.com/deploys/notifications-api/staging...live.svg?prefix=Deploy%20to)](https://github.com/alphagov/notifications-api/compare/live...staging?expand=1&title=Deploy%20to%20live) - # notifications-api Notifications api Application for the notification api. diff --git a/requirements.txt b/requirements.txt index d377b6184..1da28d23d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,25 +1,25 @@ -apispec==0.12.0 +apispec==0.14.0 bleach==1.4.3 Flask==0.10.1 Flask-Script==2.0.5 Flask-Migrate==1.3.1 Flask-SQLAlchemy==2.0 -psycopg2==2.6.1 -SQLAlchemy==1.0.5 -SQLAlchemy-Utils==0.30.5 -PyJWT==1.4.0 +psycopg2==2.6.2 +SQLAlchemy==1.0.15 +SQLAlchemy-Utils==0.32.9 +PyJWT==1.4.2 marshmallow==2.4.2 marshmallow-sqlalchemy==0.8.0 flask-marshmallow==0.6.2 Flask-Bcrypt==0.6.2 credstash==1.8.0 -boto3==1.2.3 -boto==2.39.0 +boto3==1.4.0 +boto==2.42.0 celery==3.1.20 -monotonic==0.3 +monotonic==1.2 statsd==3.2.1 -git+https://github.com/alphagov/notifications-python-client.git@1.0.0#egg=notifications-python-client==1.0.0 +git+https://github.com/alphagov/notifications-python-client.git@1.2.0#egg=notifications-python-client==1.2.0 git+https://github.com/alphagov/notifications-utils.git@9.0.0#egg=notifications-utils==9.0.0 diff --git a/tests/app/celery/test_scheduled_tasks.py b/tests/app/celery/test_scheduled_tasks.py index 92478d7da..893988490 100644 --- a/tests/app/celery/test_scheduled_tasks.py +++ b/tests/app/celery/test_scheduled_tasks.py @@ -11,7 +11,7 @@ from app.celery.scheduled_tasks import (delete_verify_codes, run_scheduled_jobs) from app.dao.jobs_dao import dao_get_job_by_id from tests.app.conftest import sample_notification, sample_job -from mock import call +from unittest.mock import call def test_should_have_decorated_tasks_functions():