Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ahocorasick-rs for 
openSUSE:Factory checked in at 2026-10-14 18:35:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ahocorasick-rs (Old)
 and      /work/SRC/openSUSE:Factory/.python-ahocorasick-rs.new.3698736 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ahocorasick-rs"

Wed Oct 14 18:35:58 2026 rev:4 rq:1384700 version:1.0.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-ahocorasick-rs/python-ahocorasick-rs.changes  
    2025-10-31 16:28:51.967944964 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ahocorasick-rs.new.3698736/python-ahocorasick-rs.changes
 2026-10-14 18:36:51.780266981 +0200
@@ -1,0 +2,6 @@
+Wed Oct 14 03:46:14 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch update-pyo3-to-0.29.patch:
+  * Update PyO3 to 0.29 and update vendoring.
+
+-------------------------------------------------------------------

New:
----
  update-pyo3-to-0.29.patch

----------(New B)----------
  New:
- Add patch update-pyo3-to-0.29.patch:
  * Update PyO3 to 0.29 and update vendoring.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-ahocorasick-rs.spec ++++++
--- /var/tmp/diff_new_pack.tlSEFA/_old  2026-10-14 18:36:52.501297338 +0200
+++ /var/tmp/diff_new_pack.tlSEFA/_new  2026-10-14 18:36:52.503297423 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ahocorasick-rs
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@
 URL:            https://github.com/G-Research/ahocorasick_rs
 Source:         
https://files.pythonhosted.org/packages/source/a/ahocorasick_rs/ahocorasick_rs-%{version}.tar.gz
 Source1:        vendor.tar.zst
+# PATCH-FIX-UPSTREAM Based on gh#G-Research/ahocorasick_rs#144 & 
gh#G-Research/ahocorasick_rs#182, update vendoring
+Patch0:         update-pyo3-to-0.29.patch
 BuildRequires:  %{python_module maturin >= 1.0}
 BuildRequires:  %{python_module pip}
 BuildRequires:  cargo-packaging

++++++ update-pyo3-to-0.29.patch ++++++
>From cf8ab76e7e0bb4fd7f11e28cf2ce9ef9a40db2bf Mon Sep 17 00:00:00 2001
From: Itamar Turner-Trauring <[email protected]>
Date: Mon, 20 Oct 2025 10:16:36 -0400
Subject: [PATCH 2/2] Fix deprecated API usage.

---
 src/lib.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib.rs b/src/lib.rs
index 389c233..5d6b9ac 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -145,7 +145,7 @@ impl PyAhoCorasick {
         // Convert the `patterns` iterable into an Iterator over Py<PyString>:
         let mut patterns_iter = patterns.try_iter()?.map_while(|pat| {
             pat.and_then(|i| {
-                i.downcast_into::<PyString>()
+                i.cast_into::<PyString>()
                     .map_err(PyErr::from)
                     .map(|i| i.unbind())
             })
>From 9d552f4250aa08f4ae4655d33b96285d258c4903 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 10 Aug 2026 12:23:07 +0000
Subject: [PATCH] Bump pyo3 from 0.28.3 to 0.29.2

Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.28.3 to 0.29.2.
- [Release notes](https://github.com/pyo3/pyo3/releases)
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md)
- [Commits](https://github.com/pyo3/pyo3/compare/v0.28.3...v0.29.2)

---
updated-dependencies:
- dependency-name: pyo3
  dependency-version: 0.29.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
---
 Cargo.lock | 21 ++++++++++-----------
 Cargo.toml |  2 +-
 2 files changed, 11 insertions(+), 12 deletions(-)

Index: ahocorasick_rs-1.0.3/Cargo.toml
===================================================================
--- ahocorasick_rs-1.0.3.orig/Cargo.toml
+++ ahocorasick_rs-1.0.3/Cargo.toml
@@ -17,7 +17,7 @@ crate-type = ["cdylib"]
 [dependencies]
 aho-corasick = "1"
 itertools = "0.14.0"
-pyo3 = { version = "0.26", features = ["py-clone"] }
+pyo3 = { version = "0.29", features = ["py-clone"] }
 
 [features]
 # The extension-module song and dance is explained here:

++++++ vendor.tar.zst ++++++
++++ 859915 lines of diff (skipped)

Reply via email to