From 8d3eedd88eb1a67614d3efa7b4dfc3eb85625ce7 Mon Sep 17 00:00:00 2001 From: Katie Smith Date: Wed, 6 Apr 2022 08:54:57 +0100 Subject: [PATCH] Remove importlib-metadata from requirements file This was pinned in https://github.com/alphagov/notifications-admin/commit/ee3fb2f175724d304fba9b90aba24890c4de1147 to prevent version conflicts. It only seems to be required by packages when the version of Python is 3.8 or lower (e.g. https://github.com/PyCQA/flake8/blob/21d3c70d676007470908d39b73f0521d39b3b997/docs/source/release-notes/3.8.0.rst#new-dependency-information), so is now not required anyway. --- requirements.in | 1 - requirements.txt | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/requirements.in b/requirements.in index a37f6e989..9fdd227b3 100644 --- a/requirements.in +++ b/requirements.in @@ -23,7 +23,6 @@ git+https://github.com/benoitc/gunicorn.git@1299ea9e967a61ae2edebe191082fd169b86 notifications-python-client==6.3.0 rtreelib==0.2.0 fido2==0.9.3 -importlib-metadata==4.2.0 pyproj==3.2.1 # PaaS diff --git a/requirements.txt b/requirements.txt index 851242113..94328ad7c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with python 3.10 +# This file is autogenerated by pip-compile with python 3.9 # To update, run: # # pip-compile requirements.in @@ -87,8 +87,6 @@ humanize==4.0.0 # via -r requirements.in idna==2.10 # via requests -importlib-metadata==4.2.0 - # via -r requirements.in itsdangerous==1.1.0 # via # -r requirements.in @@ -121,7 +119,7 @@ mistune==0.8.4 # via notifications-utils notifications-python-client==6.3.0 # via -r requirements.in -notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@55.1.0 +notifications-utils @ git+https://github.com/alphagov/notifications-utils.git@55.1.1 # via -r requirements.in openpyxl==3.0.7 # via pyexcel-xlsx @@ -229,8 +227,6 @@ xlrd==1.2.0 # via pyexcel-xls xlwt==1.3.0 # via pyexcel-xls -zipp==3.5.0 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools