-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vdk-kerberos-auth: upgrade minikerberos and requests-kerberos to latest #742
Conversation
Issues were noticed with python >3.7 with requests-kerberos configured hostname. The minikerberos dependency was pinned to 0.1.0 - due to interface changes introduced in later versions. We need to upgrade to the latest, so we solve issues fixed in later dependency versions. Unpinned minikerberos and requests-kerberos versions, using effectively: minikerberos 0.2.17 requests-kerberos 0.14.0 Introduced VdkAioKerberosClient implementation, based on minikerberos AIOKerberosClient, that patches two issues marked with a comment. We will elaborate further on potentially contributing the fixes back to minikerberos. Testing Done: did install locally and run an authentication successfully using a keytab and KDC server available. Signed-off-by: ikoleva <[email protected]>
Issues were noticed with python >3.7 with requests-kerberos configured hostname. The minikerberos dependency was pinned to 0.1.0 - due to functional changes introduced in later versions. We need to upgrade to the latest, so we solve issues fixed in later dependency versions. Unpinned minikerberos and requests-kerberos versions, using effectively: minikerberos 0.2.17 requests-kerberos 0.14.0 Testing Done: did install locally and run an authentication successfully using a keytab and KDC server available. Signed-off-by: ikoleva <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There seems to be missing changes, https://gitlab.com/vmware-analytics/versatile-data-kit/-/jobs/2137464316#L427
projects/vdk-plugins/vdk-kerberos-auth/src/vdk/plugin/kerberos/vdk_kerberos_client.py
Show resolved
Hide resolved
projects/vdk-plugins/vdk-kerberos-auth/src/vdk/plugin/kerberos/vdk_kerberos_client.py
Show resolved
Hide resolved
projects/vdk-plugins/vdk-kerberos-auth/src/vdk/plugin/kerberos/vdk_kerberos_client.py
Show resolved
Hide resolved
Are the introduced changes covered by existing tests? If not we should think about testing. |
tests cover the change; |
…st (#742) * vdk-kerberos-auth: upgrade minikerberos and requests-kerberos to latest Issues were noticed with python >3.7 with requests-kerberos configured hostname. The minikerberos dependency was pinned to 0.1.0 - due to functional changes introduced in later versions. We need to upgrade to the latest, so we solve issues fixed in later dependency versions. Unpinned minikerberos and requests-kerberos versions, using effectively: minikerberos 0.2.17 requests-kerberos 0.14.0 Introduced VdkAioKerberosClient implementation, based on minikerberos AIOKerberosClient, that patches two issues marked with a comment. We will elaborate further on potentially contributing the fixes back to minikerberos. Testing Done: did install locally and run an authentication successfully using a keytab and KDC server available. Signed-off-by: ikoleva <[email protected]>
Issues were noticed with python >3.7 with requests-kerberos configured
hostname. The minikerberos dependency was pinned to 0.1.0 - due to
functional changes introduced in later versions. We need to upgrade to
the latest, so we solve issues fixed in later dependency versions.
Unpinned minikerberos and requests-kerberos versions, using effectively:
minikerberos 0.2.17
requests-kerberos 0.14.0
Introduced VdkAioKerberosClient implementation, based on minikerberos
AIOKerberosClient, that patches two issues marked with a comment.
We will elaborate further on potentially contributing the fixes back to
minikerberos.
Testing Done: did install locally and run an authentication successfully
using a keytab and KDC server available.
Signed-off-by: ikoleva [email protected]