On 20.05.2016 17:04, Petr Viktorin wrote:
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.




ACK, pushed

master:
* 36094b2a542a9472506034dc6c86a573e95c71de ipaldap: Keep attribute names as text, not bytes * 75d0a73bbc426e9b6cabc38f2e932d701b25a762 ipapython.secrets.kem: Use ConfigParser from six.moves * 9477cddfeb9adc03e039155ce3b8a0b560f71098 test_topology_plugin: Don't rely on order of an attribute's values * 9ca450ac436344afd3a46d9852d8329a2e9a48d2 test_rpcserver: Expect updated error message under Python 3 * 743828b0f47ca4934125cfb8dc57f79283b95a4d ipaplatform.redhat: Use bytestrings when calling rpm.so for version comparison * 25560f0e1db0c432de35a2496d9c1f8e63dc3dfd test_ipaserver.test_ldap: Use bytestrings for raw LDAP values * c192c1ae3e080597995b906d93cc7607ffc605c0 ipaldap: Convert dict items to list before iterating * 037eae26d0cd8467d3a559bb4cc585c61b626734 test_ipaserver.test_ldap: Adjust tests to Python 3's KeyView
ipa-4-3:
* f01b5e506c720181f56e54aa89925a4720642d83 ipaldap: Keep attribute names as text, not bytes * 546b1d0fe6cefd2cbaa3d56f0b1d2939fbdff291 ipapython.secrets.kem: Use ConfigParser from six.moves * 937ebf43745dff7c9894954262bab2d71d9afc71 test_topology_plugin: Don't rely on order of an attribute's values * 74e3fd1d4ae4067caf0d4bda9e962e7c5ceb821c test_rpcserver: Expect updated error message under Python 3 * 12e73c95ccd26b5d8156abfddd59ddaca0689a6b ipaplatform.redhat: Use bytestrings when calling rpm.so for version comparison * 3c610bee162f6b420ae91592d90303b662249b7e test_ipaserver.test_ldap: Use bytestrings for raw LDAP values * a78c350589733585b78d6cd7ece63276c2b57634 ipaldap: Convert dict items to list before iterating * 1933e604fb0822bc08caa4aec499be949f731d3b test_ipaserver.test_ldap: Adjust tests to Python 3's KeyView

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to