From 096a7ffead16fc696cec61e0cc0dff4ffdeb1d5e Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 11 Jun 2025 22:42:29 -0500 Subject: [PATCH] add gunicorn and packaging dependencies to project configuration --- pyproject.toml | 1 + requirements.txt | 4 ++++ uv.lock | 23 +++++++++++++++++++++++ 3 files changed, 28 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6d1bef4..62eb1c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,7 @@ readme = "README.md" requires-python = ">=3.13" dependencies = [ "flask>=3.1.1", + "gunicorn>=23.0.0", "opencv-python>=4.11.0.86", "pillow>=11.2.1", "pillow-heif>=0.22.0", diff --git a/requirements.txt b/requirements.txt index 1ccb652..e16202a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,6 +14,8 @@ colorama==0.4.6 # via click flask==3.1.1 # via immichsmartrandom (pyproject.toml) +gunicorn==23.0.0 + # via immichsmartrandom (pyproject.toml) idna==3.10 # via requests itsdangerous==2.2.0 @@ -29,6 +31,8 @@ numpy==2.3.0 # via opencv-python opencv-python==4.11.0.86 # via immichsmartrandom (pyproject.toml) +packaging==25.0 + # via gunicorn pillow==11.2.1 # via # immichsmartrandom (pyproject.toml) diff --git a/uv.lock b/uv.lock index 9a9b688..f62895c 100644 --- a/uv.lock +++ b/uv.lock @@ -94,6 +94,18 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/3d/68/9d4508e893976286d2ead7f8f571314af6c2037af34853a30fd769c02e9d/flask-3.1.1-py3-none-any.whl", hash = "sha256:07aae2bb5eaf77993ef57e357491839f5fd9f4dc281593a81a9e4d79a24f295c", size = 103305, upload-time = "2025-05-13T15:01:15.591Z" }, ] +[[package]] +name = "gunicorn" +version = "23.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "packaging" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/34/72/9614c465dc206155d93eff0ca20d42e1e35afc533971379482de953521a4/gunicorn-23.0.0.tar.gz", hash = "sha256:f014447a0101dc57e294f6c18ca6b40227a4c90e9bdb586042628030cba004ec", size = 375031, upload-time = "2024-08-10T20:25:27.378Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/7d/6dac2a6e1eba33ee43f318edbed4ff29151a49b5d37f080aad1e6469bca4/gunicorn-23.0.0-py3-none-any.whl", hash = "sha256:ec400d38950de4dfd418cff8328b2c8faed0edb0d517d3394e457c317908ca4d", size = 85029, upload-time = "2024-08-10T20:25:24.996Z" }, +] + [[package]] name = "idna" version = "3.10" @@ -109,6 +121,7 @@ version = "0.1.0" source = { virtual = "." } dependencies = [ { name = "flask" }, + { name = "gunicorn" }, { name = "opencv-python" }, { name = "pillow" }, { name = "pillow-heif" }, @@ -122,6 +135,7 @@ dependencies = [ [package.metadata] requires-dist = [ { name = "flask", specifier = ">=3.1.1" }, + { name = "gunicorn", specifier = ">=23.0.0" }, { name = "opencv-python", specifier = ">=4.11.0.86" }, { name = "pillow", specifier = ">=11.2.1" }, { name = "pillow-heif", specifier = ">=0.22.0" }, @@ -228,6 +242,15 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/a4/7d/f1c30a92854540bf789e9cd5dde7ef49bbe63f855b85a2e6b3db8135c591/opencv_python-4.11.0.86-cp37-abi3-win_amd64.whl", hash = "sha256:085ad9b77c18853ea66283e98affefe2de8cc4c1f43eda4c100cf9b2721142ec", size = 39488044, upload-time = "2025-01-16T13:52:21.928Z" }, ] +[[package]] +name = "packaging" +version = "25.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/a1/d4/1fc4078c65507b51b96ca8f8c3ba19e6a61c8253c72794544580a7b6c24d/packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f", size = 165727, upload-time = "2025-04-19T11:48:59.673Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484", size = 66469, upload-time = "2025-04-19T11:48:57.875Z" }, +] + [[package]] name = "pillow" version = "11.2.1"