New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
@tabletcorry
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.

@r4um

This comment has been minimized.

Contributor

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 ?

@brutasse

This comment has been minimized.

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.

@jordansissel

This comment has been minimized.

Owner

jordansissel commented Dec 6, 2012

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

@r4um

This comment has been minimized.

Contributor

r4um commented Dec 7, 2012

👍 adding it as a conflict.

@r4um

This comment has been minimized.

Contributor

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 pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014

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

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

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

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

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

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

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