Package Details: pytype 2019.06.21-1

Git Clone URL: https://aur.archlinux.org/pytype.git (read-only)
Package Base: pytype
Description: Python type inferencer
Upstream URL: https://google.github.io/pytype
Licenses: Apache
Provides: pytype
Submitter: zhangkaizhao
Maintainer: zhangkaizhao (lilydjwg)
Last Packager: zhangkaizhao
Votes: 0
Popularity: 0.000000
First Submitted: 2018-10-02 17:05
Last Updated: 2019-06-22 06:36

Latest Comments

zhangkaizhao commented on 2018-10-12 04:45

@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

@lilydjwg working on it.

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

See https://github.com/google/importlab/blob/master/CHANGELOG

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 https://pypi.org/project/importlab/

And the latest version of pytype in PyPI https://pypi.org/project/pytype/ 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

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 :-(