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 th
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:
h
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 vi
Closed #995 via #996.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/995#event-2920694911___
Rpm-maint mailing list
Rpm-maint@
https://github.com/rpm-software-management/rpm/pull/996
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/995#issuecomment-570524325_
My fix does this:
```
(python3.8dist(pyparsing) >= 2.0.1 with (python3.8dist(pyparsing) < 2.1.2 or
python3.8dist(pyparsing) >= 2.1.2.0) with (python3.8dist(pyparsing) < 2.0.4 or
python3.8dist(pyparsing) >= 2.0.4.0) with (python3.8dist(pyparsing) < 2.1.6 or
python3.8dist(pyparsing) >= 2.1.6.0))
I'm testing a fix. If it works, will submit a PR.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/995#issuecomment-570520655___
We would need to put the or pairs into parenthesis, correct?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/995#issuecomment-570517923
The new version of Python requires generator fails with complicated expressions.
cc @gordonmessmer @Conan-Kudo @ignatenkobrain
Examples:
## Matplotlib
https://koschei.fedoraproject.org/package/python-matplotlib?collection=f32
Requirement: `pyparsing>=2.0.1,!=2.0.4,!=2.1.2,!=2.1.6`
```
Cannot