Skip to content

Start requiring Python 3.6.2 or newer #5065

Closed
@cdce8p

Description

@cdce8p

I would like to propose to drop support for Python 3.6.0 and 3.6.1 a bit ahead of schedule. This would allow us to use some typing feature added in 3.6.1 and 3.6.2 while still maintaining general support for Python 3.6 until its end of support in December.

Python 3.6.1

  • Default values for NamedTuples
  • ChainMap, Counter, Deque, AsyncGenerator

Python 3.6.2

  • NoReturn
  • AsyncContextManager

--
At the moment, we already use Counter and NoReturn wrapped in if TypeChecking or if sys.version_info checks.
There are good usecases for default values in NamedTuples as well. Especially with the ongoing refactoring effort.

--
For reference: #4310

Metadata

Metadata

Assignees

No one assigned

    Labels

    Discussion 🤔MaintenanceDiscussion or action around maintaining pylint or the dev workflow

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions