Re: [Rpm-maint] [rpm-software-management/rpm] Python requires generator: Cannot chain different ops: or + with (#995)

2020-01-11 Thread Gordon Messmer
The RPM Python API would be ideal if I could use it to determine if an expression were valid. I would think dsSingle would do that, but it does not seem to care whether the second arg is a valid expression or not. -- You are receiving this because you are subscribed to this thread. Reply to

Re: [Rpm-maint] [rpm-software-management/rpm] Python requires generator: Cannot chain different ops: or + with (#995)

2020-01-11 Thread ニール・ゴンパ
The RPM Python API may provide a way to build such a tool that could be incorporated into [`rpmdevtools`](https://pagure.io/rpmdevtools), but there's currently no such tool. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Python requires generator: Cannot chain different ops: or + with (#995)

2020-01-11 Thread Gordon Messmer
Does rpm offer an interface to determine whether or not a dependency expression is valid, either on a command line or in python's "rpm" module? Or is building an rpm the only available test? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or