Skip to content

mypy: python 3.10+ #5736

@oliver-sanders

Description

@oliver-sanders

Mypy appears to be raising false positives in imported code for Python 3.10+, so currently, we're only running it for Python 3.9.

We will need to address this going forward.

The problem:

  • Matplotlib has dropped Python 3.7 support in their latest releases.
  • MyPy is complaining for non 3.7 compatible syntax in the non 3.7 compatible matplotlib code.
  • But these non compatible versions shouldn't get installed for 3.7 anyway (the install tool should handle this).
  • Adding an upper pin for Matplotlib which only applies to Python 3.7 doesn't make this go away.

Because no_silence_site_packages=false (the default) I wouldn't expect any errors from imported code anyway?

See #5735

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions