Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Release validation

What to check before tagging a release, and right after it. The release steps themselves are in PyPI deployment.

The CI builds almost everything, on every platform, but it runs little: no installed wheel opens a window, and the web, phone and backend builds are never run. This page lists what the CI leaves out.

What “validated” means

The fast path and the full path

The full path is needed after:

The release plan says which path it takes.

The forks’ tiers

A fork’s rebase does not carry the same risk for every library (the forks: Managing external libraries and forks).

TierLibrariesA rebase needs
1, the coreimgui with imgui_test_engine (rebased together), hello_imguithe full path
2, large libraries with their own bindingsimplot, implot3d, imgui-node-editor, ImGuiColorTextEdit, immvision, imgui_rich_mdthe fast path, plus that library’s own checks: its demos, its C++ demo, its tests, its third parties
3, small librariesImGuizmo, imspinner, imgui-knobs, imgui_toggle, ImCoolBar, ImFileDialog, imgui-command-palette, imgui_tex_inspect, ImAnim, nanovg, MicroTeX, imgui_kit, imgui_touch, glfwthe fast path: the demo tour opens each of them

What the CI covers

The workflows are listed in Testing. In short:

Who runs a check

A recipe marked “(to come)” does not exist yet: run the check by hand meanwhile.

The checklist

Each check has a stable id: a release’s record ticks them.

A. The Python wheels

From the CI’s artifacts (the wheels of the commit to tag), before the tag. just release_runs lists the recent Wheels runs, with the <run_id> the recipes below take (only a finished success has wheels).

IdCheckWhoTimePathHow
A1The smoke test: the imports, the new APIs, one frame of RichMd, ImPlot, immvision and the node editor, the Explorer in the dark and light themes. On macOS, Windows ARM64, Linux ARM64Agent, VMs10 minFastjust release_smoke <run_id> --vms (--vms: the Parallels VMs)
A2The same smoke test on x86_64: Windows and Linuxx86_64 PC5 minFastone command per OS, printed by just release_smoke <run_id>
A3The non-GUI tests against the installed macOS wheelCIFastwheels.yml
A4The smoke test with the oldest and newest Pythons (3.11, 3.15)Agent5 minFastjust release_smoke <run_id> --python 3.11, then --python 3.15
A5The demo tour: each demo below runs a few frames, hidden, and is capturedAgent5 minFast; the backends and Jupyter: Fullpytest tests/tests_python_gui/test_demo_tour.py, with IMGUI_BUNDLE_DEMO_TOUR_CAPTURES=<folder> for the captures; the CI runs it too
A6Hands-on use of the Explorer: drag a plot and a node, type in the text editor, dock a window out (viewports), on a high DPI screenBy hand10 minFulldemo_imgui_bundle
A7The wheel’s contents against the last release: the file list (stubs, py.typed, assets, demos) and the sizeAgent3 minFastjust wheel_diff <old version> <run_id>
A8The sdist installs in a fresh venv on macOS (a full build: run it in the background)Agent20 minFastpip install imgui_bundle-<version>.tar.gz

The demo tour (A5) covers each library at least once. The paths are under bindings/imgui_bundle/. A demo with a module-level gui() joins the tour by itself.

CoversDemosExtra packages
Everything, through the console scriptdemo_imgui_bundle (the installed command)numpy
Dear ImGuidemos_python/demos_imgui_explorer/imgui_demo.py
ImPlot, ImPlot3Ddemos_imgui_explorer/implot_demo.py, implot3d_demo.pynumpy
immvision with OpenCVdemos_immvision/demo_immvision_process.py, demo_immvision_inspector.pyopencv-python
The node editordemos_node_editor/demo_node_editor_image_pipeline.py, demo_node_editor_color_mixer.pyopencv-python
RichMd, the markdown editordemo_imgui_md_document.py, demo_markdown_editor.py
The text editordemo_text_edit.py
ImAnim, ImGuizmo, NanoVG, tex_inspectdemo_im_anim.py, demos_imguizmo/demo_gizmo.py, demos_nanovg/demo_nanovg_heart.py, demos_tex_inspect/demo_tex_inspect_simple.py
imgui_kit, imgui_touchdemos_imgui_explorer/imgui_kit_demo.py, imgui_touch_demo.py
The terminal (macOS and Linux)demo_terminal.py
The test engine, immapp.testingdemos_immapp/demo_testengine.py, demo_immapp_testing.py
Hello ImGui: docking, assets, fonts, power save, an OpenGL backgrounddemos_immapp/demo_docking.py, demo_assets_addons.py, demo_chinese_font.py, demo_powersave.py, demo_custom_background.pyPyOpenGL
Python specificsdemos_python_specifics/demo_run_async.py, demo_pydantic.py, demo_python_context_manager.py, demo_glfw_window_manip.pypydantic, glfw
The pure Python backends (Full path)python_backends/examples/example_python_backend_{glfw3,sdl2,sdl3,pyglet,pygame,wgpu}.py, example_python_backend_glfw3_imgui_kit.pyglfw, PyOpenGL, pysdl2, pysdl3, pyglet, pygame (pygame-ce from Python 3.14), wgpu
Jupyter, immapp.nb (Full path)demos_python/notebooks/test_immapp_nb.ipynb, with jupyter nbconvert --executejupyter

The backend examples run their own loop: run them with a timeout (5 s), and look for a traceback.

B. C++

IdCheckWhoTimePathHow
B1The three ways to integrate the bundle: the installed package, a subfolder, FetchContent. The CI covers only the firstAgent20 minFastjust example_integration_all
B2A minimal configuration: every IMGUI_BUNDLE_WITH_* add-on off, Hello ImGui onCIa cpp_lib.yml job (to come)
B3A Debug build with the sanitizers (IMGUI_BUNDLE_BUILD_WITH_ASAN, IMGUI_BUNDLE_BUILD_WITH_UB_SANITIZER), running the automation tests: asserts on, memory errors caughtCIa variant of ci_automation_test.yml (to come)
B4The C++ Explorer runs, captured in the dark and light themesAgent10 minFastdemo_imgui_bundle, skill screenshot-imgui-bundle
B5A demo on Metal, one on Vulkan (MoltenVK on macOS), and the immvision demos with OpenCV (IMGUI_BUNDLE_DEMOS_WITH_OPENCV)Agent20 minFullbuilds with HELLOIMGUI_USE_GLFW_METAL, HELLOIMGUI_USE_GLFW_VULKAN
B6DirectX 11 and 12: one demox86_64 PC10 minwhen Hello ImGui’s backend code changesbuilds with HELLOIMGUI_USE_SDL_DIRECTX11, HELLOIMGUI_USE_SDL_DIRECTX12

C. The web

The CI builds the web targets, and never loads them in a browser.

IdCheckWhoTimePathHow
C1The Bundle Explorer, the ImGui Explorer and the Pyodide pages in ChromeAgent10 min (the builds take longer, but the site’s deploy needs them anyway)Fastbelow, skill screenshot-web-demos
C2A finger in the playground: a drag scrolls, a pinch zoomsAgent2 minFastjust cf_touch_check
C3Desktop Safari: the playground shows the new version, and a demo with floats (a plot that animates) runs. Headless WebKit is not enough: Safari has bugs of its own in PyodideAgent5 minFastsafaridriver
C4The browser zoom (Cmd + and Cmd -) in the playgroundBy hand2 minFulla script cannot press the zoom keys

How to run C1:

ImGui Bundle Explorer (Emscripten)

just ibex_build
just ibex_serve     # then open http://localhost:8642/demo_imgui_bundle.html

Try a few demos (for example the test engine and the docking demos).

ImGui Explorer (Emscripten)

just imex_ems_build
just imex_ems_serve     # then open http://localhost:7006/

Check that the Dear ImGui version displayed is the expected one.

Pyodide

just pyodide_build
just pyodide_serve_projects

Then open:

PageExpected
http://localhost:6456/local_wheels/Offers the wheel of the new version (see wheel filename references)
http://localhost:6456/playground/The demos work; the intro page displays the new version
http://localhost:6456/min_pyodide_app/demo_heart.htmlWorks. It installs imgui-bundle from PyPI, so it displays the last released version until the new one is published: check it again after the release (G3)

