commit python-ldap3 for openSUSE:Factory

2020-07-24 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2020-07-24 12:09:22

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new.3592 (New)


Package is "python-ldap3"

Fri Jul 24 12:09:22 2020 rev:13 rq:822513 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2020-05-16 22:27:01.725358641 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new.3592/python-ldap3.changes  
2020-07-24 12:09:32.705813897 +0200
@@ -1,0 +2,6 @@
+Fri Jul 24 00:46:48 UTC 2020 - Matej Cepl 
+
+- Add skip-missing-LDAP-server.patch to skip over tests failing because
+  of the missing local LDAP server running (gh#cannatag/ldap3#843).
+
+---

New:

  skip-missing-LDAP-server.patch



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.EtFKTw/_old  2020-07-24 12:09:34.793815998 +0200
+++ /var/tmp/diff_new_pack.EtFKTw/_new  2020-07-24 12:09:34.793815998 +0200
@@ -24,8 +24,11 @@
 License:LGPL-3.0-only
 URL:https://github.com/cannatag/ldap3
 Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
-BuildRequires:  %{python_module nose}
+# PATCH-FIX-UPSTREAM skip-missing-LDAP-server.patch gh#cannatag/ldap3#843 
mc...@suse.com
+# skip over tests failing because of the missing local LDAP server running
+Patch0: skip-missing-LDAP-server.patch
 BuildRequires:  %{python_module pyasn1 >= 0.4.6}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
@@ -44,6 +47,8 @@
 
 %prep
 %setup -q -n ldap3-%{version}
+%autopatch -p1
+
 dos2unix COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
 
 %build
@@ -54,7 +59,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec %{_bindir}/nosetests -s test || :
+export STRATEGY=SYNC SERVER=EDIR DECODER=INTERNAL
+%pytest test/test*.py
 
 %files %{python_files}
 %license COPYING.LESSER.txt COPYING.txt LICENSE.txt

++ skip-missing-LDAP-server.patch ++
--- a/test/config.py
+++ b/test/config.py
@@ -25,6 +25,7 @@ from os import environ, remove
 from os import path
 from random import SystemRandom
 from tempfile import gettempdir
+from unittest import SkipTest
 
 from ldap3 import SIMPLE, SYNC, ROUND_ROBIN, IP_V6_PREFERRED, 
IP_SYSTEM_DEFAULT, Server, Connection,\
 ServerPool, SASL, STRING_TYPES, get_config_parameter, 
set_config_parameter, \
@@ -380,7 +381,7 @@ elif location == 'W10GC9227-AD':
 test_logging_filename = path.join(gettempdir(), 'ldap3.log')
 test_valid_names = ['10.160.201.232']
 else:
-raise Exception('testing location ' + location + ' is not valid')
+raise SkipTest('testing location ' + location + ' is not valid')
 
 if test_logging:
 try:



commit python-ldap3 for openSUSE:Factory

2020-05-16 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2020-05-16 22:26:56

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new.2738 (New)


Package is "python-ldap3"

Sat May 16 22:26:56 2020 rev:12 rq:805890 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2020-03-11 22:04:56.729996605 +0100
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new.2738/python-ldap3.changes  
2020-05-16 22:27:01.725358641 +0200
@@ -1,0 +2,6 @@
+Fri May 15 15:55:38 UTC 2020 - Antonio Larrosa 
+
+- python-ldap3 actually requires at least python-pyasn1 0.4.6 since
+  it uses PyAsn1UnicodeDecodeError which was introduced in that version
+
+---



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.47HuU1/_old  2020-05-16 22:27:02.269359758 +0200
+++ /var/tmp/diff_new_pack.47HuU1/_new  2020-05-16 22:27:02.273359765 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ldap3
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,13 +25,13 @@
 URL:https://github.com/cannatag/ldap3
 Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module pyasn1 >= 0.1.8}
+BuildRequires:  %{python_module pyasn1 >= 0.4.6}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-testsuite
-Requires:   python-pyasn1 >= 0.1.8
+Requires:   python-pyasn1 >= 0.4.6
 BuildArch:  noarch
 %python_subpackages
 




commit python-ldap3 for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2020-03-11 22:03:48

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new.3160 (New)


Package is "python-ldap3"

