From 23a9f870f9b91b3cc5db563c8c16c48e81075b73 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Mon, 10 Aug 2026 18:45:08 +0530 Subject: [PATCH] chore: pin httputils 0.4.1 alongside chronos 4.2.2 httputils 0.5.0 changed HttpCode such that chronos 4.2.2's httpclient no longer compiles ('selector must be of an ordinal type' at httpclient.nim:934). Pin the pair the June green image resolved. --- logos_delivery.nimble | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/logos_delivery.nimble b/logos_delivery.nimble index e41f916ab..f12850d37 100644 --- a/logos_delivery.nimble +++ b/logos_delivery.nimble @@ -17,11 +17,14 @@ const RequiredNimbleVersion = "0.22.3" ### Dependencies requires "nim >= 2.2.4", - # chronos pinned: 4.4.0's stricter effect checking rejects the waitFor in - # rest_api/endpoint/relay/handlers.nim:191 (NestedPoll). 4.2.2 is what the - # last green docker image (PR #3807, Jun 2026) was built with. Unpin once - # the handler is fixed for chronos >= 4.4. + # chronos + httputils pinned to the versions the last green docker image + # (PR #3807, Jun 2026) resolved. Floating deps broke both directions: + # chronos 4.4.0 rejects the waitFor in rest_api relay handlers.nim:191 + # (NestedPoll effect), while httputils 0.5.0 changes HttpCode so that + # chronos <= 4.2.x no longer compiles (case selector not ordinal). + # Unpin together once the relay handler is fixed for chronos >= 4.4. "chronos == 4.2.2", + "httputils == 0.4.1", "taskpools", # Logging & Configuration "chronicles",