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

Dont complain about old versions of PyQt4 and Qt4 #938

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

rahulporuri
Copy link
Contributor

@rahulporuri rahulporuri commented Apr 26, 2021

This PR removes the runtime errors that were being reaised for very old versions of PyQt4 and Qt4, specifically < 4.1 for PyQt4 and < 4.2 for Qt4. This is acceptable as the only available versions of PyQt4 on EDM for Python 3 are >= 4.11.

This commit drops support for very old versions of PyQt4 and Qt4,
specifically < 4.1 for PyQt4 and < 4.2 for Qt4. This is acceptable as
the only available versions of PyQt4 on EDM for Python 3 are >= 4.11
Copy link
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines -23 to -31
if QtCore.QT_VERSION < 0x040200:
raise RuntimeError(
"Need Qt v4.2 or higher, but got v%s" % QtCore.QT_VERSION_STR
)

if QtCore.PYQT_VERSION < 0x040100:
raise RuntimeError(
"Need PyQt v4.1 or higher, but got v%s" % QtCore.PYQT_VERSION_STR
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems as though we weren't supporting these anyway, just raising saying version is too old

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh. Right. Updated the PR title and description.

@rahulporuri rahulporuri changed the title Drop support for very old PyQt4 and Qt4 Dont complain about old versions of PyQt4 and Qt4 Apr 26, 2021
@rahulporuri rahulporuri merged commit c5ce5a6 into master Apr 26, 2021
@rahulporuri rahulporuri deleted the rahulporuri-patch-1 branch April 26, 2021 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants