We should definitely support Python 3.6 to make the Upgrades to Airflow 2.0
a bit easier.

As of yesterday, checks these stats from PyPI downloads:

Py3.7: 12,578
Py3.6: 9,806
Py3.8: 1,815



On Thu, Nov 5, 2020 at 11:40 AM Halo Ku <[email protected]> wrote:

>
> If I may point that Airflow is a wokrflow managment system and as such the
> power of the tool is in direct extention to the levrage providers.
> This should also be checked from how many of the providers are compatible
> with 3.8 / 3.9
>
> *Sent:* Thursday, November 05, 2020 at 1:16 PM
> *From:* "Ash Berlin-Taylor" <[email protected]>
> *To:* "[email protected]" <[email protected]>
> *Cc:* "[email protected]" <[email protected]>
> *Subject:* Re: Default/supported Python versions for Airlfow 2.0
> Debian stable ships python 3.7(.3)
> CentOS 8 has two packages - python36 and python38
> Ubuntu 18.04 (LTS) has 3.6.5
> Ubuntu 20.04 (LTS) has 3.8.2
>
> (https://pkgs.org/search/?q=python3&on=files)
>
> RHEL is harder to find out about . RHEL8 has python 3.6 as python3, and
> RHEL 8.2 has Py3.8 as a separate package
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/index#using-python3_configuring-basic-system-settings
>
> So for default version 3.8 or 3.9 gets my vote. I think the cost/burden of
> supporting back to 3.6 is not very great, so we should continue to support
> (and I guess test) that.
>
> -ash
>
> On Nov 5 2020, at 8:49 am, Jarek Potiuk <[email protected]> wrote:
>
> Hello Everyone,
>
> I have a question. What do people think about default version of Pyhon for
> Airflow 2.0 (and set of supported versions)?
>
> Currently, we have python 3.6 as default, but all the version up to 3.8
> are officially supported and tested and PR for python 3.9 is in Draft:
> https://github.com/apache/airflow/pull/11950
>
> This is the release schedule for python versions. We have a year till the
> end of 3.6
>
> Branch Schedule Status   First release End-of-life
> 3.9    PEP 596  bugfix   2020-10-05    TBD
> 3.8    PEP 569  bugfix   2019-10-14    2024-10
> 3.7    PEP 537  security 2018-06-27    2023-06-27
> 3.6    PEP 494  security 2016-12-23    2021-12-23
>
> WDYT?
>
> J.
>
>
> --
>
> Jarek Potiuk
> Polidea <https://www.polidea.com/> | Principal Software Engineer
>
> M: +48 660 796 129
> [image: Polidea] <https://www.polidea.com/>
>
>

Reply via email to