Wed Mar 11 22:03:48 2020 rev:11 rq:784056 version:2.7

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2019-10-16 09:14:52.943529875 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new.3160/python-ldap3.changes  
2020-03-11 22:04:56.729996605 +0100
@@ -1,0 +2,20 @@
+Wed Mar 11 19:17:52 UTC 2020 - Michael Ströder 
+
+- Update to 2.7:
+  - tested against Python 3.8.1 and pyasn1 0.4.8
+  - re-enabled ssl exception raising on bad certificate when only 1 server is 
present in the server pool
+  - removed Python 2.6 from Travis configuration (thanks gliptak)
+  - added support for source specifications in LDAP connections (thanks Azaria)
+  - added support for allowing special AD security identifier (SID) in DN 
(thanks John)
+  - fixed pickling of entry and attribute (thanks cfelder)
+  - close connection when auto_bind fails (thank Hrishikesh)
+  - operational attributes can be used in Abstraction Layer (thanks Sohalt)
+  - additional SSL options can be used in Tls object (thanks Nazarii)
+  - threading.Event replaces loop checking in async strategy. ASYNC strategy 
should be much faster now (thanks Yang)
+  - adding a key that is already an alias that contains other aliases in 
CaseInsensitiveWithAliasDict() now works properly (thanks Mark)
+  - when searching for GUID, UUID and SID the backslash character (0x5C) is 
properly managed (thanks Nocturem)
+  - LDIF output properly formatted when controls are missing (thanks Tom)
+  - operational attributes are not returned in MOCK strategies when not 
requested (thanks kpinc)
+  - undecodable values are returned as raw bytes when using the pyasn1 decoder
+
+---

Old:

  v2.6.1.tar.gz

New:

  v2.7.tar.gz



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.RYG180/_old  2020-03-11 22:04:57.469997020 +0100
+++ /var/tmp/diff_new_pack.RYG180/_new  2020-03-11 22:04:57.473997022 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ldap3
-Version:2.6.1
+Version:2.7
 Release:0
 Summary:A strictly RFC 4511 conforming LDAP V3 pure Python client
 License:LGPL-3.0-only

++ v2.6.1.tar.gz -> v2.7.tar.gz ++
 4720 lines of diff (skipped)




commit python-ldap3 for openSUSE:Factory

2019-10-16 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2019-10-16 09:14:52

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new.2352 (New)


Package is "python-ldap3"

Wed Oct 16 09:14:52 2019 rev:10 rq:738354 version:2.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2019-10-10 11:53:29.151314772 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new.2352/python-ldap3.changes  
2019-10-16 09:14:52.943529875 +0200
@@ -1,0 +2,5 @@
+Mon Oct 14 13:50:37 UTC 2019 - Matej Cepl 
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+---



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.ddOzCr/_old  2019-10-16 09:14:53.455528556 +0200
+++ /var/tmp/diff_new_pack.ddOzCr/_new  2019-10-16 09:14:53.455528556 +0200
@@ -51,7 +51,7 @@
 
 %install
 %python_install
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_exec %{_bindir}/nosetests -s test || :




commit python-ldap3 for openSUSE:Factory

2019-10-10 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2019-10-10 11:53:24

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new.2352 (New)


Package is "python-ldap3"

Thu Oct 10 11:53:24 2019 rev:9 rq:736797 version:2.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2019-05-16 22:07:43.938409006 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new.2352/python-ldap3.changes  
2019-10-10 11:53:29.151314772 +0200
@@ -1,0 +2,26 @@
+Thu Oct 10 08:14:25 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.6.1:
+  - added eDirectory 9.1.4 (EDIR_9_1_4) to offline schemas
+  - added json converter for timedelta (thanks dirkjanm)
+  - strip parameter defaults to False in utils.dn.parse_dn()
+  - escaped space is allowed as trailing character in attribute_value in 
utils.dn.parse_dn() (thanks phi1010)
+  - connection.extend.standard.paged_search doesn't raise exceptions when 
raise_exceptions is False
+  - the Search operation returns the entries fetched by the server when size 
or time limits are reached even if raise_exceptions is set to True
+  - Handle the minimum value that can be stored in an Int64 in 
format_ad_timedelta (thanks mprahl)
+  - EntryState: `entry_raw_attributes` is populated instead of 
`raw_attributes` (thanks Christian)
+  - Removed restriction to perform rename and move simultaneously in modify_dn 
(thanks Fabian)
+  - fixed checking for hexdigits in parse_dn (thanks Michael)
+  - fixed escaping when multiple backslashes are present in parse_dn (thanks 
Phillip)
+  - fixed multiple NoneType exceptions in entry_to_json() (thanks David and 
cfelder)
+  - allowing Microsoft specific syntax () for WellKnownObjects in 
DN (thanks David)
+  - connection.extend.standard.paged_search() now follows referrals when 
auto_referrals=True (thanks kprativa)
+  - fixed a bug in decoding replica list in 
connection.extend.novell.list_replicas()
+  - fixed a bug when adding duplicate alias in CaseInsensitiveWithAliasDict()
+  - added ignore_duplicates=False in set_aliases in 
CaseInsensitiveWithAliasDict() to ignore a duplicate alias (either in aliases 
or in keys)
+  - Schema info now uses CaseInsensitiveWithAlias dict as default so object 
and attributes can also be referentiated with OID (thanks ahoffm11)
+  - added block mode and timeout parameters to next() method of 
persistent_search
+  - when using the pyasn1 decoder raw_dn is not returned as a pyasn1 object 
anymore but as bytes
+  - Return offset timezone aware datetime for max AD timestamp (thanks Jussi)
+
+---

