Skip to content

Commit 2c66e74

Browse files
authored
chore(python): lower minimum supported Python to 3.11 (ai-openshell/openshell#2247)
Debian 12 stable and other LTS environments ship Python 3.11 as the system interpreter. The SDK is pure Python with a bundled native binary, uses no 3.12-only syntax or stdlib APIs, and all dependencies support 3.11. Lower the floor so `pip install openshell` / `uv add openshell` works on 3.11 (security-supported until Oct 2027). Verified with py_compile on CPython 3.11.15 plus ruff and ty. Signed-off-by: Max Dubrinsky <mdubrinsky@nvidia.com>
1 parent 79d81b9 commit 2c66e74

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎pyproject.toml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "OpenShell is the safe, private runtime for autonomous AI agents.
1212
license = "Apache-2.0"
1313
readme = "README.md"
1414
authors = [{ name = "NVIDIA Inc." }]
15-
requires-python = ">=3.12"
15+
requires-python = ">=3.11"
1616
dependencies = [
1717
"cloudpickle>=3.0",
1818
"grpcio>=1.60",
@@ -25,6 +25,7 @@ classifiers = [
2525
"Intended Audience :: Science/Research",
2626
"Intended Audience :: Information Technology",
2727
"Programming Language :: Python :: 3",
28+
"Programming Language :: Python :: 3.11",
2829
"Programming Language :: Python :: 3.12",
2930
"Programming Language :: Python :: 3.13",
3031
"Programming Language :: Python :: 3.14",
@@ -79,7 +80,7 @@ include = [
7980
]
8081

8182
[tool.ruff]
82-
target-version = "py312"
83+
target-version = "py311"
8384
line-length = 88
8485
exclude = ["python/openshell/_proto"]
8586

0 commit comments

Comments
 (0)