From 8db003ba182d7510a0ba4b7f041a3a6401f55588 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 20 Sep 2026 17:21:41 +0300 Subject: [PATCH] fix(deps): mark the grpcio floor and raise modern-di's grpcio ships no cp314 wheel before 1.75.1, so the declared floor resolved to an sdist that cannot build on 3.14. Marked rather than raised, since 1.48 is fine below that. modern-di >=3 resolves to 3.0.0, where the container is already closed when the servicer resolves from it; 3.1.0 is the first release that works. Closes #26 --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index dfd5986..4e0b92e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,13 @@ classifiers = [ "Typing :: Typed", "Topic :: Software Development :: Libraries", ] -dependencies = ["grpcio>=1.48,<2", "modern-di>=3,<4"] +dependencies = [ + # grpcio ships no cp314 wheel before 1.75.1, so a resolver picks an sdist that cannot build + # rather than reporting a conflict. + "grpcio>=1.48,<2; python_version < '3.14'", + "grpcio>=1.75.1,<2; python_version >= '3.14'", + "modern-di>=3.1,<4", +] version = "0" [project.urls]