V Wed, Oct 05, 2022 at 11:22:27AM +0200, Miro Hrončok napsal(a):
Hello.
I need to repoquery rawhide and rawhide-source for dependency on python3-toml.
Unfortunately, due to pyproject-rpm-macros, 413 packages BuildRequire:
(python3dist(toml) if python3-devel < 3.11)
I am not interested in this dependency because python3-devel on rawhide is 3.11+.
When I run a naïve repoquery on my Fedora 35 machine (with python3-devel
3.10), like this:
$ repoquery --repo=rawhide{,-source} --whatrequires python3-toml
I get all the 413 packages in the results. I kinda expected that.
I've tried:
$ repoquery --installroot ~/tmp/non-existent ... --whatrequires python3-toml
No dice, returns the same list as the first repoquery.
I feel repoquery should respect --installroot. It needs to take @system
repository (i.e. installad packages) from somewhere. --instalroot is that
place. If DNF does not do that, I recommend filing a bug.
-- Petr