[Freeipa-devel] [PATCHES] 0789-0796 Python 3 fixes for the server part

Petr Viktorin pviktori at redhat.com
Fri May 20 15:04:43 UTC 2016


Hello,
Here are some more Python3 patches. Most are pretty routine, but pay
special attention to the first and last patch.


With these patches, running the in-tree test suite gives me the same
errors in Python 2 and Python 3, except:
- test_install – failures in the updater that I haven't investigated yet
- test_ipaserver – test bug (relying on order of values in an LDAP
attribute) and a text/bytes issue in certificate parsing


In the next few months, I'll need to focus less on IPA and more on
Samba, which is a prerequisite for porting the IPA server. So I'll
quickly summarize the current state of the porting effort:

All of FreeIPA's dependencies except Samba are ported to Python 3 (and
packaged in Fedora).
A recent change switched the IPA client to running on Python 3. With the
patches I'm sending now, most of the "single machine" tests are passing.
The install scripts will still need some work, as will the server parts
that aren't shared with the client.


I'd like to ask the IPA team to sometimes take a look at the Python 3
tests, and try to avoid too many regressions.


-- 
Petr Viktorin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0789-ipaldap-Keep-attribute-names-as-text-not-bytes.patch
Type: text/x-patch
Size: 1318 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160520/c4abb080/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0790-ipapython.secrets.kem-Use-ConfigParser-from-six.move.patch
Type: text/x-patch
Size: 1447 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160520/c4abb080/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0791-test_topology_plugin-Don-t-rely-on-order-of-an-attri.patch
Type: text/x-patch
Size: 1256 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160520/c4abb080/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0792-test_rpcserver-Expect-updated-error-message-under-Py.patch
Type: text/x-patch
Size: 1386 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160520/c4abb080/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0793-ipaplatform.redhat-Use-bytestrings-when-calling-rpm..patch
Type: text/x-patch
Size: 1327 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160520/c4abb080/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0794-test_ipaserver.test_ldap-Use-bytestrings-for-raw-LDA.patch
Type: text/x-patch
Size: 2257 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160520/c4abb080/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0795-ipaldap-Convert-dict-items-to-list-before-iterating.patch
Type: text/x-patch
Size: 1032 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160520/c4abb080/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pviktori-0796-test_ipaserver.test_ldap-Adjust-tests-to-Python-3-s-.patch
Type: text/x-patch
Size: 2050 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160520/c4abb080/attachment-0007.bin>


More information about the Freeipa-devel mailing list