Hello community,

here is the log from the commit of package python-django-auth-ldap for 
openSUSE:Factory checked in at 2020-04-04 12:26:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-auth-ldap (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-auth-ldap.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-auth-ldap"

Sat Apr  4 12:26:35 2020 rev:14 rq:791170 version:2.1.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-auth-ldap/python-django-auth-ldap.changes
  2020-01-07 23:54:53.680079312 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-auth-ldap.new.3248/python-django-auth-ldap.changes
        2020-04-04 12:27:20.872046793 +0200
@@ -1,0 +2,6 @@
+Fri Apr  3 10:52:11 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.1.1:
+  * Removed drepecated ``providing_args`` from ``Signal`` instances.
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ python-django-auth-ldap.spec ++++++
--- /var/tmp/diff_new_pack.ucv1Rj/_old  2020-04-04 12:27:22.084048046 +0200
+++ /var/tmp/diff_new_pack.ucv1Rj/_new  2020-04-04 12:27:22.084048046 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-django-auth-ldap
-Version:        2.1.0
+Version:        2.1.1
 Release:        0
 Summary:        Django LDAP authentication backend
 License:        BSD-2-Clause

++++++ django-auth-ldap-2.1.0.tar.gz -> django-auth-ldap-2.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-2.1.0/CHANGES 
new/django-auth-ldap-2.1.1/CHANGES
--- old/django-auth-ldap-2.1.0/CHANGES  2019-12-04 05:06:11.000000000 +0100
+++ new/django-auth-ldap-2.1.1/CHANGES  2020-03-26 18:52:03.000000000 +0100
@@ -1,3 +1,7 @@
+2.1.1 - 2020-03-26
+
+- Removed drepecated ``providing_args`` from ``Signal`` instances.
+
 2.1.0 - 2019-12-03
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-2.1.0/PKG-INFO 
new/django-auth-ldap-2.1.1/PKG-INFO
--- old/django-auth-ldap-2.1.0/PKG-INFO 2019-12-04 05:08:08.000000000 +0100
+++ new/django-auth-ldap-2.1.1/PKG-INFO 2020-03-26 18:54:27.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: django-auth-ldap
-Version: 2.1.0
+Version: 2.1.1
 Summary: Django LDAP authentication backend.
 Home-page: https://github.com/django-auth-ldap/django-auth-ldap
 Author: Peter Sagerson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-2.1.0/django_auth_ldap/__init__.py 
new/django-auth-ldap-2.1.1/django_auth_ldap/__init__.py
--- old/django-auth-ldap-2.1.0/django_auth_ldap/__init__.py     2019-12-04 
05:06:11.000000000 +0100
+++ new/django-auth-ldap-2.1.1/django_auth_ldap/__init__.py     2020-03-26 
18:52:33.000000000 +0100
@@ -1,4 +1,4 @@
-VERSION = (2, 1, 0)
+VERSION = (2, 1, 1)
 __version__ = ".".join(str(i) for i in VERSION)
 
 # Deprecated. Use VERSION and __version__ instead.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-2.1.0/django_auth_ldap/backend.py 
new/django-auth-ldap-2.1.1/django_auth_ldap/backend.py
--- old/django-auth-ldap-2.1.0/django_auth_ldap/backend.py      2019-12-04 
05:06:11.000000000 +0100
+++ new/django-auth-ldap-2.1.1/django_auth_ldap/backend.py      2020-03-26 
18:48:55.000000000 +0100
@@ -74,11 +74,13 @@
 # Exported signals
 
 # Allows clients to perform custom user population.
-populate_user = django.dispatch.Signal(providing_args=["user", "ldap_user"])
+# Passed arguments: user, ldap_user
+populate_user = django.dispatch.Signal()
 
 # Allows clients to inspect and perform special handling of LDAPError
 # exceptions. Exceptions raised by handlers will be propagated out.
-ldap_error = django.dispatch.Signal(providing_args=["context", "user", 
"exception"])
+# Passed arguments: context, user, exception
+ldap_error = django.dispatch.Signal()
 
 
 class LDAPBackend:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/django-auth-ldap-2.1.0/django_auth_ldap.egg-info/PKG-INFO 
new/django-auth-ldap-2.1.1/django_auth_ldap.egg-info/PKG-INFO
--- old/django-auth-ldap-2.1.0/django_auth_ldap.egg-info/PKG-INFO       
2019-12-04 05:08:08.000000000 +0100
+++ new/django-auth-ldap-2.1.1/django_auth_ldap.egg-info/PKG-INFO       
2020-03-26 18:54:26.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.2
 Name: django-auth-ldap
-Version: 2.1.0
+Version: 2.1.1
 Summary: Django LDAP authentication backend.
 Home-page: https://github.com/django-auth-ldap/django-auth-ldap
 Author: Peter Sagerson
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-2.1.0/docs/conf.py 
new/django-auth-ldap-2.1.1/docs/conf.py
--- old/django-auth-ldap-2.1.0/docs/conf.py     2019-12-04 05:06:11.000000000 
+0100
+++ new/django-auth-ldap-2.1.1/docs/conf.py     2020-03-26 18:52:14.000000000 
+0100
@@ -25,7 +25,7 @@
 # The short X.Y version
 version = "2.1"
 # The full version, including alpha/beta/rc tags
-release = "2.1.0"
+release = "2.1.1"
 
 
 # -- General configuration ---------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/django-auth-ldap-2.1.0/docs/reference.rst 
new/django-auth-ldap-2.1.1/docs/reference.rst
--- old/django-auth-ldap-2.1.0/docs/reference.rst       2019-10-28 
00:55:24.000000000 +0100
+++ new/django-auth-ldap-2.1.1/docs/reference.rst       2020-03-26 
18:47:56.000000000 +0100
@@ -279,7 +279,10 @@
 The field on the user model used to query the authenticating user in the
 database. If unset, uses the value of ``USERNAME_FIELD`` of the model class.
 When set, the value used to query is obtained through the
-:setting:`AUTH_LDAP_USER_ATTR_MAP`.
+:setting:`AUTH_LDAP_USER_ATTR_MAP`. For example, setting 
:setting:`AUTH_LDAP_USER_QUERY_FIELD`
+to ``username`` and adding ``"username": "sAMAccountName",`` to 
:setting:`AUTH_LDAP_USER_ATTR_MAP`
+will cause django to query local database using ``username`` column and LDAP 
using
+``sAMAccountName`` attribute.
 
 
 .. setting:: AUTH_LDAP_USER_ATTRLIST


Reply via email to