Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] depgraph: avoid missed update with slot operator and circ dep (bug 612874)
Date: Fri, 17 Mar 2017 16:06:10
Message-Id: CAMiTYSps+jFYuuDmtBhqo35XJt3Q2MfMwTindo1Qo7iKv2OLHg@mail.gmail.com
In Reply to: Re: [gentoo-portage-dev] [PATCH] depgraph: avoid missed update with slot operator and circ dep (bug 612874) by Brian Dolbec
1 On Fri, Mar 17, 2017 at 8:37 AM, Brian Dolbec <dolsen@g.o> wrote:
2 > On Fri, 17 Mar 2017 01:18:19 -0700
3 > Zac Medico <zmedico@g.o> wrote:
4 >
5 >> Fix check_reverse_dependencies to ignore direct circular dependencies,
6 >> since these dependencies tend to prevent updates of packages. This
7 >> solves a missed update from llvm:0 to llvm:4 when clang is not in the
8 >> world file, as demonstrated by the included test case.
9 >>
10 >> X-Gentoo-bug: 612874
11 >> X-Gentoo-bug-url: https://bugs.gentoo.org/show_bug.cgi?id=612874
12 >> ---
13 >> pym/_emerge/depgraph.py | 31
14 >> ++++++++++++----- .../resolver/test_slot_operator_exclusive_slots.py
15 >> | 39 ++++++++++++++++++++++
16 >> pym/portage/util/digraph.py | 6 ++++ 3 files
17 >> changed, 68 insertions(+), 8 deletions(-)
18 >
19 > Looks good
20 >
21 > --
22 > Brian Dolbec <dolsen>
23 >
24
25 Thanks, pushed:
26
27 https://gitweb.gentoo.org/proj/portage.git/commit/?id=35208d80a55228a50ea4ac64904465ce4651e381
28 --
29 Thanks,
30 Zac