Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cl for openSUSE:Factory checked in at 2022-03-07 17:45:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cl (Old) and /work/SRC/openSUSE:Factory/.python-cl.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cl" Mon Mar 7 17:45:58 2022 rev:11 rq:958423 version:0.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cl/python-cl.changes 2018-12-13 19:48:04.632729464 +0100 +++ /work/SRC/openSUSE:Factory/.python-cl.new.1958/python-cl.changes 2022-03-07 17:45:59.779136214 +0100 @@ -1,0 +2,5 @@ +Wed Mar 2 08:46:09 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Add port-2to3.patch removing use_2to3 bit from setup.py. + +------------------------------------------------------------------- New: ---- port-2to3.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cl.spec ++++++ --- /var/tmp/diff_new_pack.Zr02iV/_old 2022-03-07 17:46:00.367136044 +0100 +++ /var/tmp/diff_new_pack.Zr02iV/_new 2022-03-07 17:46:00.375136042 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-cl # -# Copyright (c) 2018 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 @@ -25,20 +25,23 @@ Group: Development/Languages/Python URL: http://github.com/ask/cl/ Source: https://files.pythonhosted.org/packages/source/c/cl/cl-%{version}.tar.gz +# PATCH-FIX-UPSTREAM port-2to3.patch bsc#[0-9]+ mc...@suse.com +# Remove use_2to3 in setup.py +Patch0: port-2to3.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-kombu BuildArch: noarch Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives %python_subpackages %description Actor framework for Kombu %prep -%setup -q -n cl-%{version} +%autosetup -p1 -n cl-%{version} %build %python_build ++++++ port-2to3.patch ++++++ --- setup.cfg | 9 --------- setup.py | 7 ++----- 2 files changed, 2 insertions(+), 14 deletions(-) --- a/setup.cfg +++ b/setup.cfg @@ -1,12 +1,3 @@ -[nosetests] -verbosity = 1 -detailed-errors = 1 -where = cl/tests -cover3-branch = 1 -cover3-html = 1 -cover3-package = cl -cover3-exclude = cl - [build_sphinx] source-dir = docs/ build-dir = docs/.build --- a/setup.py +++ b/setup.py @@ -5,10 +5,8 @@ import sys import codecs extra = {} -tests_require = ["nose", "nose-cover3"] -if sys.version_info >= (3, 0): - extra.update(use_2to3=True) -elif sys.version_info <= (2, 6): +tests_require = [] +if sys.version_info <= (2, 6): tests_require.append("unittest2") elif sys.version_info <= (2, 5): tests_require.append("simplejson") @@ -111,7 +109,6 @@ setup( packages=packages, data_files=data_files, zip_safe=False, - test_suite="nose.collector", install_requires=[ 'kombu>=1.3.0', ],