Skip to content
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

Failing loading pyqt version >=4.10 #1447

Closed
spyder-bot opened this issue Feb 17, 2015 · 1 comment
Closed

Failing loading pyqt version >=4.10 #1447

spyder-bot opened this issue Feb 17, 2015 · 1 comment

Comments

@spyder-bot
Copy link
Collaborator

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

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2013-06-19T06:11:07Z

Already fixed in latest stable releases of Spyder.

Status: Duplicate
Mergedinto: 1291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant