Technologicat / pyan

Static call graph generator. The official Python 3 version. Development repo.
GNU General Public License v2.0
329 stars 57 forks source link

Type hints cause crash #42

Closed kc9jud closed 3 years ago

kc9jud commented 4 years ago

I think something from the typing module needs to be imported... I get this error when trying to run pyan3:

pyan3 
Traceback (most recent call last):
  File "/home/pjfasano/.local/bin/pyan3", line 5, in <module>
    from pyan.main import main
  File "/home/pjfasano/.local/lib/python3.6/site-packages/pyan/__init__.py", line 26, in <module>
    grouped: bool = True,
NameError: name 'Union' is not defined
Technologicat commented 3 years ago

Fixed by #43.

Technologicat commented 3 years ago

PyPI package pyan3 updated. Please try again with the latest version, and reopen this issue if necessary.