Quantcast

[MacPorts] #53993: py35-pylint: version conflict with py-astroid

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #53993: py35-pylint: version conflict with py-astroid

MacPorts
#53993: py35-pylint: version conflict with py-astroid
--------------------+-----------------------
 Reporter:  cdeil   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  py-pylint
--------------------+-----------------------
 With the current version of pylint
 {{{
 py35-pylint @1.6.5_0 (active)
 py35-astroid @1.5.1_0 (active)
 }}}
 I'm getting this error, i.e. pylint is broken
 {{{
 $ pylint
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 654, in _build_master
     ws.require(__requires__)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 968, in require
     needed = self.resolve(parse_requirements(requirements))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 859, in resolve
     raise VersionConflict(dist, req).with_context(dependent_req)
 pkg_resources.ContextualVersionConflict: (astroid 1.5.1
 (/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages), Requirement.parse('astroid<1.5.0,>=1.4.5'), {'pylint'})

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/opt/local/bin/pylint", line 6, in <module>
     from pkg_resources import load_entry_point
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 3036, in <module>
     @_call_aside
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 3020, in _call_aside
     f(*args, **kwargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 3049, in
 _initialize_master_working_set
     working_set = WorkingSet._build_master()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 656, in _build_master
     return cls._build_from_requirements(__requires__)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 669, in
 _build_from_requirements
     dists = ws.resolve(reqs, Environment())
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
 /site-packages/pkg_resources/__init__.py", line 854, in resolve
     raise DistributionNotFound(req, requirers)
 pkg_resources.DistributionNotFound: The 'astroid<1.5.0,>=1.4.5'
 distribution was not found and is required by pylint
 }}}


 Maybe an update to a newer version of pylint / astroid would help?
 https://pypi.python.org/pypi/pylint/1.7.1

--
Ticket URL: <https://trac.macports.org/ticket/53993>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53993: py35-pylint: version conflict with py-astroid

MacPorts
#53993: py35-pylint: version conflict with py-astroid
------------------------+----------------------
  Reporter:  cdeil      |      Owner:  blair
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  py-pylint  |
------------------------+----------------------
Changes (by mf2k):

 * owner:   => blair
 * status:  new => assigned
 * cc: blair (removed)


--
Ticket URL: <https://trac.macports.org/ticket/53993#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...