From fd103b628a6a8132f083876c3111e5d166989c8f Mon Sep 17 00:00:00 2001 From: Trey <73353716+TreyWW@users.noreply.github.com> Date: Thu, 19 Sep 2024 21:02:48 +0100 Subject: [PATCH] fix: removed unused python dependencies (#494) Signed-off-by: Trey <73353716+TreyWW@users.noreply.github.com> --- poetry.lock | 69 +------------------------------------------------- pyproject.toml | 13 ++++------ 2 files changed, 6 insertions(+), 76 deletions(-) diff --git a/poetry.lock b/poetry.lock index 488b2d5e..b32bd623 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1250,22 +1250,6 @@ files = [ {file = "django_ratelimit-4.1.0-py2.py3-none-any.whl", hash = "sha256:d047a31cf94d83ef1465d7543ca66c6fc16695559b5f8d814d1b51df15110b92"}, ] -[[package]] -name = "django-sendgrid-v5" -version = "1.2.3" -description = "An implementation of Django's EmailBackend compatible with sendgrid-python v5+" -optional = false -python-versions = "*" -files = [ - {file = "django-sendgrid-v5-1.2.3.tar.gz", hash = "sha256:3887aafbb10d5b808efc2c1031dcd96fd357d542eb5affe38fef07cc0f3cfae9"}, - {file = "django_sendgrid_v5-1.2.3-py2.py3-none-any.whl", hash = "sha256:2d2fa8a085d21c95e5f97fc60b61f199ccc57a27df8da90cd3f29a5702346dc6"}, -] - -[package.dependencies] -django = ">=1.8" -python-http-client = ">=3.0.0" -sendgrid = ">=5.0.0" - [[package]] name = "django-silk" version = "5.2.0" @@ -3205,17 +3189,6 @@ files = [ [package.extras] cli = ["click (>=5.0)"] -[[package]] -name = "python-http-client" -version = "3.3.7" -description = "HTTP REST client, simplified for Python" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "python_http_client-3.3.7-py3-none-any.whl", hash = "sha256:ad371d2bbedc6ea15c26179c6222a78bc9308d272435ddf1d5c84f068f249a36"}, - {file = "python_http_client-3.3.7.tar.gz", hash = "sha256:bf841ee45262747e00dec7ee9971dfb8c7d83083f5713596488d67739170cea0"}, -] - [[package]] name = "python-memcached" version = "1.62" @@ -3604,21 +3577,6 @@ botocore = ">=1.33.2,<2.0a.0" [package.extras] crt = ["botocore[crt] (>=1.33.2,<2.0a.0)"] -[[package]] -name = "sample-helper-aws-appconfig" -version = "2.1.2" -description = "Sample helper library for AWS AppConfig" -optional = false -python-versions = "<4.0,>=3.7" -files = [ - {file = "sample_helper_aws_appconfig-2.1.2.tar.gz", hash = "sha256:4baffe59c17d3d675235f98d6d6e3f813ce468685672bcfd045812decadd7519"}, -] - -[package.dependencies] -boto3 = ">=1.20.8,<2.0.0" -botocore = ">=1.23.8,<2.0.0" -PyYAML = ">=6.0,<7.0" - [[package]] name = "semver" version = "2.13.0" @@ -3630,21 +3588,6 @@ files = [ {file = "semver-2.13.0.tar.gz", hash = "sha256:fa0fe2722ee1c3f57eac478820c3a5ae2f624af8264cbdf9000c980ff7f75e3f"}, ] -[[package]] -name = "sendgrid" -version = "6.11.0" -description = "Twilio SendGrid library for Python" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -files = [ - {file = "sendgrid-6.11.0-py3-none-any.whl", hash = "sha256:43ecf5bb742ea5850c7cfe68f5e7d9948772352306d4e83e119899959538b884"}, - {file = "sendgrid-6.11.0.tar.gz", hash = "sha256:71424b2a97f5a034121ea3b2666c653ba0ed315982f0d57b7851c0c9503dc5ab"}, -] - -[package.dependencies] -python-http-client = ">=3.2.1" -starkbank-ecdsa = ">=2.0.1" - [[package]] name = "setuptools" version = "70.3.0" @@ -3749,16 +3692,6 @@ files = [ dev = ["build", "hatch"] doc = ["sphinx"] -[[package]] -name = "starkbank-ecdsa" -version = "2.2.0" -description = "A lightweight and fast pure python ECDSA library" -optional = false -python-versions = "*" -files = [ - {file = "starkbank-ecdsa-2.2.0.tar.gz", hash = "sha256:9399c3371b899d4a235b68a1ed7919d202fbf024bd2c863ae8ebdad343c2a63a"}, -] - [[package]] name = "stripe" version = "10.8.0" @@ -4254,4 +4187,4 @@ test = ["coverage (>=5.3)", "tomli (>=2.0.1)", "tox"] [metadata] lock-version = "2.0" python-versions = ">=3.10,<4.0" -content-hash = "f564616770f9983157538a4d90fc7abad509c599f04d0443beb7183daeeab32d" +content-hash = "b2ff7bf90f3e526b9276f3b118b3a6a63267a38daa6f5202f933ea306401d173" diff --git a/pyproject.toml b/pyproject.toml index 143fc201..e47eb412 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,15 +7,13 @@ readme = "README.md" [tool.poetry.dependencies] python = ">=3.10,<4.0" -bleach = "6.1.0" -oauthlib = "3.2.2" -boto3 = "1.34.76" -django-storages = "1.14.2" -pillow = "10.3.0" -tblib = "^3.0.0" +bleach = "6.1.0" # used for HTML sanitation +boto3 = "1.34.76" # AWS +django-storages = "1.14.2" # AWS S3 +pillow = "10.3.0" # Images +tblib = "^3.0.0" # Exceptions and Tracebacks django = "^5.0.7" django-mathfilters = "^1.0.0" -sample-helper-aws-appconfig = "^2.1.0" redis = { extras = ["hiredis"], version = "^5.0.1" } django-webpack-loader = "^3.1.0" django-silk = "^5.1.0" @@ -56,7 +54,6 @@ types-six = "^1.16.21.20240513" Django = "^5.0.7" gunicorn = "22.0.0" social-auth-app-django = "5.4.1" -django-sendgrid-v5 = "1.2.3" django-environ = "0.11.2" django-extensions = "3.2.3" python-dateutil = "2.9.0"