From defc239e3286f66cc6724a098406a08e7b4a58ab Mon Sep 17 00:00:00 2001 From: Vosjedev Date: Mon, 27 Oct 2025 12:43:11 +0100 Subject: Allow python 3.12 again, force cheroot<11.0.0 to avoid cherrypy bug 2070 see https://github.com/cherrypy/cherrypy/issues/2070, which links a cheroot bug (https://github.com/cherrypy/cheroot/issues/769). this bug makes the server hang instead of shutting down cleanly, waiting for a specific thread. forcing cheroot to below the affected versions until fixed. --- poetry.lock | 14 +++++++------- pyproject.toml | 5 +++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/poetry.lock b/poetry.lock index 47acd2d..f52a101 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. [[package]] name = "autocommand" @@ -14,14 +14,14 @@ files = [ [[package]] name = "cheroot" -version = "11.0.0" +version = "10.0.1" description = "Highly-optimized, pure-python HTTP server" optional = false -python-versions = ">=3.8" +python-versions = ">=3.6" groups = ["main"] files = [ - {file = "cheroot-11.0.0-py3-none-any.whl", hash = "sha256:0e3aea62026b5e70df6e63259e345bdcff404daf4b8a11204f46d4234959fccd"}, - {file = "cheroot-11.0.0.tar.gz", hash = "sha256:dd414eda6bdb15140e864bc1d1c9625030375d14cbe0b290092867368924a52f"}, + {file = "cheroot-10.0.1-py3-none-any.whl", hash = "sha256:6ea332f20bfcede14e66174d112b30e9807492320d737ca628badc924d997595"}, + {file = "cheroot-10.0.1.tar.gz", hash = "sha256:e0b82f797658d26b8613ec8eb563c3b08e6bd6a7921e9d5089bd1175ad1b1740"}, ] [package.dependencies] @@ -283,5 +283,5 @@ test = ["zope.testing"] [metadata] lock-version = "2.1" -python-versions = ">=3.13" -content-hash = "5dd65eb03a1d12b007afc5fbff2f3e93d689e256eae265381df5a14d39b45f59" +python-versions = ">=3.12" +content-hash = "f957061e35a157368198b9fd004c020b8580eac18ceb55974ed23a351437e295" diff --git a/pyproject.toml b/pyproject.toml index f5d019f..5e70249 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,10 +6,11 @@ authors = [ {name = "vosjedev",email = "vosje+git@vosjedev.net"} ] readme = "README.md" -requires-python = ">=3.13" +requires-python = ">=3.12" dependencies = [ "cherrypy (>=18.10.0,<19.0.0)", - "imap-tools (>=1.11.0,<2.0.0)" + "imap-tools (>=1.11.0,<2.0.0)", + "cheroot (<11.0.0)" ] [tool.poetry] -- cgit