Skip to content

Implement Supported Python Versions by Provider & Core #16426

@r-richmond

Description

@r-richmond

Description

  • Allow providers to specify which python versions they support; (Core-airflow would also have its own supported versions)
  • Don't run tests for providers on python versions that aren't marked as supported

Use case / motivation

  • Due to the success of airflow it now has a huge selection of providers and packages that those providers depend upon. Unfortunately due to this huge selection updating airflow to supporting new versions of python is becoming a larger and larger task and is currently unbounded in terms of complexity.
  • The current situation has led to the python 3.9 PRS languishing for ~8 months (starting 2020-10-29). Worse yet the current blocker was unknown until today due to the complexity of PIP extras dependencies.
  • Put succinctly It feels suboptimal to be waiting for dropbox/3rdparty to update a package for a provider (hive) that many/most? airflow users do not want or need.

End Result

  1. This will allow us to incrementally support new versions of python rather than requiring all providers support the new version before we can migrate any.
  2. Allow endusers to update Airflow on a more regular cadence if their desired providers are ready.

Are you willing to submit a PR?

Unfortunately, it is beyond my abilities

Related Issues

  1. Add Python 3.9 to supported versions #11950 (comment @ashb)
  2. Add python 3.9 #15515

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions