Skip to content

Drop python 3.5 support? #3765

@skshetry

Description

@skshetry

Advantages of Python 3.6+ codebase:

  1. f-strings (on exceptions mostly, but yay!)
  2. insertion-ordered dict (in 3.6, it's an implementation detail, but who's gonna change that?)
  3. Supports Pathlike objects which will help us get rid of some helpers.
  4. Typings, which we are planning to start using. (with support for variable annotations)
  5. We will be supporting 3 versions (right now, it's 4)
  6. Per download stats, 3.8 has overtaken 3.5 and number is quite low.

Regarding 5, Numpy and most of the data-science tools follow NEP29, by which they are on course to drop Python3.6 next month. Conda has already dropped support for Python3.5.

And, with the release of python 3.9, there will be a new version every year (with 5 years of support). Do we need to support all actively supported Python versions?

New schedule of Python releases starting with 3.9 where new version is released annually

/cc @iterative/engineering

Metadata

Metadata

Assignees

Labels

discussionrequires active participation to reach a conclusionquestionI have a question?

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions