[Rpm-maint] [rpm-software-management/rpm] Python generators: Fails to add != dependency (#639)
Miro Hrončok
notifications at github.com
Wed Mar 6 10:34:32 UTC 2019
Ok, pip behavior:
Latest nbconvert version now is 5.4.1. 5.4.5 exists as well.
* `pip install 'nbconvert!=5.4'` installs 5.4.1
* `pip install 'nbconvert!=5.4.1'` installs 5.4.0
* `pip3 install 'nbconvert<5.4.1'` installs 5.4.0
* `pip3 install 'nbconvert<5.4.1,!=5.4'` installs 5.3.1
So for pip, 5.4 is the same as 5.4.0 but not the same as 5.4.(anything).
For rpm on the other hand, 5.4 < 5.4.0.
So to answer the original question, this should be:
Requires: (python3.7dist(nbconvert) < 5.4 or python3.7dist(nbconvert) >= 5.4.0.0.0.0.0)
Ideally with infinite number of zeros :(
--
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/639#issuecomment-470056736
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190306/b184fd23/attachment.html>
More information about the Rpm-maint
mailing list