D. Phones

IdCheckWhoTimePathHow
D1The playground in Safari, in the iPhone simulatorAgent15 minFastsimctl, idb, skill screenshot-web-demos
D2The playground in Chrome, in the Android emulatorAgent15 minFastadb
D3The native iOS app (_example_integration) in the simulator. The CI builds it, and never runs itAgent20 minwhen Hello ImGui’s iOS code changes
D4The native Android app (_example_integration) in the emulator: install the APK, launch it, tap once, a screenshot. The CI builds it, and never runs itAgent30 minwhen Hello ImGui’s Android code changesadb install, adb exec-out screencap

D1 and D2 check:

The emulators use the computer’s keyboard by default: for the keyboard check, turn it off (“Connect Hardware Keyboard” in the iOS simulator, hw.keyboard=no in the Android emulator’s config.ini). The Android emulator draws WebGL only with its software GPU (hw.gpu.mode=swiftshader).

E. The API and the third parties

IdCheckWhoTimePathHow
E1The API against the last release: names added and removed, changed signatures, reordered overloadsAgent5 minFastjust api_compare <old version> (--wheel <file> for a CI wheel)
E2The third party renderers: wgpu-py and fastplotlib, one example each, offscreenAgent10 minFastbelow; a script (to come)
E3fiatlight, against the last release (A/B screenshots)Agent30 minafter a rebase of a tier 1 fork, of immvision or of implot

About E2: some libraries render Dear ImGui by themselves, from Python. They walk ImDrawData, ImDrawList, ImDrawCmd and the texture requests (ImTextureData) through the bindings. They are the most sensitive users of these bindings, and nothing in this repository exercises them the same way: a member renamed or removed by an update of Dear ImGui breaks them at runtime (this happened with ImDrawData.cmd_lists_count in v1.92.900).

For example, with wgpu-py, whose imgui renderer is based on imgui_bundle:

python -m venv venv_wgpu && source venv_wgpu/bin/activate
pip install wgpu rendercanvas glfw
pip install path/to/the/new/imgui_bundle-xxx.whl    # or: pip install -v . (from this repository)
git clone https://github.com/pygfx/wgpu-py.git
python wgpu-py/examples/imgui_basic_example.py        # any of the examples/imgui_*.py

Expected: the Gui shows (text, widgets, fonts), and reacts to the mouse and the keyboard. Without a screen, rendercanvas’ offscreen backend renders a few frames. An AttributeError on a draw data, draw list or texture member means that the bindings changed under the renderer: restore the member (possibly as a read-only property), or warn the maintainers before the release.

F. Docs and tests

IdCheckWhoTimePathHow
F1The API pages’ pictures of the demo sections whose code changed, and their reviewAgent, by hand20 min + 5 minFulljust imex_ems_build, then just api_pictures --stale (see the docstring of ci_scripts/api_pictures.py)
F2The Python examples of the AI guide (intro/ai_guide.md, published as llms.txt): each block type-checks, and its imports runAgent10 minFasta pytest (to come)
F3The CHANGELOG: its title, the commit count, the forks’ versionsAgent5 minFast
F4The tests and the type checks on the commit to tag. Locally, they also run the GUI tests on macOSAgent5 minFastjust test_pytest, just mypy

G. After the tags

Within an hour of the uploads to PyPI:

IdCheckWhoTimePathHow
G1PyPI holds every expected file: each platform and Python, musllinux, the sdist, the Pyodide wheelAgent2 minFastPyPI’s JSON API, against the CI’s artifacts
G2pip install imgui-bundle==<version> in a fresh venv, then the smoke testAgent3 minFastjust release_smoke --from-pypi <version>
G3min_pyodide_app/demo_heart.html installs the new version from PyPIAgent2 minFast
G4The C++ template, pinned to the new tag, builds through a real FetchContent from GitHubAgent15 minFast_example_integration (see PyPI deployment, step 4)
G5The Conan package from the release’s archive, and Hello ImGui’s vcpkg portAgent20 minFulljust conan_create

When a check after the tags fails:

The record of a release’s check

Keeping this page current