GH-102973: Slim down Fedora packages in the dev container by hroncok · Pull Request #103283 · python/cpython
dnf install /usr/bin/... and dnf-command(builddep) to get exactly what we use. That way, we abstract away (possibly artificial) package names. This also fetches a slimmer version of git, called git-core, which avoids a dependency on Perl. However, Perl is eventually unfortunately still fetched in the next dnf command. This declares more used dependencies in the spirit of "explicit is better than implicit". Also set install_weak_deps=False to avoid installing unneeded weak dependencies.
hroncok
marked this pull request as ready for review
hroncok
deleted the
fedora-less-packages
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters