Skip to content

Commit 3a0e1ad

Browse files
committed
chore(deps): update openYuanRong to 0.10.1rc4
Advance the control-plane, RRT, and default sandbox SDK dependency to the 0.10.1rc4 release so AKernel consumes the merged network ACL support. Document the actor-based openyuanrong-sdk backend as deprecated and keep its legacy version pins unchanged for compatibility with existing applications. Signed-off-by: Tianyu Zhou <albert.zty@antgroup.com>
1 parent 45021eb commit 3a0e1ad

6 files changed

Lines changed: 29 additions & 20 deletions

File tree

‎AGENTS.md‎

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,10 @@ node components and produces the AKernel all-in-one image using the selected
124124
runtime image and its matching service configuration.
125125

126126
The control-plane and RRT release version is independent of the optional
127-
actor-based `openyuanrong_sdk` installed in the Python runtime profile. Keep
128-
the latter on its explicitly pinned legacy version unless that backend is
129-
being upgraded and tested as a separate compatibility change.
127+
actor-based `openyuanrong_sdk` installed in the Python runtime profile. This
128+
actor backend is deprecated and retained only for compatibility with existing
129+
applications. Keep it on its explicitly pinned legacy version; do not advance
130+
it with the default `openyuanrong-sandbox` backend or use it for new features.
130131

131132
Initialize submodules with `git submodule update --init --recursive` before
132133
building. The all-in-one image builds the sandboxd binaries, including
@@ -445,14 +446,16 @@ make sdk-check
445446
```
446447

447448
The Python SDK installs `openyuanrong-sandbox` as its default execution
448-
backend. The actor-based `openyuanrong-sdk` backend is available through the
449-
`openyuanrong-sdk` extra. Installing that extra leaves both distributions
450-
present, so `openyuanrong-sandbox` remains the automatic default unless
451-
`AKERNEL_BACKEND=openyuanrong-sdk` is set before import. Backend selection
452-
happens once during import and backend modules are loaded lazily on first use.
453-
Keep public `Sandbox`, `Commands`, `Filesystem`, and value types independent
454-
of both native packages; all native conversions belong under
455-
`akernel_sdk._backends`.
449+
backend. The actor-based `openyuanrong-sdk` backend is deprecated and retained
450+
only for compatibility with existing applications through the
451+
`openyuanrong-sdk` extra. Do not update its pinned legacy version alongside
452+
the default backend or extend it with new capabilities. Installing that extra
453+
leaves both distributions present, so `openyuanrong-sandbox` remains the
454+
automatic default unless `AKERNEL_BACKEND=openyuanrong-sdk` is set before
455+
import. Backend selection happens once during import and backend modules are
456+
loaded lazily on first use. Keep public `Sandbox`, `Commands`, `Filesystem`,
457+
and value types independent of both native packages; all native conversions
458+
belong under `akernel_sdk._backends`.
456459

457460
Dockerfile direct launch is a supported AKernel SDK capability through
458461
`DockerContext` and

‎README.md‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,15 @@ python -m pip install akernel-sdk
119119
# Source
120120
python -m pip install ./sdk/python
121121

122-
# Also install the actor backend
122+
# Also install the deprecated actor compatibility backend
123123
python -m pip install "akernel-sdk[openyuanrong-sdk]"
124124
```
125125

126-
When the actor extra is installed, both backend packages are present and
127-
`openyuanrong-sandbox` remains the automatic default. Set
126+
The actor-based `openyuanrong-sdk` backend is deprecated and retained only for
127+
compatibility with existing applications. New applications should use the
128+
default `openyuanrong-sandbox` backend. When the actor extra is installed,
129+
both backend packages are present and `openyuanrong-sandbox` remains the
130+
automatic default. Set
128131
`AKERNEL_BACKEND=openyuanrong-sdk` before importing `akernel_sdk` to select
129132
the actor backend:
130133

‎builder/node.Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARG AKERNEL_ENABLE_RUNC=false
1010
ARG AKERNEL_ENABLE_FIRECRACKER=true
1111
ARG SANDBOXD_BUILD_IMAGE=golang:1.25.5-bookworm
1212
ARG DISTILL_FS_BUILD_IMAGE=rust:1.85.0-bookworm
13-
ARG OPEN_YR_VERSION=0.10.1rc3
13+
ARG OPEN_YR_VERSION=0.10.1rc4
1414
ARG OPEN_YR_CORE_WHEEL_URL=
1515
ARG OPEN_YR_CORE_WHEEL_SHA256=
1616
ARG OPEN_YR_RELEASE_BASE_URL=https://openyuanrong.obs.cn-southwest-2.myhuaweicloud.com/release

‎builder/runtime.Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ARG PYTHON_311_VERSION=3.11.13
99
ARG PYTHON_312_VERSION=3.12.11
1010
ARG PYTHON_313_VERSION=3.13.5
1111
ARG PYTHON_314_VERSION=3.14.6
12-
ARG OPEN_YR_VERSION=0.10.1rc3
12+
ARG OPEN_YR_VERSION=0.10.1rc4
1313
ARG OPEN_YR_LEGACY_SDK_VERSION=0.9.9
1414

1515
FROM ${AKERNEL_RUNTIME_BASE_IMAGE} AS rrt-download

‎sdk/python/README.md‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ PTYs, port forwarding, and reverse tunnels.
77
It supports two backends:
88

99
- `openyuanrong-sandbox` (default), using a RESTful API and Rust runtime.
10-
- `openyuanrong-sdk` (legacy), using YuanRong actors and a Python runtime.
10+
- `openyuanrong-sdk` (deprecated compatibility backend), using YuanRong actors
11+
and a Python runtime.
1112

1213
## Navigation
1314

@@ -62,8 +63,10 @@ Address behavior is deterministic:
6263
scheme uses HTTP/WS. Exec and file transfer continue to use
6364
`AKERNEL_SERVER_ADDRESS`.
6465

65-
The legacy actor backend is optional. Install and select it before importing
66-
`akernel_sdk`:
66+
The actor-based `openyuanrong-sdk` backend is deprecated and retained only for
67+
compatibility with existing applications. New applications should use
68+
`openyuanrong-sandbox`. If compatibility requires the actor backend, install
69+
and select it before importing `akernel_sdk`:
6770

6871
```bash
6972
pip install "akernel-sdk[openyuanrong-sdk]"

‎sdk/python/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ classifiers = [
2929
]
3030
dependencies = [
3131
"idna>=3,<4",
32-
"openyuanrong-sandbox==0.10.1rc3",
32+
"openyuanrong-sandbox==0.10.1rc4",
3333
"websockets>=10.0",
3434
"dockerfile-parse>=2.0.1",
3535
]

0 commit comments

Comments
 (0)