[PATCH 0048] Package pki client library for Python 3
by Christian Heimes
Hi,
Dogtag's Python code has been compatible with Python 3 for a while. So
far the code hasn't been packages for Python 3 yet. I've been exploring
ways to package the client part of Dogtag's pki package for FreeIPA. The
attached patch packages the client libraries from base/common/python/pki
as a new python3-pki package.
Christian
8 years, 2 months
[PATCH 45/46] Run flake8 and pylint --py3k and fix violations
by Christian Heimes
The first patch add flake8 tests and pylint --py3k to RPM build. The
second patch fixes a couple of flake8 violations that have accumulated
in the past month.
I'm still having a problem with sphinx autodocs. It can't build
documentation for pki.crypto. It looks like autodocs doesn't do relative
imports correctly and picks up pki/nss.py as nss.
SphinxWarning: /home/heimes/redhat/pki/base/common/python/pki.rst:39:
WARNING: autodoc: failed to import module u'pki.crypto'; the following
exception was raised:
Traceback (most recent call last):
File
"/home/heimes/redhat/pki/.tox/docs/lib/python2.7/site-packages/sphinx/ext/autodoc.py",
line 385, in import_object
__import__(self.modname)
File
"/home/heimes/redhat/pki/.tox/docs/lib/python2.7/site-packages/pki/crypto.py",
line 26, in <module>
import nss.nss as nss
ImportError: No module named nss
Christian
8 years, 2 months
[PATCH] 0063 Extract common base class for SSLAuthenticatorWithFallback
by Fraser Tweedale
The attached patch was written as part of work implementing GSS-API
authentication. We actually might not end up using
SSLAuthenticatorWithFallback to interpret the authentication data
but I think this refactor is worthwhile on its own, so here's the
patch.
Cheers,
Fraser
8 years, 3 months