Version-Release number of selected component: python3-mypy-0.620-1.fc28 Additional info: reporter: libreport-2.9.5 cmdline: /usr/bin/python3 /usr/bin/mypy --show-column-numbers --shadow-file /home/se/documents/rommel/webteam/homepage/rommelhp/wsgi.py /tmp/nvimx3ExN4/12/wsgi.py /home/se/documents/rommel/webteam/homepage/rommelhp/wsgi.py crash_function: lookup_qualified_stnode exception_type: AssertionError executable: /usr/bin/mypy interpreter: python3-3.6.6-1.fc28.x86_64 kernel: 4.17.18-200.fc28.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: fixup.py:259:lookup_qualified_stnode:AssertionError: Cannot find collections.ChainMap Traceback (most recent call last): File "/usr/bin/mypy", line 11, in <module> load_entry_point('mypy==0.620', 'console_scripts', 'mypy')() File "/usr/lib/python3.6/site-packages/mypy/__main__.py", line 8, in console_entry main(sys.argv[0]) File "/usr/lib/python3.6/site-packages/mypy/main.py", line 91, in main res = type_check_only(sources, bin_dir, options, flush_errors, fscache) # noqa File "/usr/lib/python3.6/site-packages/mypy/main.py", line 148, in type_check_only fscache=fscache) File "/usr/lib/python3.6/site-packages/mypy/build.py", line 177, in build flush_errors, fscache) File "/usr/lib/python3.6/site-packages/mypy/build.py", line 350, in _build graph = dispatch(sources, manager) File "/usr/lib/python3.6/site-packages/mypy/build.py", line 2564, in dispatch process_graph(graph, manager) File "/usr/lib/python3.6/site-packages/mypy/build.py", line 2850, in process_graph process_fresh_modules(graph, prev_scc, manager) File "/usr/lib/python3.6/site-packages/mypy/build.py", line 2936, in process_fresh_modules graph[id].fix_cross_refs() File "/usr/lib/python3.6/site-packages/mypy/build.py", line 1979, in fix_cross_refs self.options.use_fine_grained_cache) File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 24, in fixup_module node_fixer.visit_symbol_table(tree.names) File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 89, in visit_symbol_table value.node.accept(self) File "/usr/lib/python3.6/site-packages/mypy/nodes.py", line 2539, in accept return visitor.visit_type_alias(self) File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 135, in visit_type_alias a.target.accept(self.type_fixer) File "/usr/lib/python3.6/site-packages/mypy/types.py", line 511, in accept return visitor.visit_instance(self) File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 149, in visit_instance inst.type = lookup_qualified_typeinfo(self.modules, type_ref, self.quick_and_dirty) File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 234, in lookup_qualified_typeinfo node = lookup_qualified(modules, name, quick_and_dirty) File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 245, in lookup_qualified stnode = lookup_qualified_stnode(modules, name, quick_and_dirty) File "/usr/lib/python3.6/site-packages/mypy/fixup.py", line 259, in lookup_qualified_stnode assert '.' in head, "Cannot find %s" % (name,) AssertionError: Cannot find collections.ChainMap Local variables in innermost frame: mod: None tail: 'ChainMap' rest: ['ChainMap'] head: 'collections' quick_and_dirty: False name: 'collections.ChainMap' modules: {'rommelhp.wsgi': <mypy.nodes.MypyFile object at 0x7f092f76e318>, 'rommelhp': <mypy.nodes.MypyFile object at 0x7f092f76e5a0>, '_importlib_modulespec': <mypy.nodes.MypyFile object at 0x7f092f748480>, 'types': <mypy.nodes.MypyFile object at 0x7f092f698678>, 'abc': <mypy.nodes.MypyFile object at 0x7f092f68c1f8>, 'mypy_extensions': <mypy.nodes.MypyFile object at 0x7f092f698558>, 'typing': <mypy.nodes.MypyFile object at 0x7f092f587990>, 'sys': <mypy.nodes.MypyFile object at 0x7f092f5b5438>, 'builtins': <mypy.nodes.MypyFile object at 0x7f092f1c0af8>}
Created attachment 1479545 [details] File: backtrace
Created attachment 1479546 [details] File: cgroup
Created attachment 1479547 [details] File: cpuinfo
Created attachment 1479548 [details] File: environ
Created attachment 1479549 [details] File: mountinfo
Created attachment 1479550 [details] File: namespaces
Created attachment 1479551 [details] File: open_fds
This is also happening on my Fedora 29 with python3-mypy-0.620-1.fc29.
This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.