Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sure for openSUSE:Factory checked in at 2025-11-05 16:17:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sure (Old) and /work/SRC/openSUSE:Factory/.python-sure.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sure" Wed Nov 5 16:17:39 2025 rev:15 rq:1315625 version:2.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sure/python-sure.changes 2025-08-26 14:56:46.625838479 +0200 +++ /work/SRC/openSUSE:Factory/.python-sure.new.1980/python-sure.changes 2025-11-05 16:18:52.395508410 +0100 @@ -1,0 +2,8 @@ +Wed Nov 5 00:30:51 UTC 2025 - Steve Kowalik <[email protected]> + +- Refresh patch python-sure-no-mock.patch: + * Actually drop the requirement from setup.py +- Add patch support-python314.patch: + * Support Python 3.14 ast changes. + +------------------------------------------------------------------- New: ---- support-python314.patch ----------(New B)---------- New: * Actually drop the requirement from setup.py - Add patch support-python314.patch: * Support Python 3.14 ast changes. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sure.spec ++++++ --- /var/tmp/diff_new_pack.MERUo3/_old 2025-11-05 16:18:52.939531324 +0100 +++ /var/tmp/diff_new_pack.MERUo3/_new 2025-11-05 16:18:52.943531493 +0100 @@ -31,6 +31,8 @@ Source: https://files.pythonhosted.org/packages/source/s/sure/sure-%{version}.tar.gz # Based on https://github.com/gabrielfalcao/sure/pull/161 Patch0: python-sure-no-mock.patch +# PATCH-FIX-OPENSUSE Support Python 3.14 ast changes +Patch1: support-python314.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -85,5 +87,5 @@ %doc README.rst %python_alternative %{_bindir}/sure %{python_sitelib}/sure -%{python_sitelib}/sure-%{version}*-info +%{python_sitelib}/sure-%{version}.dist-info ++++++ python-sure-no-mock.patch ++++++ --- /var/tmp/diff_new_pack.MERUo3/_old 2025-11-05 16:18:52.975532840 +0100 +++ /var/tmp/diff_new_pack.MERUo3/_new 2025-11-05 16:18:52.979533009 +0100 @@ -1,7 +1,7 @@ -Index: sure-2.0.0/sure/core.py +Index: sure-2.0.1/sure/core.py =================================================================== ---- sure-2.0.0.orig/sure/core.py -+++ sure-2.0.0/sure/core.py +--- sure-2.0.1.orig/sure/core.py ++++ sure-2.0.1/sure/core.py @@ -21,7 +21,10 @@ import os try: from mock import _CallList @@ -22,10 +22,10 @@ anything = Anything() -Index: sure-2.0.0/tests/test_assertion_builder.py +Index: sure-2.0.1/tests/test_assertion_builder.py =================================================================== ---- sure-2.0.0.orig/tests/test_assertion_builder.py -+++ sure-2.0.0/tests/test_assertion_builder.py +--- sure-2.0.1.orig/tests/test_assertion_builder.py ++++ sure-2.0.1/tests/test_assertion_builder.py @@ -17,7 +17,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. from __future__ import unicode_literals @@ -35,4 +35,17 @@ from collections import OrderedDict from datetime import datetime, timedelta +Index: sure-2.0.1/setup.py +=================================================================== +--- sure-2.0.1.orig/setup.py ++++ sure-2.0.1/setup.py +@@ -81,7 +81,7 @@ def read_readme(): + return __doc__ + + +-install_requires = ["mock", "six"] ++install_requires = ["six"] + tests_require = ["nose"] + version = read_version() + ++++++ support-python314.patch ++++++ Index: sure-2.0.1/setup.py =================================================================== --- sure-2.0.1.orig/setup.py +++ sure-2.0.1/setup.py @@ -50,7 +50,7 @@ class VersionFinder(ast.NodeVisitor): def visit_Assign(self, node): try: if node.targets[0].id == self.VARIABLE_NAME: - self.version = node.value.s + self.version = node.value.value except Exception: pass
