Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-xmlsec for openSUSE:Factory checked in at 2026-09-28 10:40:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xmlsec (Old) and /work/SRC/openSUSE:Factory/.python-xmlsec.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xmlsec" Mon Sep 28 10:40:11 2026 rev:15 rq:1380332 version:1.3.17 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xmlsec/python-xmlsec.changes 2026-03-30 18:34:33.559235795 +0200 +++ /work/SRC/openSUSE:Factory/.python-xmlsec.new.383539/python-xmlsec.changes 2026-09-28 10:40:41.707479870 +0200 @@ -1,0 +2,6 @@ +Fri Sep 18 05:10:22 UTC 2026 - Steve Kowalik <[email protected]> + +- Add patch gc-collect-before-checking.patch: + * gc.collect() before checking for leaked objects. + +------------------------------------------------------------------- New: ---- gc-collect-before-checking.patch ----------(New B)---------- New: - Add patch gc-collect-before-checking.patch: * gc.collect() before checking for leaked objects. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xmlsec.spec ++++++ --- /var/tmp/diff_new_pack.YAbdJA/_old 2026-09-28 10:40:42.612517821 +0200 +++ /var/tmp/diff_new_pack.YAbdJA/_new 2026-09-28 10:40:42.615517947 +0200 @@ -24,6 +24,8 @@ License: MIT URL: https://github.com/mehcode/python-xmlsec Source: https://files.pythonhosted.org/packages/source/x/xmlsec/xmlsec-%{version}.tar.gz +# PATCH-FIX-UPSTREAM-ish Sourced from gh#xmlsec/python-xmlsec#426 +Patch0: gc-collect-before-checking.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module lxml >= 3.8.0} ++++++ gc-collect-before-checking.patch ++++++ diff -ur xmlsec-1.3.17.orig/tests/base.py xmlsec-1.3.17/tests/base.py --- xmlsec-1.3.17.orig/tests/base.py 2026-08-01 18:03:41.993662244 -0300 +++ xmlsec-1.3.17/tests/base.py 2026-08-01 18:03:48.009014638 -0300 @@ -39,7 +39,8 @@ return m_usage = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss - o_count = gc.get_count()[0] + gc.collect() + o_count = len(gc.get_objects()) m_hits = 0 o_hits = 0 for _ in range(self.iterations): @@ -48,7 +49,8 @@ if m_usage_n > m_usage: m_usage = m_usage_n m_hits += 1 - o_count_n = gc.get_count()[0] + gc.collect() + o_count_n = len(gc.get_objects()) if o_count_n > o_count: o_count = o_count_n o_hits += 1
