diff options
author | 2024-02-23 18:45:58 -0800 | |
---|---|---|
committer | 2024-02-23 19:28:24 -0800 | |
commit | 01d06eb1d9dc8c4b16cbc9a6567ed0c07df5901a (patch) | |
tree | d08782e3d4964e0c06145a75276ec7985c2e52a0 | |
parent | AsyncioEventLoop: Call process.run_exitfuncs() before close (diff) | |
download | portage-01d06eb1d9dc8c4b16cbc9a6567ed0c07df5901a.tar.gz portage-01d06eb1d9dc8c4b16cbc9a6567ed0c07df5901a.tar.bz2 portage-01d06eb1d9dc8c4b16cbc9a6567ed0c07df5901a.zip |
Fix python 3.9 CI jobs since 92ff02b9189f
Use emerge -e to fix this error we've seen since
92ff02b9189f for python 3.9 CI jobs:
https://github.com/gentoo/portage/actions/runs/8014796128/job/21893963019
test_portage_baseline[binhost emerge-gpkg] - AssertionError: 'emerge' failed with args '('-e', '--getbinpkgonly', 'dev-libs/A')'
emerge: there are no binary packages to satisfy "dev-libs/B[flag]".
(dependency required by "dev-libs/A-1::test_repo" [binary])
(dependency required by "dev-libs/A" [argument])
Fixes: 92ff02b9189f ("emerge: Skip installed packages with emptytree in depgraph selection")
Bug: https://bugs.gentoo.org/651018
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r-- | lib/portage/tests/emerge/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/portage/tests/emerge/conftest.py b/lib/portage/tests/emerge/conftest.py index d9aec7041..580d1e09a 100644 --- a/lib/portage/tests/emerge/conftest.py +++ b/lib/portage/tests/emerge/conftest.py @@ -805,7 +805,7 @@ def _generate_all_baseline_commands(playground, binhost): test_commands["binhost emerge"] = Noop() else: # The next emerge has been added to split this test from the rest: - make_package = Emerge("--buildpkg", "dev-libs/A") + make_package = Emerge("-e", "--buildpkg", "dev-libs/A") getbinpkgonly = Emerge( "-e", "--getbinpkgonly", |