Old:

  v2.6.tar.gz

New:

  v2.6.1.tar.gz



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.8fG5kh/_old  2019-10-10 11:53:29.839312946 +0200
+++ /var/tmp/diff_new_pack.8fG5kh/_new  2019-10-10 11:53:29.843312936 +0200
@@ -18,16 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ldap3
-Version:2.6
+Version:2.6.1
 Release:0
 Summary:A strictly RFC 4511 conforming LDAP V3 pure Python client
 License:LGPL-3.0-only
-Group:  Development/Languages/Python
 URL:https://github.com/cannatag/ldap3
 Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pyasn1 >= 0.1.8}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-testsuite
@@ -44,7 +44,7 @@
 
 %prep
 %setup -q -n ldap3-%{version}
-sed -i 's/\r$//' COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
+dos2unix COPYING.LESSER.txt COPYING.txt README.rst LICENSE.txt
 
 %build
 %python_build

++ v2.6.tar.gz -> v2.6.1.tar.gz ++
 3365 lines of diff (skipped)




commit python-ldap3 for openSUSE:Factory

2019-05-16 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2019-05-16 22:07:40

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new.5148 (New)


Package is "python-ldap3"

Thu May 16 22:07:40 2019 rev:8 rq:703011 version:2.6

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2019-02-27 15:05:46.330453891 +0100
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new.5148/python-ldap3.changes  
2019-05-16 22:07:43.938409006 +0200
@@ -1,0 +2,18 @@
+Tue May 14 21:44:09 UTC 2019 - Gary Smith 
+
+- update to version 2.6
+
+# 2.6 - 2019.03.24
+- fixed empty digestMd5.py file in 2.5.2 package
+- explicitly declare digest module md5 in util.ntlm (thanks adawalli)
+- change object passed to modify() was unexpectedly mutated (thanks John)
+- added LDAPInfoError exception
+- added Server.has_control(control) method to check if a server has a 
specific control
+- added Server.has_extension(extension) method to check if a server has a 
specific extension
+- added Server.has_feature(feature) method to check if a server has a 
specific feature
+- fixed checking of \\ in safe_dn (thanks Maxim)
+- fixed uuid checking with 5c byte value
+- added single=True parameter to the ServerPool object definition. Servers 
state is shared between connections using the same pool
+- updated copyright notice
+
+---

Old:

  v2.5.2.tar.gz

New:

  v2.6.tar.gz



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.AoAM7e/_old  2019-05-16 22:07:45.710407253 +0200
+++ /var/tmp/diff_new_pack.AoAM7e/_new  2019-05-16 22:07:45.710407253 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ldap3
-Version:2.5.2
+Version:2.6
 Release:0
 Summary:A strictly RFC 4511 conforming LDAP V3 pure Python client
 License:LGPL-3.0-only

++ v2.5.2.tar.gz -> v2.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ldap3-2.5.2/.gitignore new/ldap3-2.6/.gitignore
--- old/ldap3-2.5.2/.gitignore  2018-12-23 09:49:04.0 +0100
+++ new/ldap3-2.6/.gitignore2019-03-23 16:43:44.0 +0100
@@ -63,4 +63,178 @@
 
 #PyCharm
 .idea/
-*.iml
\ No newline at end of file
+*.iml
+### JetBrains template
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, 
CLion, Android Studio and WebStorm
+# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
+
+# User-specific stuff
+.idea/**/workspace.xml
+.idea/**/tasks.xml
+.idea/**/usage.statistics.xml
+.idea/**/dictionaries
+.idea/**/shelf
+
+# Sensitive or high-churn files
+.idea/**/dataSources/
+.idea/**/dataSources.ids
+.idea/**/dataSources.local.xml
+.idea/**/sqlDataSources.xml
+.idea/**/dynamic.xml
+.idea/**/uiDesigner.xml
+.idea/**/dbnavigator.xml
+
+# Gradle
+.idea/**/gradle.xml
+.idea/**/libraries
+
+# Gradle and Maven with auto-import
+# When using Gradle or Maven with auto-import, you should exclude module files,
+# since they will be recreated, and may cause churn.  Uncomment if using
+# auto-import.
+# .idea/modules.xml
+# .idea/*.iml
+# .idea/modules
+
+# CMake
+cmake-build-*/
+
+# Mongo Explorer plugin
+.idea/**/mongoSettings.xml
+
+# File-based project format
+*.iws
+
+# IntelliJ
+out/
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Cursive Clojure plugin
+.idea/replstate.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+fabric.properties
+
+# Editor-based Rest Client
+.idea/httpRequests
+### VirtualEnv template
+# Virtualenv
+# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
+[Bb]in
+[Ii]nclude
+[Ll]ib
+[Ll]ib64
+[Ll]ocal
+[Ss]cripts
+pyvenv.cfg
+.venv
+pip-selfcheck.json
+### Windows template
+# Windows thumbnail cache files
+Thumbs.db
+ehthumbs.db
+ehthumbs_vista.db
+
+# Dump file
+*.stackdump
+
+# Folder config file
+[Dd]esktop.ini
+
+# Recycle Bin used on file shares
+$RECYCLE.BIN/
+
+# Windows Installer files
+*.cab
+*.msi
+*.msix
+*.msm
+*.msp
+
+# Windows shortcuts
+*.lnk
+### Python template
+# Byte-compiled / optimized / DLL files
+
+# C extensions
+
+# Distribution / packaging
+wheels/
+MANIFEST
+
+# PyInstaller
+#  Usually these files are written by a python script from a template
+#  before PyInstaller builds the exe, so as to inject date/other infos into it.
+
+# Installer logs
+
+# Unit test / coverage reports
+*.cover

commit python-ldap3 for openSUSE:Factory

2019-02-27 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2019-02-27 15:05:41

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new.28833 (New)


Package is "python-ldap3"

Wed Feb 27 15:05:41 2019 rev:7 rq:676956 version:2.5.2

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2018-12-24 11:39:10.817569860 +0100
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new.28833/python-ldap3.changes 
2019-02-27 15:05:46.330453891 +0100
@@ -1,0 +2,41 @@
+Mon Feb 18 08:48:29 UTC 2019 - Tomáš Chvátal 
+
+- Use the actual upstream distributed archive
+
+---
+Sat Feb 16 20:25:26 UTC 2019 - Michael Ströder 
+
+- update to version 2.5.2
+
+# 2.5.2 - 2018.12.28
+- when starting tls before binding the connection is automatically open
+- fixed changelog date (thanks Adam)
+- support for AD timedeltas (thanks mprahl)
+- fixed WhoAmI in mock strategies (thanks mprahl)
+- prevent unnecessary exception in extend/standard/ModifyPassword (thanks 
Johnny)
+- added support for external gssapi credentials to be passed to the sasl 
connection (thanks Firstyear)
+- added support for gssapi store in sasl connection (thanks clhendrick)
+- fixed LdifProducer (thanks antoinell)
+- fixed NTLM bind (thanks ribx)
+- server state in ServerPool is now a namedtuple "ServerState" (thanks 
Krisztian)
+- fixed error when adding member to AD group with unsafe DN (thanks Maxim)
+- properly restore lazy status in reusable strategy (thanks Krisztian)
+- ServerState namedtuple converted to class in core/pooling (thanks 
Krisztian)
+- empty schema doesn't raise exception in Abstraction Layer (thanks ghost)
+
+# 2.5.1 - 2018.08.01
+- connection.result is populated when exception raised with 
raise_exceptions=True
+- fixed objectSid in mocking strategies
+- fixed circular reference in exception history
+- added objectSid validator
+- byte values are properly searched in MOCK strategies (thanks dyj216)
+- exception history refactored (thanks Tamas)
+- connections in context manager don't bind anymore when auto_bind is set 
to AUTO_BIND_NONE (Thanks Tim)
+- Cython compatible build (thanks Pedro)
+- more detailed exception message in Mock strategy (thanks Janne)
+- exceptions flow refactored in reusable strategy (thanks kxt)
+- pwdlastset accept any positive integer (thanks abenbecker)
+- fixed an exception while logging packet with pyasn1 decoder
+- fixed importing abc from collections for Python 3.8
+
+---

Old:

  v2.5.tar.gz

