Skip to content

stubtest: Honor VERSIONS file for sub-modules #12062

Closed
@srittau

Description

@srittau

Bug Report

Cf. python/typeshed#6789. Currently, stubtest doesn't honor version ranges in stdlib's VERSIONS file. For example, when testing stdlib with Python 3.9, stubtest will complain about asyncio.mixins failed to find stubs, even though asyncio.mixins is marked as asyncio.mixins: 3.10- in VERSIONS.

Your Environment

  • Mypy version used: as of today, typeshed uses mypy 0.931

Metadata

Metadata

Assignees

Labels

bugmypy got something wrong

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions