From ccf91e9abc7e80593d024d0175b9b05934d011ea Mon Sep 17 00:00:00 2001 From: Transaction Science Date: Thu, 29 Oct 2026 08:15:29 -0400 Subject: [PATCH] wai-quantum for Python: installed from the Python Package Index wai-quantum 0.1.0 is on the Python Package Index: the five wheels of the wai-quantum-cli-v0.2.2 release (macOS arm64 and x86_64, manylinux arm64 and x86_64, Windows x86_64), each matching its published .sha256 and checked by twine. A fresh Python 3.9 environment installed it from the index and passed tests/smoke.py. The README (and its translation) said the package was not on a public index: it now installs with `pip install wai-quantum` (and `[widgets]`), with the release's wheels as the other way. The docs check passes both pages, the Python blocks run against the installed package. Co-Authored-By: Claude Opus 5.5 --- wai/wai-quantum-py/README.md | 12 +++++++++--- wai/wai-quantum-py/README.zh-CN.md | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/wai/wai-quantum-py/README.md b/wai/wai-quantum-py/README.md index 75e133401..845844280 100644 --- a/wai/wai-quantum-py/README.md +++ b/wai/wai-quantum-py/README.md @@ -9,11 +9,17 @@ WAI Quantum from Python and notebooks, in-process. The package carries the WAI Q ## Install -The package is **not on a public package index yet**. Install a wheel built from this repository, or one attached to a `wai-quantum-cli-v` release on the forge. One wheel per platform serves every Python from 3.9 on (the stable ABI, `abi3`): macOS arm64 and x86_64, Linux x86_64 and arm64 (manylinux 2.17), Windows x86_64. +From the Python Package Index. One wheel per platform serves every Python from 3.9 on (the stable ABI, `abi3`): macOS arm64 and x86_64, Linux x86_64 and arm64 (manylinux 2.17), Windows x86_64. ```sh norun=install -pip install wai_quantum-0.1.0-cp39-abi3-.whl # the engine and the service client: no other dependency -pip install "wai_quantum-0.1.0-cp39-abi3-.whl[widgets]" # and the notebook widgets (anywidget) +pip install wai-quantum # the engine and the service client: no other dependency +pip install "wai-quantum[widgets]" # and the notebook widgets (anywidget) +``` + +The same wheels are attached, each with its SHA-256, to the `wai-quantum-cli-v` release on the forge that carries them: + +```sh norun=install +pip install wai_quantum-0.1.0-cp39-abi3-.whl ``` To build the wheel yourself, with Rust 1.98 and maturin 1.15.0: diff --git a/wai/wai-quantum-py/README.zh-CN.md b/wai/wai-quantum-py/README.zh-CN.md index 4e8326871..391e11771 100644 --- a/wai/wai-quantum-py/README.zh-CN.md +++ b/wai/wai-quantum-py/README.zh-CN.md @@ -13,11 +13,17 @@ ## 安装 -这个包**尚未发布到公共包索引**。请安装从本仓库构建的 wheel,或者代码托管平台(forge)上 `wai-quantum-cli-v` 发布版所附的 wheel。每个平台一个 wheel,适用于 3.9 及以后的所有 Python 版本(稳定 ABI,`abi3`):macOS arm64 和 x86_64、Linux x86_64 和 arm64(manylinux 2.17)、Windows x86_64。 +从 Python 包索引安装。每个平台一个 wheel,适用于 3.9 及以后的所有 Python 版本(稳定 ABI,`abi3`):macOS arm64 和 x86_64、Linux x86_64 和 arm64(manylinux 2.17)、Windows x86_64。 ```sh norun=install -pip install wai_quantum-0.1.0-cp39-abi3-.whl # 引擎和作业服务客户端:没有其他依赖 -pip install "wai_quantum-0.1.0-cp39-abi3-.whl[widgets]" # 另加笔记本小组件(anywidget) +pip install wai-quantum # 引擎和作业服务客户端:没有其他依赖 +pip install "wai-quantum[widgets]" # 另加笔记本小组件(anywidget) +``` + +同样的 wheel 也附在代码托管平台(forge)上包含它们的 `wai-quantum-cli-v` 发布版中,每个都附有 SHA-256: + +```sh norun=install +pip install wai_quantum-0.1.0-cp39-abi3-.whl ``` 要自己构建 wheel,需要 Rust 1.98 和 maturin 1.15.0: -- 2.54.0 (Apple Git-157)