New:

  v2.5.2.tar.gz



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.VLtMUA/_old  2019-02-27 15:05:47.898453413 +0100
+++ /var/tmp/diff_new_pack.VLtMUA/_new  2019-02-27 15:05:47.902453413 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ldap3
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ldap3
-Version:2.5
+Version:2.5.2
 Release:0
 Summary:A strictly RFC 4511 conforming LDAP V3 pure Python client
 License:LGPL-3.0-only

++ v2.5.tar.gz -> v2.5.2.tar.gz ++
 3715 lines of diff (skipped)




commit python-ldap3 for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2018-12-24 11:39:09

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new.28833 (New)


Package is "python-ldap3"

Mon Dec 24 11:39:09 2018 rev:6 rq:659471 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2018-04-16 12:52:49.792729238 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new.28833/python-ldap3.changes 
2018-12-24 11:39:10.817569860 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:49:56 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.USeKEJ/_old  2018-12-24 11:39:11.349569388 +0100
+++ /var/tmp/diff_new_pack.USeKEJ/_new  2018-12-24 11:39:11.353569384 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,6 @@
 Group:  Development/Languages/Python
 URL:https://github.com/cannatag/ldap3
 Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module pyasn1 >= 0.1.8}
 BuildRequires:  %{python_module setuptools}




commit python-ldap3 for openSUSE:Factory

2018-04-16 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2018-04-16 12:52:43

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new (New)


Package is "python-ldap3"

Mon Apr 16 12:52:43 2018 rev:5 rq:596932 version:2.5

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2018-01-25 12:40:19.371273471 +0100
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new/python-ldap3.changes   
2018-04-16 12:52:49.792729238 +0200
@@ -1,0 +2,40 @@
+Mon Apr 16 08:25:44 UTC 2018 - tchva...@suse.com
+
+- Use real URL, not some inventive lies
+
+---
+Sun Apr 15 16:59:21 UTC 2018 - mich...@stroeder.com
+
+- update to version 2.5
+  * abstract layer now handles auxiliary classes
+  * pwdLAstSet in AD is valid for 0 and -1 (thanks Taylor)
+  * fixed extend.novell.get_universal_password (thanks Fernando)
+  * entryUUID is properly validated in search filters (thanks FriedrichI)
+  * custom attribute formatters are properly applied when parsing the search 
filter
+  * REUSABLE strategy now honours credentials when changed in the original 
connection (thanks Prof Hase)
+  * add operation doesn't change passed attribute dict anymore (thanks Daniele)
+  * missing entry's attribute return False when searching instead of raising 
an exception (thanks Maxsond)
+  * fixed ad_timestamp evaluation for integers (thanks Flynn)
+  * wrong exception raised when user name is empty in simple binding (thanks 
Ivan)
+  * exception is raised if size limit is exceed when searchin in mocking 
strategies with raise_exceptions=True (thanks David)
+  * fixed validator for novell guid
+  * fixed validator for openldap EntryUUID
+  * fixed validator for AD objectGUID, now follows MS-DTYP
+  * fixed formatter for AD objectGUID
+  * fixed exception when adding binary values (thanks guidow)
+  * added escape_rdn_chars() to ldap3.utils.dn for safe checking untrusted 
input while building DNs (thanks Alex)
+  * fixed search for binary values in mock strategies
+  * fixed exception with unicode chars in subfilters for python 2 (thanks 
Friedrich)
+  * connection.extend.paged_search() doens't miss the last entries anymore 
when size limit is exceeded for the search on the server (thanks Friedrich)
+  * validators are not applied when loading data from json dump in Mock 
strategies (thanks Derek)
+  * additional validator to check for erroneous bytes to string conversion in 
Python 3 (thanks Brian)
+  * additional formatter and validator to check for generalizedtime with 0 
year (thanks Brian)
+  * added ADDITIONAL_CLIENT_ENCODINGS parameter
+  * fixed AD dir_sync extended operation (thanks Lucas)
+  * ad_unlock_account works properly (thanks Francowxu)
+  * added Microsoft security descriptor control (thanks Dirk-jan)
+  * fixed search in mock strategies when raise_exceptions=True (thanks Derek)
+  * formatters never raise exceptions but returns the raw_value when unable to 
format
+  * fixed comtrols duplication in paged search (thanks Dirk-jan)
+
+---

Old:

  v2.4.1.tar.gz

New:

  v2.5.tar.gz



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.RFRDCl/_old  2018-04-16 12:52:50.728695158 +0200
+++ /var/tmp/diff_new_pack.RFRDCl/_new  2018-04-16 12:52:50.732695012 +0200
@@ -18,12 +18,12 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ldap3
-Version:2.4.1
+Version:2.5
 Release:0
 Summary:A strictly RFC 4511 conforming LDAP V3 pure Python client
-License:LGPL-3.0
+License:LGPL-3.0-only
 Group:  Development/Languages/Python
-Url:https://github.com/cannatag/ldap3
+URL:https://github.com/cannatag/ldap3
 Source: https://github.com/cannatag/ldap3/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module nose}
@@ -58,7 +58,8 @@
 %python_exec %{_bindir}/nosetests -s test || :
 
 %files %{python_files}
-%doc COPYING.LESSER.txt COPYING.txt LICENSE.txt README.rst
+%license COPYING.LESSER.txt COPYING.txt LICENSE.txt
+%doc README.rst
 %{python_sitelib}/ldap3
 %{python_sitelib}/ldap3-%{version}-py*.egg-info
 

++ v2.4.1.tar.gz -> v2.5.tar.gz ++
 2741 lines of diff (skipped)




commit python-ldap3 for openSUSE:Factory

2018-01-25 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2018-01-25 12:40:18

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new (New)


Package is "python-ldap3"

Thu Jan 25 12:40:18 2018 rev:4 rq:569258 version:2.4.1

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2017-10-09 19:41:01.362566781 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new/python-ldap3.changes   
2018-01-25 12:40:19.371273471 +0100
@@ -1,0 +2,52 @@
+Wed Jan 24 14:21:40 UTC 2018 - tchva...@suse.com
+
+- Reenable testsuite
+  * Pass || : as some of the tests fail with UNKNOWN-EDIR this means
+the testsuite needs localy running ldap server to communicate with
+as such it does not make sense to fix those FAILED (errors=39)
+
+---
+Wed Jan 24 13:45:14 UTC 2018 - mich...@stroeder.com
+
+- update to version 2.4.1
+  * tested against pyasn1 from version 0.1.8 up to version 0.4.2, Python 
2.6.6, Python 2.7.14, Python 3.6.4
+  * auto_encode parameter is honored when binding (thanks jkolo)
+  * fixed organizationalName definition in oid (thanks mingulov)
+  * automatic byte to int conversion working again (thanks Brian)
+  * mock connection searchs correctly escape filters (thanks kiddick)
+  * fixed bind with not unicode characters in Python 2 (thanks jkolo)
+  * extended filter attributes should work again with pyasn1 0.4.1 (thanks 
Dirk-jan)
+  * fixed error when reading incomplete server info
+  * NOT keyword properly handled in dit_content_rules (thanks Michael)
+  * operational attributes are prorerly returned in Cursor whit 
get_operational_attributes = True (thanks a23s4a)
+  * start_tls() is properly executed with AD when raise_exceptions=True 
(thanks Andrew)
+  * reopening a Connection honours auto_bind setting (thanks calken)
+  * an attribute returned with no value from a flaky server doesn't raise 
exception anymore (thanks Terrence)
+  * pwdLastSet in AD is valid only for -1 (thanks Thane)
+  * fixed docs for ldifProducer (thanks lhoekenga)
+  * fixed monkeypatching of pyasn1 for Boolean Value in BER encoding (thanks 
tmarlok88)
+  * check_names was not honoured while validating attribute values (thanks 
ymcymc)
+  * locks refactored in Connection and in Async strategy
+  * socket properly closed when checking availability of an invalid server
+  * security fix in the rebind() method of the Connection object (thanks 
Daniel)
+  * fix for Sasl credentials in Python 3 (thanks Busuwe)
+  * fixed bug when checking for equality in MockBase
+  * added validator parameter to Server object for custom validators
+  * attribute values are now validated in add/compare/modify operations in the 
Connection object
+  * Python types can now be used in add/compare/modify operations
+  * compatible with the pyasn1 library from version 0.1.8 up to latest (0.3.3 
for now) version
+  * fixed compatibility with Twisted on Windows on Python 2.7 (thanks Pmisik)
+  * fixed paged_search behaviour in Reader object
+  * fixed regression in MockBase (thanks Markus)
+  * fixed invalid filter sequence in MockBase (thanks SignedBit)
+  * added compatibility with Cython (thanks Pedro)
+  * fixed auto_encode check in validate_attribute_value for unknown attrs 
(thanks CFelder)
+  * don't encode response_value as extended_response_to_dict expects a decoded 
value (thanks Matthias)
+  * compatible with the pyasn1 library from version 0.1.8 up to latest (0.3.7 
for now) version
+  * added LDAPObjectDereferenceError exception
+  * LDAPObjectDereferenceError is raised when an object tries to dereference 
itself in the Abstraction Layer (thanks Daniele)
+  * async module renamed to asynchronous for compatibility with Python 3.7 
(thank Barry)
+  * long integer are properly checked in mocking strategies (thanks gregn610)
+  * NUMERIC_TYPES includes long for Python 2
+
+---

Old:

  ldap3-2.3.tar.gz

New:

  v2.4.1.tar.gz



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.CUwLB5/_old  2018-01-25 12:40:21.207187761 +0100
+++ /var/tmp/diff_new_pack.CUwLB5/_new  2018-01-25 12:40:21.207187761 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ldap3
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,20 +18,21 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}

commit python-ldap3 for openSUSE:Factory

2017-10-09 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2017-10-09 19:40:59

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new (New)


Package is "python-ldap3"

Mon Oct  9 19:40:59 2017 rev:3 rq:530449 version:2.3

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2017-05-17 10:54:51.910514135 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new/python-ldap3.changes   
2017-10-09 19:41:01.362566781 +0200
@@ -1,0 +2,60 @@
+Sat Sep 30 16:37:55 UTC 2017 - a...@gmx.de
+
+- update to version 2.3:
+  * compatible with the pyasn1 library from version 0.1.8 up to latest
+(0.3.1 for now) version
+  * MockAsync strategy is available
+  * added __ne__ method to Attribute in abstraction layer (thank
+Rodrigo)
+  * added LDAPUserNameIsMandatoryError exception in simple bind when
+user name is empty
+  * search referrals are properly decoded with fast decoder
+  * paged search works in mock strategies
+  * paged_search in extend.standard namespace raises an exception of
+class LDAPOperationResult if the search returns an error
+  * search_paged() method of Cursor object now return the whole list
+of entries if generator=False
+  * updated docs for defaults parameters (thanks Guarnacciaa)
+  * fixed mockBase for integer matching (thanks Jijo)
+  * boolean values are now uppercase in LDIF (thanks Linus)
+  * fixed timeout in ssl connection on Linux and Mac (thanks Allan)
+  * changed some internal functions to private in ldap3.utils.dn
+  * operational attribute entryDN is properly managed in Mock
+strategies (thanks Mark)
+  * new rdn in renamed entry is properly set in Mock strategies
+(thanks Mark)
+  * metrics are now updated for Mock strategies, except that for
+received bytes (thanks joehy)
+  * better managing of missing schema from the server (thanks Deborah)
+  * fixed error while schema is not in string format (thanks
+Alexandre)
+  * SNI support added when the underlying python library allows it
+(thanks Edmund)
+  * added pool_keepalive parameter to Connection object for REUSABLE
+strategy
+  * connection.extend.microsoft.modify_password returns False when
+change is not successful (thanks Ashley)
+  * added validators for uuid and uuid_le
+  * fixed error while searching for bytes
+  * fixed pickling and unpickling of datetime values (thanks David)
+  * fixed error that resulted in valid generalizedTime strings not
+being parsed (thanks Busuwe)
+  * fixed error with modify operation on referrals (thanks Busuwe)
+  * fixed error in mockBase add_entry() with raw rdn (thanks Chad)
+  * fixed error when stdin has not encoding in config.py (thanks
+cronicryo)
+  * fixed error when optional field are not present in pyasn1 requests
+(thanks Ilya)
+  * added DEFAULT_SERVER_ENCODING config parameter, should always be
+utf-8
+  * DEFAULT_ENCODING config parameter renamed to
+DEFAULT_CLIENT_ENCODING
+  * ADDITIONAL_ENCODINGS config parameter renamed to
+ADDITIONAL_SERVER_ENCONDINGS
+  * additional encodings are applied to all data received from the
+server
+  * additional encodings are not applied to client data
+  * added from_server=False parameter to to_unicode() to not try
+client encoding while decoding data from server
+
+---

Old:

  ldap3-2.2.4.tar.gz

New:

  ldap3-2.3.tar.gz



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.DYDZ1y/_old  2017-10-09 19:41:02.038537071 +0200
+++ /var/tmp/diff_new_pack.DYDZ1y/_new  2017-10-09 19:41:02.042536895 +0200
@@ -18,18 +18,18 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ldap3
-Version:2.2.4
+Version:2.3
 Release:0
 Summary:A strictly RFC 4511 conforming LDAP V3 pure Python client
 License:LGPL-3.0
 Group:  Development/Languages/Python
 Url:https://github.com/cannatag/ldap3
 Source: https://pypi.io/packages/source/l/ldap3/ldap3-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module pyasn1 >= 0.1.8}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-pyasn1 >= 0.1.8
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch

++ ldap3-2.2.4.tar.gz -> ldap3-2.3.tar.gz ++
 4540 lines of diff (skipped)




