svn commit: r494098 - head/devel/py-astroid

Craig Leres leres at freebsd.org
Sat Mar 2 00:03:07 UTC 2019


On 2/27/19 3:47 PM, Sunpoet Po-Chuan Hsieh wrote:
> Author: sunpoet
> Date: Wed Feb 27 23:47:36 2019
> New Revision: 494098
> URL:https://svnweb.freebsd.org/changeset/ports/494098
> 
> Log:
>    Update to 2.2.0

pylint stopped worked for me (see attached). It looks like py-astroid is 
missing a dependency for devel/py-typed-ast? I tried building/installing 
it but unfortunately it's version 1.1.0 and the new astroid wants 1.3.0 
or higher.

I'm using DEFAULT_VERSIONS+= python=3.7 python3=3.7.

		Craig
-------------- next part --------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (typed-ast 1.1.0 (/usr/local/lib/python3.7/site-packages), Requirement.parse('typed-ast>=1.3.0'), {'astroid'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/pylint", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3191, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'typed-ast>=1.3.0' distribution was not found and is required by astroid


More information about the svn-ports-all mailing list