Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-lml for openSUSE:Factory checked in at 2022-03-24 22:57:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-lml (Old) and /work/SRC/openSUSE:Factory/.python-lml.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lml" Thu Mar 24 22:57:37 2022 rev:3 rq:964385 version:0.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-lml/python-lml.changes 2020-08-14 13:10:51.861245289 +0200 +++ /work/SRC/openSUSE:Factory/.python-lml.new.1900/python-lml.changes 2022-03-24 22:58:00.540251030 +0100 @@ -1,0 +2,14 @@ +Wed Mar 23 11:07:34 UTC 2022 - [email protected] + +- version update to 0.1.0 + #. non class object can be a plugin too + #. `#20 <https://github.com/python-lml/lml/issues/20>`_: When a plugin was not + installed, it now calls raise_exception method +- test the package +- deleted patches + - remove_nose.patch (upstreamed) +- added patches + fix https://github.com/python-lml/lml/issues/26 + + python-lml-no-mock.patch + +------------------------------------------------------------------- Old: ---- lml-0.0.9.tar.gz remove_nose.patch New: ---- lml-0.1.0.tar.gz python-lml-no-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lml.spec ++++++ --- /var/tmp/diff_new_pack.K1krBH/_old 2022-03-24 22:58:00.996251470 +0100 +++ /var/tmp/diff_new_pack.K1krBH/_new 2022-03-24 22:58:01.000251474 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-lml # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,22 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-lml -Version: 0.0.9 +Version: 0.1.0 Release: 0 Summary: A lazy plugin management system for Python License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/chfw/lml Source: https://files.pythonhosted.org/packages/source/l/lml/lml-%{version}.tar.gz -# PATCH-FEATURE-UPSTREAM remove_nose.patch bsc#[0-9]+ [email protected] -# Replace dependency on nose with pytest -Patch0: remove_nose.patch +# https://github.com/python-lml/lml/issues/26 +Patch0: python-lml-no-mock.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module mock} +BuildRequires: %{python_module isort} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -60,9 +59,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -export PYTEST_ADDOPTS="--doctest-modules --doctest-glob='*.rst'" -# Not yet gh#python-lml/lml#19 -# %%pytest README.rst tests docs/source lml +# test_plugin_loader': no pyexcel_test module +%pytest tests -k 'not test_plugin_loader' %files %{python_files} %license LICENSE ++++++ lml-0.0.9.tar.gz -> lml-0.1.0.tar.gz ++++++ ++++ 2241 lines of diff (skipped) ++++++ python-lml-no-mock.patch ++++++ Index: lml-0.1.0/tests/test_plugin_loader.py =================================================================== --- lml-0.1.0.orig/tests/test_plugin_loader.py 2020-10-21 15:43:35.000000000 +0200 +++ lml-0.1.0/tests/test_plugin_loader.py 2022-03-23 12:11:13.572130494 +0100 @@ -1,4 +1,4 @@ -from mock import patch +from unittest.mock import patch @patch("pkgutil.get_importer") Index: lml-0.1.0/tests/test_plugin_manager.py =================================================================== --- lml-0.1.0.orig/tests/test_plugin_manager.py 2020-10-21 15:43:35.000000000 +0200 +++ lml-0.1.0/tests/test_plugin_manager.py 2022-03-23 12:11:45.524320687 +0100 @@ -6,7 +6,7 @@ from lml.plugin import ( _show_me_your_name, ) -from mock import patch +from unittest.mock import patch from pytest import raises Index: lml-0.1.0/tests/test_utils.py =================================================================== --- lml-0.1.0.orig/tests/test_utils.py 2020-10-21 15:43:35.000000000 +0200 +++ lml-0.1.0/tests/test_utils.py 2022-03-23 12:12:00.560410186 +0100 @@ -1,7 +1,7 @@ from lml.utils import do_import, json_dumps from lml.plugin import PluginManager -from mock import patch +from unittest.mock import patch from pytest import raises
