Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1931044 - Cannot find 'builtins' module. Typeshed appears broken!
Summary: Cannot find 'builtins' module. Typeshed appears broken!
Status: CLOSED DUPLICATE of bug 1929522
Alias: None
Product: Fedora
Classification: Fedora
Component: python3-mypy
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2021-02-20 09:07 UTC by Martin Pitt
Modified: 2021-02-20 21:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2021-02-20 21:25:13 UTC
Type: Bug

Attachments (Terms of Use)

Description Martin Pitt 2021-02-20 09:07:37 UTC
Description of problem: The most recent mypy update in Fedora 35 breaks with
the error message in the subject.

$ git clone
$ cd python-dbusmock
$ mypy --verbose
LOG:  Could not load plugins snapshot: @plugins_snapshot.json

LOG:  Mypy Version:           0.810
LOG:  Config File:            setup.cfg
LOG:  Configured Executable:  /usr/bin/python3
LOG:  Current Executable:     /usr/bin/python3
LOG:  Cache Dir:              .mypy_cache
LOG:  Compiled:               False
LOG:  Exclude:
LOG:  Found source:           BuildSource(path='', module='setup', has_text=False, base_dir='/source')
LOG:  Could not load cache for setup: setup.meta.json
LOG:  Metadata not found for setup
LOG:  Parsing (setup)
LOG:  Build finished in 0.007 seconds with 1 modules, and 1 errors error: Cannot find 'builtins' module. Typeshed appears broken!
Found 1 error in 1 file (errors prevented further checking)

This isn't particularly sensitive to ./, it does the same thing on any
other Python file in that project.

I tried to install the current version from PyPy:

$ pip install mypy
mypy              0.812
mypy-extensions   0.4.3

With that it works again. So hopefully all that's required is to update the
Rawhide package to 0.812?

Version-Release number of selected component (if applicable):


How reproducible: Always

Comment 1 Martin Pitt 2021-02-20 09:10:13 UTC
I wanted to compare with upstream with `pip install mypy==0.810`, but that version does not actually exist on nor . It only exists as a tag on

Comment 2 Gwyn Ciesla 2021-02-20 21:25:13 UTC

*** This bug has been marked as a duplicate of bug 1929522 ***

Note You need to log in before you can comment on or make changes to this bug.