Is python3-perf a leaf package or not?

Is python3-perf a leaf package or not?

python3-perf is required by tuned

# rpm -q --whatrequires python3-perf
tuned-2.24.1-1.fc41.noarch

dnf-repoquery says that python3-perf is a leaf package

# dnf repoquery --upgrades --leaves | grep perf
Updating and loading repositories:
Repositories loaded.
python3-perf-0:6.12.4-200.fc41.aarch64

dnf-leaves says that python3-perf is not a leaf package

# dnf leaves | grep -i perf
(empty)

@ps3taa,

dnf info python3-perf

shows that it comes from the kernel source package

https://src.fedoraproject.org/rpms/kernel/blob/f41/f/kernel.spec

has python3-perf as a subpackage

1 Like

I wonder if specifying both --upgrades and --leaves makes dnf ignor the --leaves part.

The leaves command is affected by the install_weak_deps setting.