FS#65919 - [impacket] ldap3 dependency compatibility
Attached to Project:
Community Packages
Opened by Alexandre ZANNI (noraj) - Saturday, 21 March 2020, 13:13 GMT
Last edited by freswa (frederik) - Tuesday, 14 April 2020, 11:31 GMT
Opened by Alexandre ZANNI (noraj) - Saturday, 21 March 2020, 13:13 GMT
Last edited by freswa (frederik) - Tuesday, 14 April 2020, 11:31 GMT
|
Details
Description:
The PKGBUYILD requires 'python-ldap3', in arch repo 'python-ldap3' is in version 2.7. But impacket release 0.9.20 requires 'ldap3==2.5.1' in its setup.py (https://github.com/SecureAuthCorp/impacket/blob/impacket_0_9_20/setup.py). So using a tool that requires impacket always end like this: Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 584, in _build_master ws.require(__requires__) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 901, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 792, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (ldap3 2.7 (/usr/lib/python3.8/site-packages), Requirement.parse('ldap3==2.5.1'), {'impacket'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/bloodhound-python", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3255, in <module> def _initialize_master_working_set(): File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3238, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3267, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 586, in _build_master return cls._build_from_requirements(__requires__) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 599, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 792, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (ldap3 2.7 (/usr/lib/python3.8/site-packages), Requirement.parse('ldap3==2.5.1'), {'impacket'}) There is an upstream fix 'ldap3>=2.5,!=2.5.2,!=2.5.0,!=2.6' in master that will be release in impacket 0.9.21. Meanwhile we may fix this with a sed on setup.py in prepare() Additional info: * package version(s) impacket 0.9.20-1 |
This task depends upon
Closed by freswa (frederik)
Tuesday, 14 April 2020, 11:31 GMT
Reason for closing: Fixed
Additional comments about closing: 0.9.21
Tuesday, 14 April 2020, 11:31 GMT
Reason for closing: Fixed
Additional comments about closing: 0.9.21