Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jsonpickle for openSUSE:Factory checked in at 2024-01-04 15:58:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jsonpickle (Old) and /work/SRC/openSUSE:Factory/.python-jsonpickle.new.28375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jsonpickle" Thu Jan 4 15:58:49 2024 rev:13 rq:1136659 version:3.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jsonpickle/python-jsonpickle.changes 2023-12-14 22:03:19.592469820 +0100 +++ /work/SRC/openSUSE:Factory/.python-jsonpickle.new.28375/python-jsonpickle.changes 2024-01-04 16:01:06.072636848 +0100 @@ -1,0 +2,12 @@ +Fri Dec 29 13:52:24 UTC 2023 - Antonio Larrosa <alarr...@suse.com> + +- Add patch to enable the gmpy test correctly: + * enable_gmpy_test.patch +- Disable BuildRequies pandas and scikit-learn in SLE where + they're not available and only used for tests +- Use python-bson instead of python-pymongo in SLE +- Do not search for tests recursively in SLE but explicitly name + the directory/files containing tests. This solves an issue + building the package without pandas in SLE. + +------------------------------------------------------------------- New: ---- enable_gmpy_test.patch BETA DEBUG BEGIN: New:- Add patch to enable the gmpy test correctly: * enable_gmpy_test.patch - Disable BuildRequies pandas and scikit-learn in SLE where BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jsonpickle.spec ++++++ --- /var/tmp/diff_new_pack.3OXDZi/_old 2024-01-04 16:01:06.500652483 +0100 +++ /var/tmp/diff_new_pack.3OXDZi/_new 2024-01-04 16:01:06.500652483 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-jsonpickle # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ License: BSD-3-Clause URL: https://github.com/jsonpickle/jsonpickle Source: https://files.pythonhosted.org/packages/source/j/jsonpickle/jsonpickle-%{version}.tar.gz +Patch1: enable_gmpy_test.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module importlib_metadata if %python-base < 3.8} BuildRequires: %{python_module pip} @@ -41,10 +42,14 @@ BuildRequires: %{python_module ecdsa} BuildRequires: %{python_module gmpy2} BuildRequires: %{python_module numpy} +%if 0%{?suse_version} >= 1550 BuildRequires: %{python_module pandas} BuildRequires: %{python_module pymongo} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module scikit-learn} +%else +BuildRequires: %{python_module bson} +%endif +BuildRequires: %{python_module pytest} BuildRequires: %{python_module simplejson} BuildRequires: %{python_module ujson} # /SECTION @@ -71,7 +76,11 @@ donttest="test_multindex_dataframe_roundtrip" # https://github.com/jsonpickle/jsonpickle/issues/460 donttest+=" or test_timedelta_index_roundtrip" +%if 0%{?suse_version} < 1550 +%pytest -ra -k "not ($donttest)" tests jsonpickle/pickler.py jsonpickle/unpickler.py jsonpickle/util.py +%else %pytest -ra -k "not ($donttest)" +%endif %files %{python_files} %license LICENSE ++++++ enable_gmpy_test.patch ++++++ Index: jsonpickle-3.0.2/tests/ecdsa_test.py =================================================================== --- jsonpickle-3.0.2.orig/tests/ecdsa_test.py +++ jsonpickle-3.0.2/tests/ecdsa_test.py @@ -7,6 +7,7 @@ import pytest from helper import SkippableTest import jsonpickle +import jsonpickle.ext.gmpy @pytest.fixture(scope='module', autouse=True)