Skip to content

chore: bump libcvc to 3.7.10 - #1022

Merged
transfix merged 1 commit into
masterfrom
chore/bump-3.7.10
Nov 4, 2026
Merged

transfix merged 1 commit into
masterfrom
chore/bump-3.7.10

Conversation

@transfix

@transfix transfix commented Nov 4, 2026

Copy link
Copy Markdown
Owner

This bumps the project version and every recipe's upstream_version from 3.7.9 to 3.7.10 (22 files), as #1015 did for 3.7.9. arisrv is in the list for the first time. Every recipe is already at cvc_revision: 1. The two "reset to 1" comments in arigl-web and libcvc-examples-web now name 3.7.10.

Why

#1016 made arisrv its own cvcpkg package, but v3.7.9 was tagged before #1016 merged. So arisrv is not on the catalog yet (/v1/packages/arisrv lists nothing). The v3.7.10 tag on this bump's squash commit publishes it for linux x86_64/arm64, macOS and Windows. A relay host can then run cvcpkg install arisrv instead of building the whole tree.

Since v3.7.9

Any PR that merges before this one also ships in 3.7.10. Open now with CI running: #1019 (GCC 15 includes), #1020 (pycvc-gl wasm host -fexceptions, the v3.7.9 publish failure), #1021 (component library in the native bundles, grpc:// hostnames on Windows).

Checked

  • ci.yml's "recipes match CMakeLists version" rule, run locally: all 21 recipes say 3.7.10.
  • git grep 3.7.9 over cvcpkg/, CMakeLists.txt and .github/ finds nothing left.

Bumps the project version and every recipe's upstream_version from 3.7.9 to 3.7.10, arisrv's included. The v3.7.10 tag on this commit is the first release that publishes the arisrv package.
@transfix
transfix merged commit ad139e1 into master Nov 4, 2026
27 checks passed
@transfix
transfix deleted the chore/bump-3.7.10 branch November 4, 2026 15:13
transfix added a commit that referenced this pull request Nov 5, 2026
* pycvc_gl.ariadne: a Python host for Ariadne documents

Host functions with arguments and a value (AppRuntime::register_function / register_async_function; pycvc.host_function from Python), a GL-free host (pycvc.AriApp), and pycvc_gl.ariadne.Host over AriRuntime or AriApp: data in (values, trees, tables, series, pictures, streams), data out (get, watch, frames), and the document's calls into Python.

The GIL: AriRuntime's frame/render/step/run/load/wait_idle and its destructor, AriApp's, and cvc::app's destructor release it, so an async Python function finishes while frames run, under run(), and at teardown (del app with a call in flight deadlocked). A frame entered from inside one raises.

Examples (hello, data_feed, form, nav) in examples/ariadne/python, tests pycvc_ariadne, pycvc_gl_ariadne_host and pycvc_gl_ariadne_gil, and docs/ARIADNE.md 9.3 Writing a Python host.

* Python host: nav example on Austin with Humvees and a plant pick; host-function C++ tests

examples/ariadne/python/nav.py drives Humvees on a sim_world through Austin when its bundle is installed (a block city otherwise): true-scale models, routes planned for their turning radius, Jolt or kinematic plant, chase or overview camera, map picture, terrain_lab's soft afternoon look.

pycvc.nav_world_rasterize (cvc::nav::rasterize, no VTK), nav_plant(ground=field), pycvc_gl.scenes.find_scene / find_vehicle_model, pycvc_gl.vehicle.VehicleModel / seat_transform / body_transform. AriadneHostVerbs tests for register_function and register_async_function.

* nav.py: the grade in the navigator and off the routes

The terrain's height at each grid sample (nav_world_rasterize) goes to the navigator with the Humvee's terrain_config_of (nav_sim_world_set_terrain), and the routes keep off the slopes nav_terrain_build marks infeasible. On Austin's relief (--relief) that halves the Jolt rollovers (8 -> 4 of 16 in 96 s); the rest are cornering on 10-25 degree side slopes at 5-9 m/s, which the climb limit does not cover, so flat-ground physics stays the default.

* Python host docs: the scene and pictures belong to the frame's thread

* Python host examples: data_feed and nav declare what they need (requires:)

AriadneComponents.ShippedExamplesDeclareWhatTheyNeed failed on every CI
platform: python/data_feed.ari and python/nav.ari had no requires: block,
and nav.ari has a scene: without requiring gl.scene.

data_feed.ari requires quit, with stream_view and raster.bitmap optional
(a headless run shows text). nav.ari requires gl.scene and quit, so, like
every shipped document with a scene, a host without a scene refuses it:
nav.py --headless now says so instead of running, and its headless
branches are gone. The host test's nav runs (kinematic and Jolt) move to
the offscreen section, which CI runs on llvmpipe under Xvfb, and the
headless section checks the refusal.

* ariadne_host_test: the async-function test gives its action room (macOS CI)

AnAsyncFunctionTakesArgumentsAndPostsToItsChannel failed on package-macos / libcvc-release: the
call's wait is charged to the action (ariadne.limits.action_max_time, 0.1 s by default), and on the
loaded macOS runner starting the kernel and its 20 ms took longer, so the program was stopped
(time_limit_exceeded) before it set got or posted to the channel. Reproduced here with the cap set
to 0.5 ms (the same failure, and run_program's done says time_limit_exceeded). The test is about the
arguments and the channel, so it sets the cap a host gives (30 s) and checks the program finished.

* Ariadne: arix and ariglx, ari and arigl with an embedded Python (#1000)

* Ariadne: arix and ariglx, ari and arigl with an embedded Python

The first part of the scripting hosts (docs/roadmap/ARIADNE_SCRIPTING_HOSTS.md, P1), native:

- src/ariadne_python: the engine. One CPython per process, booted from the install prefix's
  python312 (else the Python built against), the GIL parked between crossings. The _arihost
  builtin lends Python the host's app, document runtime and (ariglx) window objects.
- A document's python: block runs at load, before requires: is checked; its @export functions
  (and export: entries) become host functions through pycvc.host_function. The python and
  python.<module> capability tokens hold there; a stock host names the scripting hosts instead.
- A Python program in place of the document (arix|ariglx run|snapshot|check app.py):
  pycvc_gl.ariadne.Host() adopts the host (mode "embedded"), and host.run() runs the host's own
  loop. <host> python [args] is the embedded interpreter as a plain python3. --python-path DIR.
- AppRuntime::add_load_hook and add_frame_hook; pycvc.ari_app_attach; pycvc_gl's
  *_from_capsule proxies over a host's window objects.
- ctest: arix_python_* (block, program, error, interpreter), ari_python_needs_arix,
  ariglx_python_check / _program; three AriadneRequires cases. pycvc-linux builds and runs them.

* cvcpkg: arix and ariglx recipes, published from the cp312 Linux job

The scripting hosts as cvcpkg packages of their own, so ari and arigl stay Python-free. Each
recipe builds src/ari or src/arigl standalone with -DARI_WITH_PYTHON / -DARIGL_WITH_PYTHON
against the installed SDKs and the deps prefix's python312 (named outright, not a system
python3), and installs only its own binary. Runtime deps bring python312, numpy-cp312,
pycvc-cp312 (and for ariglx pycvc-gl-cp312) into the same prefix, where the installed host
finds its Python beside it. Linux only, where pycvc-cp312 and pycvc-gl-cp312 are published.

A recipe build no longer compiles in the build's Python home (CVC_ARIADNE_PYTHON_HOME is
in-tree only), so no builder path ships.

publish-cvcpkg.yml builds, smoke-tests, packs and publishes both in the cp312 job: arix runs
`arix python` and the python: block test document through that job's pycvc; ariglx, last,
loads it and renders the Python program's document under Xvfb.

* publish-cvcpkg: PYTHONHOME for arix and ariglx alone, not the cvcpkg that packs them

The dry run (41598099932) built both and both passed their smoke tests on Linux (arix: its
interpreter and python_block.ari 5/5; ariglx: the python: block in a window and app.py rendered),
then cvcpkg pack died with "No module named 'cvcpkg'": the exported PYTHONHOME pointed cvcpkg's
own Python at $PY's stdlib. The hosts now get it through env, one command at a time.

* arix, ariglx recipes: upstream_version 3.7.10, with master's bump (#1022)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant