Personal AI, On Personal Devices
Python
fix(packaging): cap requires-python to <3.14 for Windows numpy wheels (#432)
Jon Saad-Falconf1b0df6b6b24
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 78ec2057..cdc09d78 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -90,13 +90,20 @@ jobs:# interpolation), so there is no workflow-injection surface here.test-windows:runs-on: windows-latest+ strategy:+ fail-fast: false+ matrix:+ # 3.12 = common; 3.13 = the supported ceiling — installing there guards+ # against a numpy/native wheel gap at the top of the range (#350), which+ # is exactly how the source-build failure slips in on Windows.+ python-version: ["3.12", "3.13"]steps:- uses: actions/checkout@v6- name: Set up Pythonuses: actions/setup-python@v6with:- python-version: "3.12"+ python-version: ${{ matrix.python-version }}- name: Install uvuses: astral-sh/[email protected]diff --git a/docs/downloads.md b/docs/downloads.mdindex 084874de..3952d9ab 100644--- a/docs/downloads.md+++ b/docs/downloads.md@@ -94,7 +94,7 @@ cd OpenJarvisThe script handles everything:-1. Checks for Python 3.10+ and Node.js 18++1. Checks for Python 3.10–3.13 and Node.js 18+2. Installs Ollama if not present and pulls a starter model3. Installs Python and frontend dependencies4. Starts the backend API server and frontend dev serverdiff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.mdindex 619ea2bf..7d702335 100644--- a/docs/getting-started/installation.md+++ b/docs/getting-started/installation.md@@ -238,7 +238,7 @@ See the [Python SDK guide](../user-guide/python-sdk.md) for the full API referen| Requirement | Version | Install | Notes ||-------------|---------|---------|-------|-| Python | 3.10+ | [python.org](https://www.python.org/downloads/) | Required |+| Python | 3.10–3.13 | [python.org](https://www.python.org/downloads/) | Required. 3.14+ not yet supported (a core dependency lacks 3.14 wheels). || uv | latest | `curl -LsSf https://astral.sh/uv/install.sh \| sh` or `brew install uv` (macOS) | Python package & project manager || Git | any | [git-scm.com](https://git-scm.com/) or `brew install git` (macOS) | Required || Rust | stable | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \| sh` | Required for the Rust extension |diff --git a/pyproject.toml b/pyproject.tomlindex 7041e8cc..b35c38de 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -7,7 +7,11 @@ name = "OpenJarvis"version = "0.1.1"description = "OpenJarvis — modular AI assistant backend with composable intelligence primitives"readme = "README.md"-requires-python = ">=3.10"+# Upper bound: numpy 2.2.x (pinned transitively via datasets/pandas) ships no+# cp314 Windows wheel, so under Python 3.14 uv would compile numpy from source+# (Meson) and fail on Windows boxes without a C toolchain (#350). Cap to the+# range that has prebuilt wheels; matches the classifiers (3.10–3.13).+requires-python = ">=3.10,<3.14"license = {text = "Apache-2.0"}authors = [{name = "Open Jarvis Contributors"},