From a3117fe4a2fde7c4ad45e12c5a996acbd103bc77 Mon Sep 17 00:00:00 2001 From: Melvin Alvarez Date: Mon, 16 Feb 2026 16:26:49 +0100 Subject: [PATCH] fix(build): enable python-bindings feature in maturin config - Add python-bindings feature to maturin build configuration - Ensures PyO3 extension module is built correctly for PyPI - Fixes PyInit__core symbol warning during wheel build This is required because we removed python-bindings from default features to fix cargo publish linking issues. Maturin now explicitly enables it. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index dcc53bb..863896c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ Issues = "https://github.com/ThotDjehuty/optimiz-r/issues" [tool.maturin] python-source = "python" module-name = "optimizr._core" -features = ["pyo3/extension-module"] +features = ["python-bindings"] [tool.pytest.ini_options] testpaths = ["tests"]