From 43bb4795aaef6e1acfe238781dabdbae89cc085c Mon Sep 17 00:00:00 2001 From: Joongi Kim Date: Fri, 27 May 2022 03:21:50 +0000 Subject: [PATCH] Let it build packages for only Python 3.10 * Without the upper bound, it tries to use Python 3.11 and aiohttp fails to build. (aio-libs/aiohttp#6600) --- pants.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pants.toml b/pants.toml index be4ca844ab..6c390138ee 100644 --- a/pants.toml +++ b/pants.toml @@ -31,7 +31,7 @@ root_patterns = [ [python] enable_resolves = true resolves = { python-default = "python.lock" } -interpreter_constraints = ["CPython>=3.10"] +interpreter_constraints = ["CPython>=3.10,<3.11"] lockfile_generator = "pex" # [setup-py-generation]