[Cython] Remove Py3.4 support in Cython 3.0?

2021-08-14 Thread Stefan Behnel

Hi,

I looked up where Python 3.4 is still being used.

Ubuntu 14.04 – EOS 2019, EOL April 2022
Debian 8 – EOL
Centos 6 – EOL

Later distribution versions have newer CPythons:

Ubuntu 16.04: Py3.5  (EOS April 2021, EOL 2024)
Debian 9: Py3.5  (EOL June 2022)
Centos 7: Py3.6  (EOL June 2024)

I think we can safely drop Py3.4 support already for Cython 3.0.

The advantage isn't big, since we still support Py2.7, but we can at least 
stop testing it, and start relying on the Py3.5 C-API for Py3.


Given that Py3.5 is also going out of support in major Linux distributions 
within a year's time, I'd suggest we drop support for it in Cython 3.1, 
together with Py2 support, making the minimum version Py3.6. That would 
mean that we can start using f-strings, dict ordering, and what not.


Any objections?

Stefan

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Remove Py3.4 support in Cython 3.0?

2021-08-14 Thread Lisandro Dalcin
On Sat, 14 Aug 2021 at 11:21, Stefan Behnel  wrote:

>
> Given that Py3.5 is also going out of support in major Linux distributions
> within a year's time, I'd suggest we drop support for it in Cython 3.1,
> together with Py2 support, making the minimum version Py3.6. That would
> mean that we can start using f-strings, dict ordering, and what not.
>
> Any objections?
>

Not at all!

-- 
Lisandro Dalcin

Senior Research Scientist
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/
___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Remove Py3.4 support in Cython 3.0?

2021-08-14 Thread da-woods
None from me - nobody on Ubuntu 14.04 (or similar) is going to get 
Cython 3 from their distribution. And if they're installing Cython 
manually then they can probably install a newer Python manually.


Looking at the stats on PyPI (https://pypistats.org/packages/cython) the 
numbers of downloads for 3.4 are pretty small (a few hundred). And 
that's for the stable 0.29.x branch mainly I imagine. I doubt if they're 
the people that are looking to use the latest thing anyway.


David


On 14/08/2021 09:21, Stefan Behnel wrote:

Hi,

I looked up where Python 3.4 is still being used.

Ubuntu 14.04 – EOS 2019, EOL April 2022
Debian 8 – EOL
Centos 6 – EOL

Later distribution versions have newer CPythons:

Ubuntu 16.04: Py3.5  (EOS April 2021, EOL 2024)
Debian 9: Py3.5  (EOL June 2022)
Centos 7: Py3.6  (EOL June 2024)

I think we can safely drop Py3.4 support already for Cython 3.0.

The advantage isn't big, since we still support Py2.7, but we can at 
least stop testing it, and start relying on the Py3.5 C-API for Py3.


Given that Py3.5 is also going out of support in major Linux 
distributions within a year's time, I'd suggest we drop support for it 
in Cython 3.1, together with Py2 support, making the minimum version 
Py3.6. That would mean that we can start using f-strings, dict 
ordering, and what not.


Any objections?

Stefan

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel



___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel


Re: [Cython] Remove Py3.4 support in Cython 3.0?

2021-08-14 Thread Stefan Behnel
This should also have gone to cython-users (not just cython-devel), as it 
has the larger audience.


Stefan Behnel wrote:

Hi,

I looked up where Python 3.4 is still being used.

Ubuntu 14.04 – EOS 2019, EOL April 2022
Debian 8 – EOL
Centos 6 – EOL

Later distribution versions have newer CPythons:

Ubuntu 16.04: Py3.5  (EOS April 2021, EOL 2024)
Debian 9: Py3.5  (EOL June 2022)
Centos 7: Py3.6  (EOL June 2024)

I think we can safely drop Py3.4 support already for Cython 3.0.

The advantage isn't big, since we still support Py2.7, but we can at least 
stop testing it, and start relying on the Py3.5 C-API for Py3.


Given that Py3.5 is also going out of support in major Linux distributions 
within a year's time, I'd suggest we drop support for it in Cython 3.1, 
together with Py2 support, making the minimum version Py3.6. That would 
mean that we can start using f-strings, dict ordering, and what not.


Any objections?

Stefan

___
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel