Stop caching provides of added packages
This only works in non-greedy mode. When greedy, the same provides can be linked to multiple packages that should be pulled in. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
7343daba24
commit
cd80d6ef5a
@ -269,12 +269,6 @@ class Gather(GatherBase):
|
||||
if i.repoid in self.opts.lookaside_repos:
|
||||
self._set_flag(i, PkgFlag.lookaside)
|
||||
|
||||
for pkg in added:
|
||||
if pkg is None:
|
||||
continue
|
||||
for prov in pkg.provides:
|
||||
self.finished_get_package_deps_reqs.setdefault(str(prov), set()).add(pkg)
|
||||
|
||||
self.result_binary_packages.update(added)
|
||||
|
||||
def _get_package_deps(self, pkg):
|
||||
|
@ -1709,14 +1709,6 @@ class DNFDepsolvingTestCase(DepsolvingBase, unittest.TestCase):
|
||||
def test_bash_older(self):
|
||||
pass
|
||||
|
||||
@unittest.skip('Not implemented yet')
|
||||
def test_smtpdaemon_greedy_all_explicit_sendmail(self):
|
||||
pass
|
||||
|
||||
@unittest.skip('Not implemented yet')
|
||||
def test_smtpdaemon_greedy_all_explicit_postfix(self):
|
||||
pass
|
||||
|
||||
@unittest.skip('Not implemented yet')
|
||||
def test_requires_pre_post(self):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user