aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Oszkár Dénes <gaboroszkar@protonmail.com>2024-02-14 18:40:24 +0100
committerSam James <sam@gentoo.org>2024-02-23 04:39:26 +0000
commit92ff02b9189f8350f44e134d538319e4037f3f71 (patch)
tree10cbb64f516adf8aead9b072cc0d9a9673c39dc7 /lib/portage/tests/resolver/test_useflags.py
parentsocks5: Use real asyncio.run (diff)
downloadportage-92ff02b9189f8350f44e134d538319e4037f3f71.tar.gz
portage-92ff02b9189f8350f44e134d538319e4037f3f71.tar.bz2
portage-92ff02b9189f8350f44e134d538319e4037f3f71.zip
emerge: Skip installed packages with emptytree in depgraph selection
Running emerge with emptytree tries to find the best match for every atom it needs to install. Sometimes the best matches would be already installed packages (with `operation=nomerge`), but these packages would be silently skipped with full emptytree installation. This change makes sure that emerge attempts to install every package. If the package has unmet requirements, emerge will complain. Bug: https://bugs.gentoo.org/651018 Signed-off-by: Gábor Oszkár Dénes <gaboroszkar@protonmail.com> Closes: https://github.com/gentoo/portage/pull/1272 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'lib/portage/tests/resolver/test_useflags.py')
-rw-r--r--lib/portage/tests/resolver/test_useflags.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/portage/tests/resolver/test_useflags.py b/lib/portage/tests/resolver/test_useflags.py
index 86684f7f2..142a31c7f 100644
--- a/lib/portage/tests/resolver/test_useflags.py
+++ b/lib/portage/tests/resolver/test_useflags.py
@@ -1,4 +1,4 @@
-# Copyright 2014 Gentoo Foundation
+# Copyright 2014-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
import sys
@@ -292,8 +292,8 @@ class UseFlagsTestCase(TestCase):
"--usepkg": True,
},
success=False,
- mergelist=["[binary]dev-libs/A-2", "dev-libs/B-1"],
- slot_collision_solutions=[],
+ mergelist=None,
+ slot_collision_solutions=None,
),
)