We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From ole-hen...@waagaard.com on 2013-06-19T05:07:10Z
requirements.check_version does the checking on versions as strings and not numbers. The test will fail for pyqt version 4.10 and above.
The below patch fixes the problem
def check_version(actual_str, required_str): """Return True if actual_str version fit required_str requirement""" import pdb; pdb.set_trace() actual = map(int,actual_str.split('.')) required = map(int,required_str.split('.')) return actual[0] < required[0] or (actual[0] == required[0] and actual[1] < required[1])
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1447
The text was updated successfully, but these errors were encountered:
From pierre.raybaut on 2013-06-19T06:11:07Z
Already fixed in latest stable releases of Spyder.
Status: Duplicate Mergedinto: 1291
Sorry, something went wrong.
No branches or pull requests
From ole-hen...@waagaard.com on 2013-06-19T05:07:10Z
requirements.check_version does the checking on versions as strings and not numbers. The test will fail for pyqt version 4.10 and above.
The below patch fixes the problem
def check_version(actual_str, required_str):
"""Return True if actual_str version fit required_str requirement"""
import pdb; pdb.set_trace()
actual = map(int,actual_str.split('.'))
required = map(int,required_str.split('.'))
return actual[0] < required[0] or
(actual[0] == required[0] and actual[1] < required[1])
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1447
The text was updated successfully, but these errors were encountered: