From 1aa79eb9a6a82cec265f7859aa9ab9496768cb93 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Tue, 23 Nov 2021 11:27:12 +0000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20put=20version=20number=20in=20r?= =?UTF-8?q?equirements=20twice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s a pain having to remember to update both of them. Looks like `pip` now supports a different syntax without the `egg` bit which means a git dependency only needs the version number changing in one place. --- requirements.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.in b/requirements.in index 1626afbbb..ab93367d4 100644 --- a/requirements.in +++ b/requirements.in @@ -30,8 +30,8 @@ pyproj==3.2.1 awscli-cwlogs>=1.4,<1.5 itsdangerous==1.1.0 # pyup: <2 -git+https://github.com/alphagov/notifications-utils.git@48.0.0#egg=notifications-utils==48.0.0 -git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.8-alpha#egg=govuk-frontend-jinja==0.5.8-alpha +notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@48.0.0 +govuk-frontend-jinja @ git+https://github.com/alphagov/govuk-frontend-jinja.git@v0.5.8-alpha # cryptography 3.4+ incorporates Rust code, which isn't supported on PaaS # e.g. https://github.com/alphagov/notifications-api/pull/3126