-
-
Notifications
You must be signed in to change notification settings - Fork 307
Closed
Description
Steps to reproduce
- Install package with
wrapt==1.12andastroid==2.4.0
Current behavior
Installing this, or running prospector with these dependencies will lead to a contextual version conflict because astroid specifies a very restrictive requirement wrapt==1.11.* which is not compatible:
prospector...............................................................Failed
hookid: prospector
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (wrapt 1.12.0 (/opt/hostedtoolcache/Python/3.7.6/x64/lib/python3.7/site-packages), Requirement.parse('wrapt==1.11.*'), {'astroid'})
Expected behavior
The ability to install astroid with wrapt>=1.12
python -c "from astroid import __pkginfo__; print(__pkginfo__.version)" output
2.4.0
SunsetOrange, knzivid, tchernomax and maramon
Metadata
Metadata
Assignees
Labels
No labels