commit python-ldap3 for openSUSE:Factory

2017-05-17 Thread root
Hello community,

here is the log from the commit of package python-ldap3 for openSUSE:Factory 
checked in at 2017-05-17 10:54:45

Comparing /work/SRC/openSUSE:Factory/python-ldap3 (Old)
 and  /work/SRC/openSUSE:Factory/.python-ldap3.new (New)


Package is "python-ldap3"

Wed May 17 10:54:45 2017 rev:2 rq:495346 version:2.2.4

Changes:

--- /work/SRC/openSUSE:Factory/python-ldap3/python-ldap3.changes
2017-04-29 10:52:36.471995752 +0200
+++ /work/SRC/openSUSE:Factory/.python-ldap3.new/python-ldap3.changes   
2017-05-17 10:54:51.910514135 +0200
@@ -1,0 +2,43 @@
+Wed May 10 09:04:31 UTC 2017 - mich...@stroeder.com
+
+- Update to version 2.2.4
+  - leading and trailing spaces in server name don't raise exception anymore
+  - DitContentRule is properly read from the schema
+  - added validator for Active Directory timestamp
+  - Mock strategies raise an exception if a non-bytes value is added to the 
schema when no offline schema is provided (str and int are automatically 
converted)
+  - added custom_validators property to Mock strategies
+  - modifying objectClass with bytes values doesn't raise an exception anymore 
(but it may fail anyway because of server constraints)
+  - ensure that config sequence parameters are properly set
+  - allow case insensitive attribute and class names in config parameters
+  - added server.schema.is_valid() to check if the schema is available
+  - empty schema properties are set to empty dict() instead of None
+  - schema definitions with traling and leading spaces are now properly parsed 
and don't raise an LDAPSchemaError exception anymore
+  - fixed error when flaky servers (OpenLDAP) don't return the correct 
response with StartTls
+
+---
+Wed May  3 06:18:43 UTC 2017 - mich...@stroeder.com
+
+- Update to version 2.2.3
+  - abstraction layer query converts int values to string (thanks dgadmin)
+  - CaseInsensitiveDictWithAlias doesn't raise an exception anymore if alias 
is set multiple times to the same key
+  - friendly names in AttrDef are properly managed when performing commits in 
Writer cursors
+  - no more errors when server returns an empty schema (thanks Glen)
+  - range attributes in entries are properly recognized when auto_range is 
False
+  - fixed random errors in auto_range searches (thanks James)
+  - fixed checking of malformed schema
+  - added configuration parameter IGNORE_MALFORMED_SCHEMA to not raise 
exception for servers that don't follow the LDAP RFCs (defaults to False)
+  - test config moved to test/config.py
+  - testcase_id generated randomly for each test
+  - added ATTRIBUTES_EXCLUDED_FROM_OBJECT_DEF parmeter to exclude some 
attribute from automatic populate of ObjectDef in Abstract Layer (helpful for 
AD)
+  - added IGNORED_MANDATORY_ATTRIBUTES_IN_OBJECT_DEF parmeter to exclude some 
attribute from mandatory attribute list in ObjectDef in Abstract Layer (helpful 
for AD)
+  - fixed error when using implicit assigning in WritableEntry
+  - added LDAPInvalidValueError Exception
+  - in Python 3 byte filter are converted to unicode before parsing
+  - RESPONSE_DN_ENCODING parameter renamed to ADDITIONAL_ENCODINGS
+  - to_unicode(value, encoding=None, additional_encodings=False) now checks 
for additional encoodings in ADDITIONAL_ENCODINGS list if additional_encoding 
is set to True
+  - Reusable strategy uses not lazy Restartable connections
+  . Reusable strategy doesn't keep requesting the schema
+  - connection pool size in Reusable strategy defaults to 5
+  - optimized usage of configuration parameters
+
+---

Old:

  ldap3-2.2.2.tar.gz

New:

  ldap3-2.2.4.tar.gz



Other differences:
--
++ python-ldap3.spec ++
--- /var/tmp/diff_new_pack.mRAAGM/_old  2017-05-17 10:54:53.278321712 +0200
+++ /var/tmp/diff_new_pack.mRAAGM/_new  2017-05-17 10:54:53.282321150 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-ldap3
-Version:2.2.2
+Version:2.2.4
 Release:0
 Summary:A strictly RFC 4511 conforming LDAP V3 pure Python client
 License:LGPL-3.0

++ ldap3-2.2.2.tar.gz -> ldap3-2.2.4.tar.gz ++
 5109 lines of diff (skipped)