Hello community, here is the log from the commit of package python-pypuppetdb for openSUSE:Factory checked in at 2020-03-23 12:50:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pypuppetdb (Old) and /work/SRC/openSUSE:Factory/.python-pypuppetdb.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pypuppetdb" Mon Mar 23 12:50:04 2020 rev:5 rq:786903 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pypuppetdb/python-pypuppetdb.changes 2019-09-11 10:36:38.515274475 +0200 +++ /work/SRC/openSUSE:Factory/.python-pypuppetdb.new.3160/python-pypuppetdb.changes 2020-03-23 12:50:47.311965006 +0100 @@ -1,0 +2,14 @@ +Fri Mar 20 12:59:19 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- Update to 2.1.0 + * Dropping old python 2.7/3.5 and ensuring 3 latest versions are supported + * Adding mypy + cleanup + further removal of python2 code + * Bugfix: Httpretty is not used outside tests and breaks install on newer python versions for some systems + * Add option to get nodes without using event-counts + * define the project status as stable + * bundle requirements-test.txt in python package + * Bugfix: Fixed metric() function to query the new v2 endpoint based on Jolokia + * added few new parameters +- Added patch loosen-requirements.patch + +------------------------------------------------------------------- Old: ---- v1.1.0.tar.gz New: ---- loosen-requirements.patch v2.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pypuppetdb.spec ++++++ --- /var/tmp/diff_new_pack.oTkclm/_old 2020-03-23 12:50:48.539965777 +0100 +++ /var/tmp/diff_new_pack.oTkclm/_new 2020-03-23 12:50:48.543965780 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pypuppetdb # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,26 +17,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pypuppetdb -Version: 1.1.0 +Version: 2.1.0 Release: 0 Summary: Library to work with PuppetDB's REST API License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/nedap/pypuppetdb Source: https://github.com/voxpupuli/pypuppetdb/archive/v%{version}.tar.gz +# PATCH-FIX-OPENSUSE Fix requirements in generated egg-info +Patch0: loosen-requirements.patch BuildRequires: %{python_module httpretty >= 0.9.6} BuildRequires: %{python_module mock >= 1.0.1} BuildRequires: %{python_module pytest >= 3.0.1} BuildRequires: %{python_module pytest-cov >= 2.2.1} BuildRequires: %{python_module requests >= 2.22.0} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six >= 1.12.0} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-httpretty >= 0.9.6 Requires: python-requests >= 2.22.0 -Requires: python-six >= 1.12.0 BuildArch: noarch %python_subpackages @@ -46,6 +46,7 @@ %prep %setup -q -n pypuppetdb-%{version} +%patch0 -p1 %build %python_build @@ -56,6 +57,8 @@ %check %pytest +# requirements-test.txt packages oddly +rm %{buildroot}/usr/requirements_for_tests/requirements-test.txt %files %{python_files} %doc README.rst CHANGELOG.rst ++++++ loosen-requirements.patch ++++++ Index: pypuppetdb-2.0.0/requirements.txt =================================================================== --- pypuppetdb-2.0.0.orig/requirements.txt +++ pypuppetdb-2.0.0/requirements.txt @@ -1,2 +1 @@ -requests==2.22.0 -six==1.13.0 +requests>=2.22.0 ++++++ v1.1.0.tar.gz -> v2.1.0.tar.gz ++++++ ++++ 2274 lines of diff (skipped)