From: Alexandru Ardelean Date: Sat, 4 Apr 2026 18:22:25 +0000 (+0300) Subject: python-setuptools-rust: bump to 1.12.1 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=981e48b052325be7d47afc20c6bfea1cece3f1a9;p=openwrt-packages.git python-setuptools-rust: bump to 1.12.1 Changelog: https://github.com/PyO3/setuptools-rust/releases/tag/v1.12.1 Patch release. Add test.sh to verify RustExtension import. Signed-off-by: Alexandru Ardelean --- diff --git a/lang/python/python-setuptools-rust/test.sh b/lang/python/python-setuptools-rust/test.sh new file mode 100755 index 000000000..3154bff45 --- /dev/null +++ b/lang/python/python-setuptools-rust/test.sh @@ -0,0 +1,9 @@ +#!/bin/sh +[ "$1" = python3-setuptools-rust ] || exit 0 +python3 - << 'EOF' +import setuptools_rust +assert setuptools_rust.__version__, "setuptools_rust version is empty" +from setuptools_rust import RustExtension, RustBin, Binding +ext = RustExtension("mymod", binding=Binding.PyO3) +assert ext.name == "mymod" +EOF