Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-fb-re2 for openSUSE:Factory checked in at 2026-09-08 16:53:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-fb-re2 (Old) and /work/SRC/openSUSE:Factory/.python-fb-re2.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-fb-re2" Tue Sep 8 16:53:57 2026 rev:8 rq:1376051 version:1.0.7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-fb-re2/python-fb-re2.changes 2025-05-27 18:44:07.361430289 +0200 +++ /work/SRC/openSUSE:Factory/.python-fb-re2.new.1265/python-fb-re2.changes 2026-09-08 16:54:58.759135205 +0200 @@ -1,0 +2,6 @@ +Mon Sep 7 04:22:52 UTC 2026 - Steve Kowalik <[email protected]> + +- Add patch do-not-use-sre-constants.patch: + * Do not use sre_constants stdlib module. + +------------------------------------------------------------------- New: ---- do-not-use-sre-constants.patch ----------(New B)---------- New: - Add patch do-not-use-sre-constants.patch: * Do not use sre_constants stdlib module. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-fb-re2.spec ++++++ --- /var/tmp/diff_new_pack.ld0A1a/_old 2026-09-08 16:54:59.567169104 +0200 +++ /var/tmp/diff_new_pack.ld0A1a/_new 2026-09-08 16:54:59.569169188 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-fb-re2 # -# Copyright (c) 2025 SUSE LLC +# 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 @@ -22,11 +22,12 @@ Release: 0 Summary: Python wrapper for Google's RE2 License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/facebook/pyre2 Source: https://github.com/facebook/pyre2/archive/v%{version}.tar.gz # PATCH-FIX-UPSTREAM cpp17.patch gh#facebook/pyre2#25 Patch0: cpp17.patch +# PATCH-FIX-OPENSUSE Do not use sre_constants +Patch1: do-not-use-sre-constants.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} @@ -62,6 +63,6 @@ %license LICENSE %{python_sitearch}/_re2*.so %{python_sitearch}/re2.py -%{python_sitearch}/fb_re2-%{version}*-info -%pycache_only %{python_sitearch}/__pycache__ +%{python_sitearch}/fb_re2-%{version}.dist-info +%pycache_only %{python_sitearch}/__pycache__/re2*.pyc ++++++ do-not-use-sre-constants.patch ++++++ Index: pyre2-1.0.7/re2.py =================================================================== --- pyre2-1.0.7.orig/re2.py +++ pyre2-1.0.7/re2.py @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import _re2 -import sre_constants +from re import error __all__ = [ "error", @@ -43,7 +43,6 @@ __all__ = [ # Module-private compilation function, for future caching, other enhancements _compile = _re2._compile -error = sre_constants.error escape = _re2.escape Set = _re2.Set UNANCHORED = _re2.UNANCHORED
