Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Python: fpm does not understand != version restrictions #263

Closed
tabletcorry opened this Issue Sep 21, 2012 · 5 comments

Comments

Projects
None yet
4 participants
Contributor

tabletcorry commented Sep 21, 2012

fpm copies the != version requirement straight into the RPM spec. rpmbuild does not appreciate this...

I can work around with "-e", but worth fixing.

Edit: Examples are useful! In this case the ssh package used by Fabric has a not equals in the spec.

Collaborator

r4um commented Nov 27, 2012

RPM doesn't understand != dependency and one cannot do X<1 or X>1 with RPM either. Similar issue #243.
Its a difficult decision to auto convert != to > or <, probably a command line switch to do it automatically ?

Contributor

brutasse commented Dec 6, 2012

Just ran into the same issue with Fabric. IMO the dependency should be dropped with a loud warning. People can manual-check and pass the resolved dependency with -d, that seems like the sanest option to me.

Owner

jordansissel commented Dec 6, 2012

Seems like maybe a '!=" should offer as a "Conflicts" or alternately a very loud warning as @brutasse suggests

Collaborator

r4um commented Dec 7, 2012

👍 adding it as a conflict.

Collaborator

r4um commented Dec 7, 2012

FYI fabric fails becuase an empty line is picked up from requirements.txt.

["", "nose", "Fudge < 1.0", "Sphinx >= 0.6"]

@prof-milki prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014

jls Merge pull request #312 from r4um/fix_263
* Fix #263 Convert != dependency as Conflict =, as rpm doesn't understand it
27667ef

@prof-milki prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 27, 2014

@jordansissel jordansissel Merge pull request #312 from r4um/fix_263
* Fix #263 Convert != dependency as Conflict =, as rpm doesn't understand it
382e243

@jordansissel jordansissel added a commit that referenced this issue Apr 24, 2015

@jordansissel jordansissel Merge pull request #312 from r4um/fix_263
* Fix #263 Convert != dependency as Conflict =, as rpm doesn't understand it
d430a58

@jordansissel jordansissel added a commit that referenced this issue Jun 20, 2016

@jordansissel jordansissel Merge pull request #312 from r4um/fix_263
* Fix #263 Convert != dependency as Conflict =, as rpm doesn't understand it
7172e14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment