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

python2.6 support #245

Merged
merged 5 commits into from
Sep 21, 2017
Merged

python2.6 support #245

merged 5 commits into from
Sep 21, 2017

Conversation

Ahuge
Copy link
Collaborator

@Ahuge Ahuge commented Aug 29, 2017

Working on #235

Don't merge yet. I haven't had a change to do it all yet or run the unittests yet.

@CLAassistant
Copy link

CLAassistant commented Aug 29, 2017

CLA assistant check
All committers have signed the CLA.

Qt.py Outdated
@@ -760,14 +760,22 @@ def _new_module(name):
return types.ModuleType(__name__ + "." + name)


def _import_module(name):
"""
import_module is a replacement for importlib.

Choose a reason for hiding this comment

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

trailing whitespace

Qt.py Outdated
@@ -760,15 +760,23 @@ def _new_module(name):
return types.ModuleType(__name__ + "." + name)


def _import_sub_module(module, name):
"""import_sub_module will mimic the functionality of importlib.import_module"""
module = __import__(module.__name__ + "." + name)

Choose a reason for hiding this comment

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

multiple spaces after operator

Qt.py Outdated
@@ -760,15 +760,23 @@ def _new_module(name):
return types.ModuleType(__name__ + "." + name)


def _import_sub_module(module, name):
"""import_sub_module will mimic the functionality of importlib.import_module"""

Choose a reason for hiding this comment

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

line too long (83 > 79 characters)

@Ahuge
Copy link
Collaborator Author

Ahuge commented Aug 29, 2017

I don't know Travis well enough to setup 2.6 tests. Do we need/want them?

I think it would be somewhere in the docker setup that I would add support for 2.6 I think.

@fredrikaverpil
Copy link
Collaborator

fredrikaverpil commented Aug 30, 2017

I don't know Travis well enough to setup 2.6 tests. Do we need/want them?

The question is whether all the bindings (of the versions we're using) will build on Python 2.6... I'm not sure. I would have to try that. For this PR, I suggest we skip such a test for now. I can add Python 2.6 support the next time I'm working on the #234 and see what happens.

It keeps *hounding* me
@Ahuge
Copy link
Collaborator Author

Ahuge commented Sep 13, 2017

Hey so I fixed the houndci issues, I am changing the title of this to remove the "WIP"

@Ahuge Ahuge changed the title [WIP] Started python2.6 support python2.6 support Sep 13, 2017
@mottosso
Copy link
Owner

Completely missed this one, sorry about that. I think this looks good. @Ahuge would you happen to have tested this (in production)?

@Ahuge
Copy link
Collaborator Author

Ahuge commented Sep 20, 2017

I think I've got a copy of it at work, I'll confirm in a bit

@Ahuge
Copy link
Collaborator Author

Ahuge commented Sep 20, 2017

Yeah confirmed the branch py26-support works in production.

@fredrikaverpil
Copy link
Collaborator

I'd say let's just merge this then.

@mottosso mottosso merged commit 07f6315 into mottosso:master Sep 21, 2017
@hugovk hugovk mentioned this pull request Oct 15, 2017
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.

5 participants