Package Details: pytype 2024.03.19-1

Git Clone URL: (read-only, click to copy)
Package Base: pytype
Description: A static type analyzer for Python code
Upstream URL:
Licenses: MIT, Apache-2.0
Submitter: zhangkaizhao
Maintainer: None
Last Packager: cqzw555
Votes: 0
Popularity: 0.000000
First Submitted: 2018-10-02 17:05 (UTC)
Last Updated: 2024-04-01 11:47 (UTC)

Latest Comments

zhangkaizhao commented on 2018-10-12 04:45 (UTC) (edited on 2018-10-12 05:02 (UTC) by zhangkaizhao)

@lilydjwg it works now.

Also, pytype and importlab defaults to Python 3.6 :-(

Yes... I have to install the python36 package from AUR to make pytype work as normal by default for now.

zhangkaizhao commented on 2018-10-12 03:48 (UTC)

@lilydjwg working on it.

ImportGraph.provenance is new in importlab 0.2 but no official release in GitHub repository.


Version 0.2 (2018-06-06)
* Track file provenance for all imports
* Don't allow relative imports in non-packages

I have updated python-importlab package to version 0.3.1 which came from PyPI

And the latest version of pytype in PyPI is 2018.9.26 at the moment. But still keeps at 2018.9.19 in GitHub repository. The release process of python-importlab and pytype seems to be broken.

lilydjwg commented on 2018-10-11 09:35 (UTC)

CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

PyType requires 'bison'. The minimum required 'bison' version is 3.0.2.

After installing I get:

AttributeError: 'ImportGraph' object has no attribute 'provenance'

Also, pytype and importlab defaults to Python 3.6 :-(