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,3 +1,18 @@
-------------------------------------------------------------------
Wed Apr 15 15:49:52 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- 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 dont have a route to the root.
-------------------------------------------------------------------
Sat Mar 16 17:27:15 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3418810b814b6e4e8ce2e8b814ba96bb68038169b20a13c4c7eb324f73f3d93c
size 13034

3
resolvelib-0.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bddb31a88b77a74c3df5d0ff0c460ab7d0079ac61b91a44242f35251472c272c
size 376049