Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-kornia-rs for
openSUSE:Factory checked in at 2026-09-28 10:46:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kornia-rs (Old)
and /work/SRC/openSUSE:Factory/.python-kornia-rs.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-kornia-rs"
Mon Sep 28 10:46:25 2026 rev:2 rq:1380837 version:0.1.15
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kornia-rs/python-kornia-rs.changes
2026-08-21 17:01:00.967384841 +0200
+++
/work/SRC/openSUSE:Factory/.python-kornia-rs.new.383539/python-kornia-rs.changes
2026-09-28 10:47:01.734401176 +0200
@@ -1,0 +2,36 @@
+Sat Sep 26 18:11:48 UTC 2026 - Martin Pluskal <[email protected]>
+
+- Update to 0.1.15 (upstream assigned no CVE ids and shipped no
+ advisory):
+ * Memory-safety sweep on untrusted input: AprilTag RLE run-buffer
+ heap overflow on 1-pixel stripes, kornia-io decoder pixel cap
+ and GStreamer pipeline injection, imgproc out-of-bounds in
+ warp/remap/resize, numpy binding misuse, C++ FFI null/overflow
+ checks.
+ * OpenCV-parity image processing on CPU (NEON) and CUDA: Canny,
+ median and bilateral blur, CLAHE, connected components,
+ histogram, Gaussian pyramids, SIFT, CUDA remap, Laplacian,
+ integral image.
+ * New kornia-calib crate for multi-camera extrinsic calibration;
+ bundle adjustment gains intrinsics, priors and Huber-robust
+ PnP.
+ * Tensors and images dispatch on CPU/CUDA residency, with unified
+ and pinned write-combined allocators plus zero-copy host
+ buffers.
+ * Breaking Rust API: unchecked accessors are now unsafe, several
+ permutation and rectification entry points return Result.
+ * RVL reaches 5.7x compression; histogram, colour-check and
+ pyramid APIs filled in on the Python side.
+- Switch Source0 to the release tag: upstream removed --sdist from
+ its release workflow in 0.1.15 ("not self-contained"), so no PyPI
+ sdist exists from this version on. The tag keeps pyproject.toml
+ in the binding crate, so the PEP 517 build now runs from
+ kornia-py/.
+- Require rust >= 1.89, upstream's new floor.
+
+-------------------------------------------------------------------
+Mon Aug 31 11:36:02 UTC 2026 - Andreas Schwab <[email protected]>
+
+- Enable build on riscv64
+
+-------------------------------------------------------------------
Old:
----
kornia_rs-0.1.14.tar.gz
New:
----
v0.1.15.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-kornia-rs.spec ++++++
--- /var/tmp/diff_new_pack.ylpTt8/_old 2026-09-28 10:47:08.618689602 +0200
+++ /var/tmp/diff_new_pack.ylpTt8/_new 2026-09-28 10:47:08.622689770 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-kornia-rs
-Version: 0.1.14
+Version: 0.1.15
Release: 0
Summary: Low-level computer vision library implemented in Rust
# Legal-Review-Notice: cargo tree --offline -p kornia-py -e normal over
@@ -27,7 +27,10 @@
# No GPL/LGPL/MPL/EPL/CDDL is linked. Workspace crates inherit Apache-2.0.
License: Apache-2.0
URL: https://github.com/kornia/kornia-rs
-Source0:
https://files.pythonhosted.org/packages/source/k/kornia_rs/kornia_rs-%{version}.tar.gz
+# upstream stopped shipping a PyPI sdist in 0.1.15 (--sdist dropped from
+# python_release.yml: "not self-contained (bindgen/vendored deps)"), so build
+# from the release tag instead.
+Source0:
https://github.com/kornia/kornia-rs/archive/refs/tags/v0.1.15.tar.gz
Source1: registry.tar.zst
BuildRequires: %{python_module devel}
BuildRequires: %{python_module maturin >= 1.9}
@@ -40,10 +43,10 @@
BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
-BuildRequires: rust >= 1.82
+BuildRequires: rust >= 1.89
BuildRequires: zstd
BuildRequires: pkgconfig(libturbojpeg)
-ExclusiveArch: %{rust_tier1_arches}
+ExclusiveArch: %{rust_tier1_arches} riscv64
%python_subpackages
%description
@@ -53,7 +56,7 @@
helpers used by python-kornia.
%prep
-%autosetup -p1 -n kornia_rs-%{version}
+%autosetup -p1 -n kornia-rs-%{version}
rm -rf .cargo
tar xf %{SOURCE1} -C $PWD
@@ -64,14 +67,19 @@
# system copy (pkgconfig(libturbojpeg)).
export TURBOJPEG_SOURCE=pkg-config
export TURBOJPEG_DYNAMIC=1
+# the tag tree keeps pyproject.toml in the binding crate, not at the top level
+pushd kornia-py
%pyproject_wheel
+popd
%install
export CARGO_HOME=$PWD/.cargo
export CARGO_NET_OFFLINE=true
export TURBOJPEG_SOURCE=pkg-config
export TURBOJPEG_DYNAMIC=1
+pushd kornia-py
%pyproject_install
+popd
# force hash-based .pyc (avoid python-bytecode-inconsistent-mtime)
%python_expand $python -m compileall -q -f -o 0 -o 1 --invalidation-mode
unchecked-hash %{buildroot}%{$python_sitearch}
%python_expand %fdupes %{buildroot}%{$python_sitearch}
@@ -81,7 +89,7 @@
export CARGO_NET_OFFLINE=true
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -B -c
"import kornia_rs as k; assert k.__version__ == '%{version}', k.__version__"
# Full suite needs torch, Pillow, OpenCV and the apriltag-imgs submodule.
-# Run the self-contained numpy tests shipped in the sdist.
+# Run the self-contained numpy tests.
%pytest_arch kornia-py/tests/test_package.py kornia-py/tests/test_color.py
%files %{python_files}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.ylpTt8/_old 2026-09-28 10:47:08.650690943 +0200
+++ /var/tmp/diff_new_pack.ylpTt8/_new 2026-09-28 10:47:08.654691110 +0200
@@ -2,7 +2,7 @@
<services>
<service mode="manual" name="download_files" />
<service name="cargo_vendor" mode="manual">
- <param name="src">kornia_rs-0.1.14.tar.gz</param>
+ <param name="src">v0.1.15.tar.gz</param>
<param name="method">registry</param>
<param name="update">true</param>
<param name="compression">zst</param>
++++++ registry.tar.zst ++++++
/work/SRC/openSUSE:Factory/python-kornia-rs/registry.tar.zst
/work/SRC/openSUSE:Factory/.python-kornia-rs.new.383539/registry.tar.zst
differ: char 7, line 1