Skip to content

Commit 5e42e3f

Browse files
committed
Replace PyKerberos dependency with python-gssapi
This patch comprises the following changes: * Replace 'kerberos' with 'gssapi' * Remove lingering python2 support * Use a real kerberos realm for running tests (i.e. remove mock calls)
1 parent d2d7ae0 commit 5e42e3f

6 files changed

Lines changed: 390 additions & 416 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WSGI-Kerberos
44
WSGI-Kerberos is `WSGI`_ Middleware which implements `Kerberos`_ authentication.
55
It makes it easy to add Kerberos authentication to any WSGI application.
66

7-
Its only dependency is `python-kerberos`_ and it's been tested up to version 1.3.0
7+
Its only dependency is `gssapi`_ and it's been tested with v1.8.3 onwards.
88

99
You can install the requirements from PyPI with ``easy_install`` or ``pip`` or
1010
download them by hand.

example/example_application.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
2+
23
import logging
34
from wsgi_kerberos import KerberosAuthMiddleware
45
from wsgiref.simple_server import make_server

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
kerberos
1+
gssapi>=1.8.3

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,13 @@
3636
include_package_data=True,
3737
package_data={'': ['LICENSE', 'AUTHORS']},
3838
platforms='any',
39-
install_requires=['kerberos'],
39+
install_requires=['gssapi'],
4040
classifiers=['Development Status :: 4 - Beta',
4141
'Environment :: Web Environment',
4242
'Intended Audience :: Developers',
4343
'License :: OSI Approved :: BSD License',
4444
'Operating System :: OS Independent',
4545
'Programming Language :: Python',
46-
'Programming Language :: Python :: 2.7',
4746
'Programming Language :: Python :: 3',
4847
'Topic :: Internet :: WWW/HTTP',
4948
'Topic :: Internet :: WWW/HTTP :: WSGI',

0 commit comments

Comments
 (0)