This is a consequence of two things: 1) after the python 2/3 code merge what used to be unicode objects in the TXT record strings field became bytes objects, and 2) the FreeIPA code is directly invoking the TXT RR constructor instread of calling dns.rdata.from_text(), which is how dnspython would like you to do this kind of thing. If FreeIPA had called dns.rdata.from_text(), the right thing would have happened.
So at this point I think the best thing is to change the FreeIPA code as it will then work with any version of dnspython. I don't want to start making RR constructors apply lots of conversions as that's a job already handled in from_text().
This update has been submitted for testing by aviso.
This update has obsoleted python-dns-1.12.0GIT99fd864-1.fc24, and has inherited its bugs and notes.
This update has been pushed to testing.
FreeIPA installation failing with new version of python-dns
I will investigate later, but we cannot push this updates because it affects freeIPA installation
This build breaks DNS record manipulation and checks in FreeIPA, see https://paste.fedoraproject.org/447568/76088066/
Upstream says the problem is in FreeIPA. Sounds like it needs to be upstream in FreeIPA or in a patch.
From https://github.com/rthalley/dnspython/issues/214
This is a consequence of two things: 1) after the python 2/3 code merge what used to be unicode objects in the TXT record strings field became bytes objects, and 2) the FreeIPA code is directly invoking the TXT RR constructor instread of calling dns.rdata.from_text(), which is how dnspython would like you to do this kind of thing. If FreeIPA had called dns.rdata.from_text(), the right thing would have happened.
So at this point I think the best thing is to change the FreeIPA code as it will then work with any version of dnspython. I don't want to start making RR constructors apply lots of conversions as that's a job already handled in from_text().
Fedora Bug report to fix FreeIPA
https://bugzilla.redhat.com/show_bug.cgi?id=1383494
FreeIPA ticket
https://fedorahosted.org/freeipa/ticket/6390
Okay. Please do not push this to stable until this is fixed in FreeIPA, we will have a look. I do not want to break all the IPA users.
Ok, just let me know when FreeIPA has been pushed.
FreeIPA has been released and dnspython 1.15 works
FreeIPA 4.4.2 works
This update has reached 7 days in testing and can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
seems fine here (existing IPA client)
This update has been pushed to stable.