570 Commits
Author SHA1 Message Date
Leo Hemsted 78b4231915 fix awscli botocore dependency
awscli has a requirement of a new version of botocore

moto has a requirement of an old version of boto3, which requires an
old version of botocore

We had to pin boto to an older version, because of the moto issues.
this commit pins awscli to the version currently deployed on prod, so
that it plays nice with that older version of boto/botocore
2018-09-28 11:25:55 +01:00
Tom Byers 78cc503a91 Bump utils to 30.4.0
Brings in changes to allow letter timings to
include 1st class letters.

https://github.com/alphagov/notifications-utils/pull/533
2018-09-28 10:02:16 +01:00
Tom Byers c126859efc Lock botocore library to <1.11.0
Using version 1.11.0 or above causes an error with
the moto library where it makes real HTTP requests
instead of mocking them:

https://github.com/spulec/moto/issues/1793

Until this is resolved, botocore needs to be
locked. This copies the approach the Digital
Marketplace team took to the same problem:

https://github.com/alphagov/digitalmarketplace-utils/pull/452
2018-09-27 14:38:29 +01:00
Tom Byers 8b86257a8b Bump utils to 30.3.1
Brings in stripping of the line separator
character from emails.

https://github.com/alphagov/notifications-utils/pull/531
2018-09-26 10:23:14 +01:00
Katie Smith ae1ee85d12 Merge pull request #2049 from alphagov/pyup-update-sqlalchemy-1.2.10-to-1.2.11
Update sqlalchemy to 1.2.11
2018-09-12 11:24:28 +01:00
Chris Hill-Scott 33f1c9a41b Bump utils to start sending email preheaders
Brings in:
- [ ] https://github.com/alphagov/notifications-utils/pull/523/files

Changes: https://github.com/alphagov/notifications-utils/compare/30.1.1...email-preheader
2018-09-03 17:48:27 +01:00
Chris Hill-Scott fc337a7d5a Freeze requirements 2018-08-21 11:38:53 +01:00
Rebecca Law d055fabf17 Bump the utils requirement.
This helped with some of the dependency warnings but not all.
2018-08-20 10:33:15 +01:00
Katie Smith 85af1e7fe8 Bump utils to version 30.1.0
Bumped notifications-utils to bring in the new value for
`SMS_CHAR_COUNT_LIMIT`
2018-08-16 15:59:51 +01:00
Tom Byers a5eefe00b8 Bump utils to 29.3.6
Brings in the changes from:

https://github.com/alphagov/notifications-utils/pull/513
2018-08-13 11:48:53 +01:00
Leo Hemsted ef447931fd bump utils 2018-08-09 16:49:30 +01:00
Leo Hemsted 804f489b51 bump requirements 2018-08-09 16:47:35 +01:00
Chris Hill-Scott 1ad6984bdd Bump utils to 29.3.4
https://github.com/alphagov/notifications-utils/compare/29.3.3...bullet-for-bullet
2018-08-03 13:25:43 +01:00
Alexey Bezhan ce5bb1f762 Make pyup ignore requirements.txt
We don't want pyup.io upgrading sub-dependencies listed in the
requirements.txt file since it does it whenever a new version is
available regardless of what our application dependencies require.
2018-07-30 16:26:10 +01:00
Tom Byers d6603a0541 Brings in spacing changes to the email template 2018-07-25 15:28:23 +01:00
Chris Hill-Scott 222dc3fe95 Use debian jessie instead of stretch until npm is installed differently 2018-07-17 11:59:48 +01:00
Alexey Bezhan 75940c9566 Pin all application requirements in requirements.txt
The list of top-level dependencies is moved to requirements-app.txt,
which is used by `make freeze-requirements` to generate the full
list of requirements in requirements.txt.

This is based on alphagov/digitalmarketplace-api#615, so rationale
from that PR applies here.

We had a problem with unpinned packages on new deployments leading
to failed tests (e.g. alphagov/notifications-admin#2144) which is
why we're implementing this now.

After re-evaluating pipenv again, this still seems like the least
disruptive approach:

* pyup.io has experimental support for Pipfile, but doesn't respect
  version ranges or updating hashes in the lock file
* CloudFoundry buildpack recognizes and supports Pipfiles out of the
  box, but the support is relatively new. For example until recently
  CF would install dev packages during deployment. It's also based on
  generating a requirements file from the Pipfile, which doesn't
  properly support pinning VCS dependencies (eg it doesn't set the
  #egg= version, meaning pip will not upgrade the package if it's
  already installed).
* pipenv has a strict dependency resolution algorithm, which doesn't
  appear to be well documented and can cause some unexpected failures.
  For example, pipenv doesn't seem to be able to install `awscli-cwlogs`
  package at all, believing it to have a version conflict for `botocore`
  (which it doesn't list as a direct dependency) while neither `pip` nor
  `pip-tools` highlight any issues with it.
* While trying out `pipenv install` on our list of dependencies it would
  regularly fail to install utils with a "Will try again." message.
  While the installation succeeds after a retry, this doesn't inspire
  confidence.
* The switch to Pipfile and pipenv-managed virtualenvs requires a series
  of changes to `make` targets and scripts - replacing `pip install` with
  `pipenv`, removing references to requirements files and prefixing
  commands with `pipenv run`. While it's likely to simplify the overall
  process of managing dependencies, it would require time to properly
  implement across our applications and environments (Jenkins, PaaS,
  docker containers, and dev machines).
2018-07-10 14:59:04 +01:00
Leo Hemsted 3b5eefdd3d Merge pull request #1923 from alphagov/pyup-update-sqlalchemy-1.2.8-to-1.2.9
Update sqlalchemy to 1.2.9
2018-07-02 14:30:42 +01:00
Rebecca Law 08dcc920a2 Updated notifications-util to the latest version.
There has been an update to the email validation code.
Added an extra test for email validation.
2018-07-02 13:48:40 +01:00
pyup-bot cb0971dcce Update sqlalchemy from 1.2.8 to 1.2.9 2018-06-29 19:09:51 +01:00
Leo Hemsted 1f2f12238c Merge pull request #1909 from alphagov/pyup-update-flask-migrate-2.2.0-to-2.2.1
Update flask-migrate to 2.2.1
2018-06-26 16:07:10 +01:00
pyup-bot ffcaded795 Update flask-migrate from 2.2.0 to 2.2.1 2018-06-18 15:29:31 +01:00
pyup-bot 410040461f Update psycopg2-binary from 2.7.4 to 2.7.5 2018-06-17 19:32:28 +01:00
pyup-bot 3e3d71937a Update sqlalchemy from 1.2.7 to 1.2.8 2018-06-14 13:24:39 +01:00
Chris Hill-Scott 60ec5777be Merge pull request #1904 from alphagov/pyup-update-flask-migrate-2.1.1-to-2.2.0
Update flask-migrate to 2.2.0
2018-06-14 13:24:11 +01:00
Chris Hill-Scott 6e4ea76b73 Merge pull request #1892 from alphagov/pyup-update-marshmallow-sqlalchemy-0.13.2-to-0.14.0
Update marshmallow-sqlalchemy to 0.14.0
2018-06-14 13:23:59 +01:00
Chris Hill-Scott f88d853d3a Merge pull request #1890 from alphagov/pyup-update-pyjwt-1.6.3-to-1.6.4
Update pyjwt to 1.6.4
2018-06-14 13:23:18 +01:00
pyup-bot 6100d4df69 Update flask-migrate from 2.1.1 to 2.2.0 2018-06-13 07:59:19 +01:00
Richard Chapman 3a7fe69ef7 Merge pull request #1860 from alphagov/pyup-update-flask-0.12.2-to-1.0.2
Update flask to 1.0.2
2018-06-01 14:07:34 +01:00
Richard Chapman 32b176ccc3 Merge pull request #1862 from alphagov/pyup-update-monotonic-1.4-to-1.5
Update monotonic to 1.5
2018-06-01 14:07:24 +01:00
pyup-bot ee6bb99310 Update marshmallow-sqlalchemy from 0.13.2 to 0.14.0 2018-05-29 03:41:50 +01:00
pyup-bot 8f40766121 Update pyjwt from 1.6.3 to 1.6.4 2018-05-24 04:12:43 +01:00
Katie Smith 29a3264e9b Merge pull request #1873 from alphagov/pyup-update-eventlet-0.22.1-to-0.23.0
Update eventlet to 0.23.0
2018-05-23 12:15:47 +01:00
Katie Smith 105fcb6a67 Merge pull request #1879 from alphagov/pyup-update-pyjwt-1.6.1-to-1.6.3
Update pyjwt to 1.6.3
2018-05-23 12:15:39 +01:00
Leo Hemsted 9b7cd15586 Merge branch 'master' into pyup-update-monotonic-1.4-to-1.5 2018-05-23 09:59:00 +01:00
pyup-bot 84c3f53902 Update marshmallow from 2.15.1 to 2.15.3 2018-05-20 19:11:35 +01:00
pyup-bot 42583cbae7 Update pyjwt from 1.6.1 to 1.6.3 2018-05-19 18:27:32 +01:00
pyup-bot 5b6f6bdc93 Update eventlet from 0.22.1 to 0.23.0 2018-05-11 11:43:46 +01:00
Leo Hemsted 307fd24072 Revert "Update gunicorn to 19.8.1" 2018-05-11 10:57:04 +01:00
Rebecca Law 20129a2b14 Merge pull request #1854 from alphagov/pyup-update-gunicorn-19.7.1-to-19.8.1
Update gunicorn to 19.8.1
2018-05-10 12:01:15 +01:00
Rebecca Law b4883fdd89 Merge pull request #1836 from alphagov/pyup-update-sqlalchemy-1.2.6-to-1.2.7
Update sqlalchemy to 1.2.7
2018-05-10 12:01:01 +01:00
Rebecca Law 87161b147f Merge pull request #1805 from alphagov/pyup-update-celery-3.1.25-to-3.1.26.post2
Update celery to 3.1.26.post2
2018-05-10 12:00:47 +01:00
Chris Hill-Scott cefa253578 Remove monotonic
> On Python 3.3 or newer, monotonic will be an alias of time.monotonic
> from the standard library. On older versions, it will fall back to an
> equivalent implementation.

– https://pypi.org/project/monotonic/
2018-05-04 10:56:51 +01:00
pyup-bot 47dcef35eb Update monotonic from 1.4 to 1.5 2018-05-04 10:56:51 +01:00
pyup-bot ed2aef4ebd Update flask from 0.12.2 to 1.0.2 2018-05-02 15:50:02 +01:00
Katie Smith 6544666cd2 Merge pull request #1846 from alphagov/pyup-update-marshmallow-2.15.0-to-2.15.1
Update marshmallow to 2.15.1
2018-05-01 14:47:59 +01:00
Katie Smith 2619bc1002 Merge pull request #1843 from alphagov/pyup-update-notifications-python-client-4.8.1-to-4.8.2
Update notifications-python-client to 4.8.2
2018-05-01 14:47:48 +01:00
pyup-bot f924918d1e Update gunicorn from 19.7.1 to 19.8.1 2018-04-30 19:50:55 +01:00
Leo Hemsted 897ab93148 zendesk instead of deskpro 2018-04-27 16:36:39 +01:00
pyup-bot f7df64522a Update marshmallow from 2.15.0 to 2.15.1 2018-04-26 03:55:47 +01:00