Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jirafs for openSUSE:Factory checked in at 2022-03-24 22:57:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jirafs (Old) and /work/SRC/openSUSE:Factory/.python-jirafs.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jirafs" Thu Mar 24 22:57:51 2022 rev:8 rq:964394 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jirafs/python-jirafs.changes 2022-03-01 17:04:36.388349964 +0100 +++ /work/SRC/openSUSE:Factory/.python-jirafs.new.1900/python-jirafs.changes 2022-03-24 22:59:07.772315933 +0100 @@ -1,0 +2,5 @@ +Wed Mar 23 12:55:28 UTC 2022 - [email protected] + +- do not require pytest-mock for build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jirafs.spec ++++++ --- /var/tmp/diff_new_pack.kRscCn/_old 2022-03-24 22:59:08.156316304 +0100 +++ /var/tmp/diff_new_pack.kRscCn/_new 2022-03-24 22:59:08.160316307 +0100 @@ -48,7 +48,6 @@ BuildRequires: %{python_module environmental-override >= 0.1.2} BuildRequires: %{python_module ipdb} BuildRequires: %{python_module jira >= 3.1.1} -BuildRequires: %{python_module mock} BuildRequires: %{python_module prettytable >= 0.7.2} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil >= 2.8.1} @@ -79,6 +78,11 @@ %python_clone -a %{buildroot}%{_bindir}/jirafs %check +# https://github.com/coddingtonbear/jirafs/issues/69 +sed -i 's:import mock:import unittest.mock as mock:' \ + tests/test_*.py tests/commands/base.py +sed -i 's:from mock import:from unittest.mock import:' \ + tests/test_*.py tests/commands/base.py tests/commands/test_push.py git config --global user.name "John Doe" git config --global user.email [email protected] %pytest -rs
