15
0
forked from pool/python-ldap3

Accepting request 867413 from home:mcalabkova:branches:devel:languages:python

- Update to 2.9
  * SafeSync strategy (SAFE_SYNC) for using a synchronous Connection 
    object in a multi-threading program
  * try to use Crypto library if present for hashing NTLM password 
    on python interpreter missing the MD4 OpenSSL algorithm
  * SafeRestartable strategy (SAFE_RESTARTABLE) for using a restartable 
    Connection object in a multi-threading program
  * many smaller changes and bugfixes
- Rebase skip-missing-LDAP-server.patch
  * suprisingly still needed

OBS-URL: https://build.opensuse.org/request/show/867413
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap3?expand=0&rev=36
This commit is contained in:
2021-01-28 11:26:45 +00:00
committed by Git OBS Bridge
parent 0fd8689094
commit 79506aaacc
5 changed files with 27 additions and 19 deletions

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jan 27 16:56:28 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Update to 2.9
* SafeSync strategy (SAFE_SYNC) for using a synchronous Connection
object in a multi-threading program
* try to use Crypto library if present for hashing NTLM password
on python interpreter missing the MD4 OpenSSL algorithm
* SafeRestartable strategy (SAFE_RESTARTABLE) for using a restartable
Connection object in a multi-threading program
* many smaller changes and bugfixes
- Rebase skip-missing-LDAP-server.patch
* suprisingly still needed
-------------------------------------------------------------------
Fri Jul 24 00:46:48 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ldap3
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# 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.7
Version: 2.9
Release: 0
Summary: A strictly RFC 4511 conforming LDAP V3 pure Python client
License: LGPL-3.0-only
@@ -66,6 +66,6 @@ export STRATEGY=SYNC SERVER=EDIR DECODER=INTERNAL
%license COPYING.LESSER.txt COPYING.txt LICENSE.txt
%doc README.rst
%{python_sitelib}/ldap3
%{python_sitelib}/ldap3-%{version}-py*.egg-info
%{python_sitelib}/ldap3-%{version}*-py*.egg-info
%changelog

View File

@@ -1,16 +1,10 @@
--- 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']
Index: ldap3-2.8/test/config.py
===================================================================
--- ldap3-2.8.orig/test/config.py
+++ ldap3-2.8/test/config.py
@@ -443,7 +443,7 @@ elif location.endswith('-NONE'):
test_logging_filename = 'ldap3-none.log'
test_valid_names = None
else:
- raise Exception('testing location ' + location + ' is not valid')
+ raise SkipTest('testing location ' + location + ' is not valid')

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:adc7dccb19bedbeb40ac19b3b29c12ec8ca4514ebbca53e449c172b2aa209539
size 956927

3
v2.9.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a55ec0a5a1181dc345a73e24488516028e33976852199ea182dca71d3635223
size 970490