Tried to use pylint for the first time, this does not look right:

        $ pylint-3 -h
        Traceback (most recent call last):
          File "/usr/local/lib/python3.8/site-packages/astroid/astpeephole.py", 
line 29, in <module>
            _TYPES = (_ast.Str, _ast.Bytes)
        AttributeError: module '_ast' has no attribute 'Str'

        During handling of the above exception, another exception occurred:

        Traceback (most recent call last):
          File "/usr/local/bin/pylint-3", line 11, in <module>
            load_entry_point('pylint==1.6.5', 'console_scripts', 'pylint')()
          File "/usr/local/lib/python3.8/site-packages/pylint/__init__.py", 
line 16, in run_pylint
            from pylint.lint import Run
          File "/usr/local/lib/python3.8/site-packages/pylint/lint.py", line 
57, in <module>
            import astroid
          File "/usr/local/lib/python3.8/site-packages/astroid/__init__.py", 
line 64, in <module>
            from astroid.builder import parse
          File "/usr/local/lib/python3.8/site-packages/astroid/builder.py", 
line 35, in <module>
            from astroid import rebuilder
          File "/usr/local/lib/python3.8/site-packages/astroid/rebuilder.py", 
line 37, in <module>
            from astroid import astpeephole
          File "/usr/local/lib/python3.8/site-packages/astroid/astpeephole.py", 
line 31, in <module>
            _TYPES = (_ast.Str, )
        AttributeError: module '_ast' has no attribute 'Str'

To exclude local corruption (/usr/local/lost+found is not empty), I
reinstalled all dependent ports:

        # pkg_add -UrDinstalled pylint3
        pylint3-1.6.5p3:libiconv-1.16p0->1.16p0: ok
        
pylint3-1.6.5p3:.libs1-gettext-runtime-0.20.1p1+gettext-runtime-0.21p0->gettext-runtime-0.21p0:
 ok
        pylint3-1.6.5p3:sqlite3-3.34.0->3.34.0: ok
        pylint3-1.6.5p3:libffi-3.3->3.3: ok
        pylint3-1.6.5p3:xz-5.2.5->5.2.5: ok
        pylint3-1.6.5p3:bzip2-1.0.8p0->1.0.8p0: ok
        pylint3-1.6.5p3:python-3.8.6p0->3.8.6p0: ok
        pylint3-1.6.5p3:py3-setuptools-44.1.1v0->44.1.1v0: ok
        pylint3-1.6.5p3:py3-wrapt-1.10.10p2->1.10.10p2: ok
        pylint3-1.6.5p3:py3-six-1.15.0->1.15.0: ok
        pylint3-1.6.5p3:py3-lazy-object-proxy-1.3.1p2->1.3.1p2: ok
        pylint3-1.6.5p3:py3-astroid-1.4.9p4->1.4.9p4: ok
        pylint3-1.6.5p3:py3-isort-4.2.15p2->4.2.15p2: ok
        pylint3-1.6.5p3:py3-mccabe-0.6.1p2->0.6.1p2: ok
        pylint3-1.6.5p3->1.6.5p3: ok
        Read shared items: ok

Still no change.

Can anyone reproduce this on amd64 snapshots?

Reply via email to