From 53859417116984d05c6f35fe3ce4f59e37b96a65 Mon Sep 17 00:00:00 2001 From: yashb98 Date: Sun, 2 Aug 2026 20:15:06 +0100 Subject: [PATCH] Add requires-python >=3.10 to pyproject.toml Without it, pip resolves and installs liger-kernel on any interpreter, so users on unsupported Pythons get runtime failures instead of a clean resolver message. The floor matches the project's CI: every test and release workflow runs Python 3.10. Fixes #1302 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 489121dd7..925ddec29 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,7 @@ description = "Efficient Triton kernels for LLM Training" urls = { "Homepage" = "https://github.com/linkedin/Liger-Kernel" } readme = { file = "README.md", content-type = "text/markdown" } license = { file = "LICENSE" } +requires-python = ">=3.10" dynamic = ["dependencies", "optional-dependencies"] [tool.setuptools]