From f6b7c755655b076ede53fea12ee8310300adf360 Mon Sep 17 00:00:00 2001 From: Christian Bourjau Date: Tue, 20 Oct 2026 12:37:16 +0200 Subject: [PATCH] Raise pinned IR version --- CHANGELOG.rst | 8 ++++++++ src/spox/_utils.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index e270843..98926c8 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,14 @@ Change log ========== +0.18.2 (2026-10-20) +------------------- + +**Bug fix** + +- Models are now built using IR version 10 which was released with onnx 1.16.0 and covers all data types supported by Spox. + + 0.18.1 (2026-09-30) ------------------- diff --git a/src/spox/_utils.py b/src/spox/_utils.py index 24872c7..7009ccc 100644 --- a/src/spox/_utils.py +++ b/src/spox/_utils.py @@ -52,7 +52,7 @@ def make_model( functions: list[onnx.FunctionProto] | None = None, ) -> onnx.ModelProto: """Like ``onnx.helper.make_model`` but with a consistent and conservative IR version that works on older runtimes.""" - ir_version = 8 + ir_version = 10 kwargs: dict[str, Any] = {} if opset_imports is not None: