Hello community,

here is the log from the commit of package python-django-auth-ldap for 
openSUSE:Factory checked in at 2014-10-09 12:52:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-auth-ldap (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-auth-ldap.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-auth-ldap"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-auth-ldap/python-django-auth-ldap.changes
  2014-04-26 10:10:48.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-django-auth-ldap.new/python-django-auth-ldap.changes
     2014-10-09 12:52:38.000000000 +0200
@@ -1,0 +2,8 @@
+Wed Oct  8 12:47:59 UTC 2014 - mci...@suse.cz
+
+- Update to 1.2.2:
+  - Include test harness in source distribution. Some package maintainers find
+    this helpful.
+  - More verbose log messages for authentication failures.
+
+-------------------------------------------------------------------

Old:
----
  django-auth-ldap-1.2.0.tar.gz

New:
----
  django-auth-ldap-1.2.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-auth-ldap.spec ++++++
--- /var/tmp/diff_new_pack.QhUSW1/_old  2014-10-09 12:52:39.000000000 +0200
+++ /var/tmp/diff_new_pack.QhUSW1/_new  2014-10-09 12:52:39.000000000 +0200
@@ -20,7 +20,7 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           python-django-auth-ldap
-Version:        1.2.0
+Version:        1.2.2
 Release:        0
 Url:            http://bitbucket.org/psagers/django-auth-ldap/
 Summary:        Django LDAP authentication backend

++++++ django-auth-ldap-1.2.0.tar.gz -> django-auth-ldap-1.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/CHANGES 
new/django-auth-ldap-1.2.2/CHANGES
--- old/django-auth-ldap-1.2.0/CHANGES  2014-04-10 17:22:19.000000000 +0200
+++ new/django-auth-ldap-1.2.2/CHANGES  2014-09-22 17:34:33.000000000 +0200
@@ -1,3 +1,16 @@
+v1.2.2 - 2014-09-22
+-------------------
+
+- Include test harness in source distribution. Some package maintainers find
+  this helpful.
+
+
+v1.2.1 - 2014-08-24
+-------------------
+
+- More verbose log messages for authentication failures.
+
+
 v1.2 - 2014-04-10
 -----------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/MANIFEST.in 
new/django-auth-ldap-1.2.2/MANIFEST.in
--- old/django-auth-ldap-1.2.0/MANIFEST.in      2013-11-17 23:59:53.000000000 
+0100
+++ new/django-auth-ldap-1.2.2/MANIFEST.in      2014-09-22 17:40:06.000000000 
+0200
@@ -1,5 +1,7 @@
 include README LICENSE CHANGES
+include tox.ini
 
 recursive-include docs *
+recursive-include test *
 prune docs/build
 global-exclude *.pyc .DS_Store .workon
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/PKG-INFO 
new/django-auth-ldap-1.2.2/PKG-INFO
--- old/django-auth-ldap-1.2.0/PKG-INFO 2014-04-10 17:23:55.000000000 +0200
+++ new/django-auth-ldap-1.2.2/PKG-INFO 2014-09-22 17:42:05.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-auth-ldap
-Version: 1.2.0
+Version: 1.2.2
 Summary: Django LDAP authentication backend
 Home-page: http://bitbucket.org/psagers/django-auth-ldap/
 Author: Peter Sagerson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/django_auth_ldap/__init__.py 
new/django-auth-ldap-1.2.2/django_auth_ldap/__init__.py
--- old/django-auth-ldap-1.2.0/django_auth_ldap/__init__.py     2014-04-10 
17:23:13.000000000 +0200
+++ new/django-auth-ldap-1.2.2/django_auth_ldap/__init__.py     2014-09-22 
17:33:16.000000000 +0200
@@ -1,2 +1,2 @@
-version = (1, 2, 0)
+version = (1, 2, 2)
 version_string = '.'.join(map(str, version))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/django_auth_ldap/backend.py 
new/django-auth-ldap-1.2.2/django_auth_ldap/backend.py
--- old/django-auth-ldap-1.2.0/django_auth_ldap/backend.py      2014-04-10 
17:14:20.000000000 +0200
+++ new/django-auth-ldap-1.2.2/django_auth_ldap/backend.py      2014-08-24 
17:46:09.000000000 +0200
@@ -331,7 +331,7 @@
 
             user = self._user
         except self.AuthenticationFailed as e:
-            logger.debug(u"Authentication failed for %s" % self._username)
+            logger.debug(u"Authentication failed for %s: %s" % 
(self._username, e))
         except ldap.LDAPError as e:
             logger.warning(u"Caught LDAPError while authenticating %s: %s",
                            self._username, pprint.pformat(e))
@@ -426,14 +426,14 @@
         AuthenticationFailed on failure.
         """
         if self.dn is None:
-            raise self.AuthenticationFailed("Failed to map the username to a 
DN.")
+            raise self.AuthenticationFailed("failed to map the username to a 
DN.")
 
         try:
             sticky = self.settings.BIND_AS_AUTHENTICATING_USER
 
             self._bind_as(self.dn, password, sticky=sticky)
         except ldap.INVALID_CREDENTIALS:
-            raise self.AuthenticationFailed("User DN/password rejected by LDAP 
server.")
+            raise self.AuthenticationFailed("user DN/password rejected by LDAP 
server.")
 
     def _load_user_attrs(self):
         if self.dn is not None:
@@ -494,7 +494,7 @@
         if required_group_dn is not None:
             is_member = self._get_groups().is_member_of(required_group_dn)
             if not is_member:
-                raise self.AuthenticationFailed("User is not a member of 
AUTH_LDAP_REQUIRE_GROUP")
+                raise self.AuthenticationFailed("user is not a member of 
AUTH_LDAP_REQUIRE_GROUP")
 
         return True
 
@@ -508,7 +508,7 @@
         if denied_group_dn is not None:
             is_member = self._get_groups().is_member_of(denied_group_dn)
             if is_member:
-                raise self.AuthenticationFailed("User is a member of 
AUTH_LDAP_DENY_GROUP")
+                raise self.AuthenticationFailed("user is a member of 
AUTH_LDAP_DENY_GROUP")
 
         return True
 
@@ -558,7 +558,7 @@
         # We populate the profile after the user model is saved to give the
         # client a chance to create the profile. Custom user models in Django
         # 1.5 probably won't have a get_profile method.
-        if should_populate and hasattr(self._user, 'get_profile'):
+        if should_populate and django.VERSION < (1, 7) and hasattr(self._user, 
'get_profile'):
             self._populate_and_save_user_profile()
 
     def _populate_user(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/django_auth_ldap/tests.py 
new/django-auth-ldap-1.2.2/django_auth_ldap/tests.py
--- old/django-auth-ldap-1.2.0/django_auth_ldap/tests.py        2014-03-31 
22:03:37.000000000 +0200
+++ new/django-auth-ldap-1.2.2/django_auth_ldap/tests.py        2014-06-25 
03:09:49.000000000 +0200
@@ -35,6 +35,7 @@
 except ImportError:
     mockldap = None
 
+import django
 from django.conf import settings
 import django.db.models.signals
 from django.contrib.auth.models import User, Permission, Group
@@ -564,6 +565,7 @@
 
         self.assertTrue(user.populate_user_handled)
 
+    @unittest.skipIf(django.VERSION >= (1, 7), "Skip profile tests in 
Django>=1.7")
     def test_signal_populate_user_profile(self):
         settings.AUTH_PROFILE_MODULE = 'django_auth_ldap.TestProfile'
 
@@ -773,6 +775,7 @@
 
         self.assertTrue(not nobody.is_active)
 
+    @unittest.skipIf(django.VERSION >= (1, 7), "Skip profile tests in 
Django>=1.7")
     def test_profile_flags(self):
         settings.AUTH_PROFILE_MODULE = 'django_auth_ldap.TestProfile'
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-auth-ldap-1.2.0/django_auth_ldap.egg-info/PKG-INFO 
new/django-auth-ldap-1.2.2/django_auth_ldap.egg-info/PKG-INFO
--- old/django-auth-ldap-1.2.0/django_auth_ldap.egg-info/PKG-INFO       
2014-04-10 17:23:53.000000000 +0200
+++ new/django-auth-ldap-1.2.2/django_auth_ldap.egg-info/PKG-INFO       
2014-09-22 17:42:03.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: django-auth-ldap
-Version: 1.2.0
+Version: 1.2.2
 Summary: Django LDAP authentication backend
 Home-page: http://bitbucket.org/psagers/django-auth-ldap/
 Author: Peter Sagerson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-auth-ldap-1.2.0/django_auth_ldap.egg-info/SOURCES.txt 
new/django-auth-ldap-1.2.2/django_auth_ldap.egg-info/SOURCES.txt
--- old/django-auth-ldap-1.2.0/django_auth_ldap.egg-info/SOURCES.txt    
2014-04-10 17:23:55.000000000 +0200
+++ new/django-auth-ldap-1.2.2/django_auth_ldap.egg-info/SOURCES.txt    
2014-09-22 17:42:05.000000000 +0200
@@ -3,6 +3,7 @@
 MANIFEST.in
 README
 setup.py
+tox.ini
 django_auth_ldap/__init__.py
 django_auth_ldap/backend.py
 django_auth_ldap/config.py
@@ -59,4 +60,9 @@
 docs/source/performance.rst
 docs/source/permissions.rst
 docs/source/reference.rst
-docs/source/users.rst
\ No newline at end of file
+docs/source/users.rst
+test/.coverage
+test/.coveragerc
+test/manage.py
+test/settings.py
+test/urls.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/docs/source/conf.py 
new/django-auth-ldap-1.2.2/docs/source/conf.py
--- old/django-auth-ldap-1.2.0/docs/source/conf.py      2014-04-10 
17:18:23.000000000 +0200
+++ new/django-auth-ldap-1.2.2/docs/source/conf.py      2014-09-22 
17:35:23.000000000 +0200
@@ -59,7 +59,7 @@
 # The short X.Y version.
 version = '1.1'
 # The full version, including alpha/beta/rc tags.
-release = '1.2.0'
+release = '1.2.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/setup.py 
new/django-auth-ldap-1.2.2/setup.py
--- old/django-auth-ldap-1.2.0/setup.py 2014-04-10 17:18:16.000000000 +0200
+++ new/django-auth-ldap-1.2.2/setup.py 2014-09-22 17:35:11.000000000 +0200
@@ -4,7 +4,7 @@
 
 setup(
     name="django-auth-ldap",
-    version="1.2.0",
+    version="1.2.2",
     description="Django LDAP authentication backend",
     long_description=open('README').read(),
     url="http://bitbucket.org/psagers/django-auth-ldap/";,
Files old/django-auth-ldap-1.2.0/test/.coverage and 
new/django-auth-ldap-1.2.2/test/.coverage differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/test/.coveragerc 
new/django-auth-ldap-1.2.2/test/.coveragerc
--- old/django-auth-ldap-1.2.0/test/.coveragerc 1970-01-01 01:00:00.000000000 
+0100
+++ new/django-auth-ldap-1.2.2/test/.coveragerc 2013-11-17 23:59:53.000000000 
+0100
@@ -0,0 +1,3 @@
+[run]
+source = django_auth_ldap.config
+         django_auth_ldap.backend
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/test/manage.py 
new/django-auth-ldap-1.2.2/test/manage.py
--- old/django-auth-ldap-1.2.0/test/manage.py   1970-01-01 01:00:00.000000000 
+0100
+++ new/django-auth-ldap-1.2.2/test/manage.py   2013-11-17 23:59:53.000000000 
+0100
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+
+import os
+import sys
+
+
+if __name__ == "__main__":
+    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
+
+    from django.core.management import execute_from_command_line
+
+    execute_from_command_line(sys.argv)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/test/settings.py 
new/django-auth-ldap-1.2.2/test/settings.py
--- old/django-auth-ldap-1.2.0/test/settings.py 1970-01-01 01:00:00.000000000 
+0100
+++ new/django-auth-ldap-1.2.2/test/settings.py 2014-09-06 01:24:13.000000000 
+0200
@@ -0,0 +1,31 @@
+# For older versions of Djano
+DATABASE_ENGINE = 'sqlite3'
+
+DATABASES = {
+    'default': {
+        'ENGINE': 'django.db.backends.sqlite3',
+        'NAME': ':memory:',
+    }
+}
+
+ALLOWED_HOSTS = []
+
+TIME_ZONE = 'UTC'
+LANGUAGE_CODE = 'en-us'
+USE_I18N = False
+USE_L10N = False
+USE_TZ = True
+
+SECRET_KEY = 'nt56v8)moa)37ta5z7dd=if-@y#k@l7+t8lct*c8m730lpd=so'
+
+ROOT_URLCONF = 'urls'
+
+INSTALLED_APPS = (
+    'django.contrib.auth',
+    'django.contrib.contenttypes',
+    'django.contrib.sessions',
+
+    'django_auth_ldap',
+)
+
+MIDDLEWARE_CLASSES = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/test/urls.py 
new/django-auth-ldap-1.2.2/test/urls.py
--- old/django-auth-ldap-1.2.0/test/urls.py     1970-01-01 01:00:00.000000000 
+0100
+++ new/django-auth-ldap-1.2.2/test/urls.py     2013-11-17 23:59:53.000000000 
+0100
@@ -0,0 +1,4 @@
+from django.conf.defaults import patterns
+
+
+urlpatterns = patterns('')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-1.2.0/tox.ini 
new/django-auth-ldap-1.2.2/tox.ini
--- old/django-auth-ldap-1.2.0/tox.ini  1970-01-01 01:00:00.000000000 +0100
+++ new/django-auth-ldap-1.2.2/tox.ini  2014-09-06 00:47:57.000000000 +0200
@@ -0,0 +1,54 @@
+[flake8]
+ignore = E501
+
+
+[tox]
+envlist = py26-django13,
+          py26-django14,
+          py27-django15,
+          py27-django16,
+          py27-django17,
+          py33-django16,
+          py34-django17
+
+[testenv]
+changedir = test
+commands = {envpython} manage.py test django_auth_ldap
+deps = mockldap
+
+[testenv:py26-django13]
+basepython = python2.6
+deps = {[testenv]deps}
+       django<1.4
+
+[testenv:py26-django14]
+basepython = python2.6
+deps = {[testenv]deps}
+       django<1.5
+
+[testenv:py27-django15]
+basepython = python2.7
+deps = {[testenv]deps}
+       django<1.6
+
+[testenv:py27-django16]
+basepython = python2.7
+deps = {[testenv]deps}
+       django<1.7
+
+[testenv:py27-django17]
+basepython = python2.7
+deps = {[testenv]deps}
+       django<1.8
+
+[testenv:py33-django16]
+basepython = python3.3
+deps = {[testenv]deps}
+       django<1.7
+       git+https://github.com/rbarrois/python-ldap.git@py3
+
+[testenv:py34-django17]
+basepython = python3.4
+deps = {[testenv]deps}
+       django<1.8
+       git+https://github.com/rbarrois/python-ldap.git@py3

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to