14
0

Accepting request 794545 from home:mcalabkova:branches:devel:languages:python

- 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
This commit is contained in:
Tomáš Chvátal
2020-04-16 10:26:01 +00:00
committed by Git OBS Bridge
parent e46b344976
commit dbbbc231a3
4 changed files with 21 additions and 5 deletions

View File

@@ -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