Re: How to repoquery without false-evaluated conditional requires?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05. 10. 22 14:15, Petr Pisar wrote:
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.

I've opened https://bugzilla.redhat.com/show_bug.cgi?id=2132462

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux