[Pki-devel] [PATCH] 0060 Package pki client library for Python 3

Christian Heimes cheimes at redhat.com
Thu Mar 3 22:47:53 UTC 2016


The patch implements https://fedorahosted.org/pki/ticket/1739.

We have a bit of a chicken and egg problem. The pki-upgrade command
depends on Python 2 code. Ade suggested to have both Python 2 and 3 code
in pki-base. The approach has the disadvantage to pull in python3
dependencies like python3-nss, python3-requests and python3-six.

The patch uses a different approach:

- new package 'pki-base-python3' depends on 'pki-base'
- 'pki-base' now also provides 'pki-base-python2'

You still can't have pki-base-python3 without pki-base-python2 but you
can have pki-base-python2 without Python 3. Once we switch to Python 3
for pki.server (10.4?), we can switch dependencies and have
pki-base-python2 as extra package.

Christian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-cheimes-0060-Package-pki-client-library-for-Python-3.patch
Type: text/x-patch
Size: 6614 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20160303/c09b876a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20160303/c09b876a/attachment.sig>


More information about the Pki-devel mailing list