Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-phue for openSUSE:Factory checked in at 2022-04-06 21:52:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-phue (Old) and /work/SRC/openSUSE:Factory/.python-phue.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-phue" Wed Apr 6 21:52:14 2022 rev:4 rq:967350 version:1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-phue/python-phue.changes 2019-03-26 15:45:01.616107297 +0100 +++ /work/SRC/openSUSE:Factory/.python-phue.new.1900/python-phue.changes 2022-04-06 21:52:49.134658227 +0200 @@ -1,0 +2,5 @@ +Wed Apr 6 09:29:54 UTC 2022 - pgaj...@suse.com + +- do not require python-mock for build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-phue.spec ++++++ --- /var/tmp/diff_new_pack.1bJzN5/_old 2022-04-06 21:52:51.026636636 +0200 +++ /var/tmp/diff_new_pack.1bJzN5/_new 2022-04-06 21:52:51.034636546 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-phue # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -23,7 +23,7 @@ Summary: Philips Hue Python library License: MIT Group: Development/Languages/Python -Url: https://github.com/studioimaginaire/phue +URL: https://github.com/studioimaginaire/phue # https://github.com/studioimaginaire/phue/issues/152 Source0: https://github.com/studioimaginaire/phue/archive/1.1.tar.gz#/phue-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -31,7 +31,6 @@ BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module fixtures} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} # /SECTION BuildArch: noarch @@ -48,6 +47,8 @@ %python_build %check +# https://github.com/studioimaginaire/phue/issues/196 +sed -i 's:import mock:import unittest.mock as mock:' tests/test_request.py %pytest %install