From dbbbc231a32b8c860a612fe9984b74f189d4d138f2b237044dd41aabf6db074c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 16 Apr 2020 10:26:01 +0000 Subject: [PATCH] Accepting request 794545 from home:mcalabkova:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 0.3.0 * Provide both the requirements and their parents as exceptiondata for the ``ResolutionImpossible`` exception, via a ``causes`` attribute that replaces the previous ``requirements`` attribute. * Make resolver backtrack when none of the candidates requested for a package are able to resolve due to them requesting unworkable requirements, or a package has no candidates at all. Previously the resolver would give up on the spot. * Ensure the result returned by the resolver only contains candidates that are actually needed. This is done by tracing the graph after resolution completes, snipping nodes that don’t have a route to the root. OBS-URL: https://build.opensuse.org/request/show/794545 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-resolvelib?expand=0&rev=5 --- python-resolvelib.changes | 15 +++++++++++++++ python-resolvelib.spec | 5 +++-- resolvelib-0.2.2.tar.gz | 3 --- resolvelib-0.3.0.tar.gz | 3 +++ 4 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 resolvelib-0.2.2.tar.gz create mode 100644 resolvelib-0.3.0.tar.gz diff --git a/python-resolvelib.changes b/python-resolvelib.changes index 9c6dc86..a019d10 100644 --- a/python-resolvelib.changes +++ b/python-resolvelib.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed Apr 15 15:49:52 UTC 2020 - Marketa Calabkova + +- Update to 0.3.0 + * Provide both the requirements and their parents as exceptiondata for the + ``ResolutionImpossible`` exception, via a ``causes`` attribute that replaces + the previous ``requirements`` attribute. + * Make resolver backtrack when none of the candidates requested for a package + are able to resolve due to them requesting unworkable requirements, or a + package has no candidates at all. Previously the resolver would give up on the + spot. + * Ensure the result returned by the resolver only contains candidates that are + actually needed. This is done by tracing the graph after resolution completes, + snipping nodes that don’t have a route to the root. + ------------------------------------------------------------------- Sat Mar 16 17:27:15 UTC 2019 - Jan Engelhardt diff --git a/python-resolvelib.spec b/python-resolvelib.spec index 2060d3f..5629d05 100644 --- a/python-resolvelib.spec +++ b/python-resolvelib.spec @@ -1,7 +1,7 @@ # # spec file for package python-resolvelib # -# 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 @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-resolvelib -Version: 0.2.2 +Version: 0.3.0 Release: 0 Summary: Module to resolve abstract dependencies into concrete ones License: ISC Group: Development/Languages/Python URL: https://github.com/sarugaku/resolvelib Source: https://github.com/sarugaku/resolvelib/archive/%{version}.tar.gz#/resolvelib-%{version}.tar.gz +BuildRequires: %{python_module commentjson} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes diff --git a/resolvelib-0.2.2.tar.gz b/resolvelib-0.2.2.tar.gz deleted file mode 100644 index e0bf314..0000000 --- a/resolvelib-0.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3418810b814b6e4e8ce2e8b814ba96bb68038169b20a13c4c7eb324f73f3d93c -size 13034 diff --git a/resolvelib-0.3.0.tar.gz b/resolvelib-0.3.0.tar.gz new file mode 100644 index 0000000..0c360bd --- /dev/null +++ b/resolvelib-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bddb31a88b77a74c3df5d0ff0c460ab7d0079ac61b91a44242f35251472c272c +size 376049