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

Python 3 support in the next release ? #60

Closed
CyrilRoelandteNovance opened this issue Mar 3, 2014 · 5 comments

Comments

@CyrilRoelandteNovance
Copy link

commented Mar 3, 2014

I've just tested the Python3 branch, which seems to be working. Is it ready to be merged into master for the next release ? OpenStack could really use a Python3 compatible version of dnspython :)

@rthalley

This comment has been minimized.

Copy link
Owner

commented Mar 3, 2014

On Mar 3, 2014, at 6:30, CyrilRoelandteNovance notifications@github.com wrote:

I've just tested the Python3 branch, which seems to be working. Is it ready to be merged into master for the next release ? OpenStack could really use a Python3 compatible version of dnspython :)

You want to use dnspython3; that's the Python3 branch packaged and released. I am now always doing parallel releases of dnspython and dnspython3.

The branch cannot be merged into master, ever, basically because it was too hard to have source that worked on both as dnspython operates heavily in areas of painful difference between Python 2.x and Python 3.x.

/Bob

@CyrilRoelandteNovance

This comment has been minimized.

Copy link
Author

commented Mar 3, 2014

Ok, thanks a lot!

@JocelynDelalande

This comment has been minimized.

Copy link

commented Oct 27, 2015

@rthalley Then how to build a software compatible with both python2 and python3 on top of dnspython ?

@rthalley

This comment has been minimized.

Copy link
Owner

commented Oct 27, 2015

On Oct 27, 2015, at 09:39, JocelynDelalande notifications@github.com wrote:

@rthalley https://github.com/rthalley Then how to build a software compatible with both python2 and python3 on top of dnspython ?

It's too hard to make a single dnspython API that works on python2 and python3, so you'd need a thin adapter thing that did the right stuff depending on the version of dnspython

@JocelynDelalande

This comment has been minimized.

Copy link

commented Oct 27, 2015

It's too hard to make a single dnspython API that works on python2 and python3, so you'd need a thin adapter thing that did the right stuff depending on the version of dnspython

Yes, but how to require either dnspython or dnspython3 in the project setup.py ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.