mongodb / winkerberos

A native Kerberos client implementation for Python on Windows
Apache License 2.0
54 stars 15 forks source link

module 'winkerberos' has no attribute 'authGSSClientUsername' #42

Closed vicia1024 closed 3 years ago

vicia1024 commented 3 years ago

when I upgrade the modue winkerberos to 0.8.0, I am getting a module 'winkerberos' has no attribute 'authGSSClientUsername' error. Here's the trackback of error: tests\conftest.py:5: in from tci_buildgraph import BuildGraph, BuildGraphInfo jenkins-component-package-windows-ci-102\lib\site-packages\tci_buildgraph__init.py:10: in from .builder import BuildGraphBuilder jenkins-component-package-windows-ci-102\lib\site-packages\tci_buildgraph\builder.py:9: in from tci_idl import HbaseClient, make_columns, make_row_coord, make_rows_coord jenkins-component-package-windows-ci-102\lib\site-packages\tci_idl__init__.py:5: in from .ci_mail.v001.client import CiMailClient jenkins-component-package-windows-ci-102\lib\site-packages\tci_idl\ci_mail\v001\client.py:6: in from tci_idl.base_client import ThriftClient jenkins-component-package-windows-ci-102\lib\site-packages\tci_idl\base_client.py:15: in from .discovery import Discovery, nearly_select jenkins-component-package-windows-ci-102\lib\site-packages\tci_idl\discovery.py:11: in from tci_util import dump_object, log_duration jenkins-component-package-windows-ci-102\lib\site-packages\tci_util__init__.py:5: in from .bulletin import BulletinBoard jenkins-component-package-windows-ci-102\lib\site-packages\tci_util\bulletin.py:9: in from tci_zookeeper import ZKLib, ZookeeperError jenkins-component-package-windows-ci-102\lib\site-packages\tci_zookeeper\init__.py:6: in from .zklocklib import ZKLib, zk_lock jenkins-component-package-windows-ci-102\lib\site-packages\tci_zookeeper\zklocklib.py:10: in from kazoo.client import KazooClient jenkins-component-package-windows-ci-102\lib\site-packages\kazoo\client.py:27: in from kazoo.protocol.connection import ConnectionHandler jenkins-component-package-windows-ci-102\lib\site-packages\kazoo\protocol\connection.py:46: in from puresasl.client import SASLClient jenkins-component-package-windows-ci-102\lib\site-packages\puresasl\client.py:4: in import puresasl.mechanisms as mech_mod jenkins-component-package-windows-ci-102\lib\site-packages\puresasl\mechanisms.py:21: in kerberos.authGSSClientUserName = kerberos.authGSSClientUsername E AttributeError: module 'winkerberos' has no attribute 'authGSSClientUsername'

behackett commented 3 years ago

This is intentional. The method name was changed to match ccs-pykerberos, and mentioned in the changelog:

https://github.com/mongodb/winkerberos/blob/master/doc/changelog.rst