From 7dfd77b0dfc0e23d31e40893d0c3045725e22dcf Mon Sep 17 00:00:00 2001 From: "Y.D.X." <73375426+YDX-2147483647@users.noreply.github.com> Date: Fri, 2 Aug 2024 00:34:55 +0800 Subject: [PATCH] chore: Upgrade gunicorn for 21 to 22 https://docs.gunicorn.org/en/stable/news.html#id1 --- poetry.lock | 13 +++++++------ pyproject.toml | 2 +- requirements.txt | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/poetry.lock b/poetry.lock index ab974c2..3aea7ee 100644 --- a/poetry.lock +++ b/poetry.lock @@ -477,22 +477,23 @@ reference = "tuna" [[package]] name = "gunicorn" -version = "21.2.0" +version = "22.0.0" description = "WSGI HTTP Server for UNIX" optional = false -python-versions = ">=3.5" +python-versions = ">=3.7" files = [ - {file = "gunicorn-21.2.0-py3-none-any.whl", hash = "sha256:3213aa5e8c24949e792bcacfc176fef362e7aac80b76c56f6b5122bf350722f0"}, - {file = "gunicorn-21.2.0.tar.gz", hash = "sha256:88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033"}, + {file = "gunicorn-22.0.0-py3-none-any.whl", hash = "sha256:350679f91b24062c86e386e198a15438d53a7a8207235a78ba1b53df4c4378d9"}, + {file = "gunicorn-22.0.0.tar.gz", hash = "sha256:4a0b436239ff76fb33f11c07a16482c521a7e09c1ce3cc293c2330afe01bec63"}, ] [package.dependencies] packaging = "*" [package.extras] -eventlet = ["eventlet (>=0.24.1)"] +eventlet = ["eventlet (>=0.24.1,!=0.36.0)"] gevent = ["gevent (>=1.4.0)"] setproctitle = ["setproctitle"] +testing = ["coverage", "eventlet", "gevent", "pytest", "pytest-cov"] tornado = ["tornado (>=0.2)"] [package.source] @@ -1446,4 +1447,4 @@ reference = "tuna" [metadata] lock-version = "2.0" python-versions = "^3.12" -content-hash = "e1f83bd4de1eca2be1b09c8b814ccdaaf8bd2d4875440dcb3fe1ead7cf0e7852" +content-hash = "cd02035c745cbf3423326d693cd9aa6710c115cdadd78c1273a7e3eb6bffc31f" diff --git a/pyproject.toml b/pyproject.toml index 855bd61..97bf536 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,7 +25,7 @@ django-tailwind = { extras = ["reload"], version = "^3.6.0" } django-debug-toolbar = "^4.1.0" [tool.poetry.group.deploy.dependencies] -gunicorn = "^21.2.0" +gunicorn = "^22.0.0" uvicorn = "^0.23.2" [tool.poetry.group.coverage] diff --git a/requirements.txt b/requirements.txt index 3aee5f3..89ca9bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ colorama==0.4.6 django-cas-ng==4.3.0 django-tailwind==3.8.0 django==4.2.14 -gunicorn==21.2.0 +gunicorn==22.0.0 h11==0.14.0 humanize==4.10.0 idna==3.7