Re: [sage-devel] drop python2 compatibility in 9.1 ?

2020-01-17 Thread E. Madison Bray
On Tue, Jan 14, 2020 at 11:49 AM Dima Pasechnik  wrote:
>
> On Sun, Jan 5, 2020 at 7:44 PM Frédéric Chapoton  wrote:
> >
> > Hello,
> >
> > I would like to suggest that the sooner we drop Python 2 support the 
> > better. We still need to handle the upgrade to ipython7 and the 
> > compatibility with python 3.8. All this will be made very difficult if we 
> > insist on maintaining a codebase that is both compatible with python 2 and 
> > python 3.
> >
> > So, please vote :
> >
> > Do you agree that sage release 9.1 (and most of the 9.1.betas) will not be 
> > kept compatible with Python 2 ?
>
> As far as I am concerned, the sooner py2 is dropped on the "main"
> branches, the better.
>
> This does not preclude making separate maintenance releases for py2, if need 
> be.

This I would be okay with, and I have always said we should have
maintenance branches, but the release manager doesn't want to do that
so *shrug*

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAOTD34Y64sQ4agZvZQYGF3EEykFw2dO-cAQ7biOTmb%2B04DY82w%40mail.gmail.com.


Re: [sage-devel] drop python2 compatibility in 9.1 ?

2020-01-14 Thread Dima Pasechnik
On Sun, Jan 5, 2020 at 7:44 PM Frédéric Chapoton  wrote:
>
> Hello,
>
> I would like to suggest that the sooner we drop Python 2 support the better. 
> We still need to handle the upgrade to ipython7 and the compatibility with 
> python 3.8. All this will be made very difficult if we insist on maintaining 
> a codebase that is both compatible with python 2 and python 3.
>
> So, please vote :
>
> Do you agree that sage release 9.1 (and most of the 9.1.betas) will not be 
> kept compatible with Python 2 ?

As far as I am concerned, the sooner py2 is dropped on the "main"
branches, the better.

This does not preclude making separate maintenance releases for py2, if need be.



>
> Frédéric
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/692fc332-d9e6-4e6a-80fe-2e89cf0b488f%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1BQ0xLtRo%2B-h3_zRJt-%3DQGQ3yHpvM%3DzNugbJf9m4aQRQ%40mail.gmail.com.


Re: [sage-devel] drop python2 compatibility in 9.1 ?

2020-01-10 Thread Nathan Dunfield
On Friday, January 10, 2020 at 8:11:43 AM UTC-8, William wrote:
>
> The main person that has valid reason to want longer support for python2 
>> is William.
>> As he mentions, he has paying customers.
>>
>
> I am 100% satisfied for my use case with cocalc by just keeping a copy of 
> sage-8.9 available longterm.   Fortunately, I don't need any sage-9.x 
> versions to support python2.
>

I think that for nearly all users, in practice sage < 9.0 will mean Python 
2 and sage >= 9.0 will mean Python 3.  There will be a handful of folks who 
use (sage-9.x + Python 2) for whatever few values of x this will work for, 
but I agree with William and others that in nearly all cases just using 8.9 
would suffice.

Given that the period of official dual Python 2/Python 3 support is going 
to be a few months, not years, I see no harm in removing Python 2 support 
in Sage 9.1.

In terms of helping users with thousands of lines of Python 2 based Sage 
code, trying to keep building Sage 8.9-the-distribution binaries for future 
OS releases as they come out is probably a lot more effective than working 
hard to push back the date that Python 2 support is dropped from Sage 9.x.

Best,

Nathan


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/45548347-5167-43e1-a50e-6120e98a83d2%40googlegroups.com.


Re: [sage-devel] drop python2 compatibility in 9.1 ?

2020-01-10 Thread William Stein
> The main person that has valid reason to want longer support for python2
> is William.
> As he mentions, he has paying customers.
>

I am 100% satisfied for my use case with cocalc by just keeping a copy of
sage-8.9 available longterm.   Fortunately, I don't need any sage-9.x
versions to support python2.



> At this point my only reasonable suggestion is to have a python2
> compatibility branch
> for a while as sage-9.x while some of us plow on ahead without in
> sage-10.x.
> That’s unreasonable on the release manager unless someone step up to help.
>
> François
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "sage-devel" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/sage-devel/vYlbnAwKATM/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/BBC8CF32-2E9D-4DC0-BBE5-5130E15B3B14%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CACLE5GC5ep%2BM%2BUSu%2BDK%2BY7SeGj3%3D4OD1f%3DSLXH8Et9vsAAFC%3Dg%40mail.gmail.com.


Re: [sage-devel] drop python2 compatibility in 9.1 ?

2020-01-10 Thread François Bissey



> On 10/01/2020, at 11:23 PM, E. Madison Bray  wrote:
> 
> On Fri, Jan 10, 2020 at 10:41 AM Timo Kaufmann  wrote:
>> 
>> I have said this before, but I feel like the point was dropped out of the 
>> discussion so I'll stress it again. The major issue here is *not* the 
>> compatibility of sage's own codebase. A few "from __future__ import"'s are 
>> not so bad.
>> 
>> The issue is that python2 compatibility forces us to use outdated versions 
>> of a lot of libraries, since many libraries have dropped python2 support a 
>> while ago. This is a big headache especially for packagers. Those outdated 
>> libraries are generally not available on distros. At the same time sage is 
>> usually not compatible with the newer versions. Sage is already difficult to 
>> package, and that makes it a lot more difficult.
> 
> Can you be more specific about this?  What is it about Sage's upstream
> codebase maintaining backwards-compatibility for Python 2 that
> prevents you from packaging it for Python 3 only, given that it does
> support Python 3?  No one is saying that just because upstream support
> is maintained for Python 2 for one or two (at the most) more releases,
> any downstream packagers have to package it for Python 2.

We don’t. I only support python3 anymore on gentoo - because support for python2
ipython/jupyter as been removed from the main tree.
I am the lucky one because I still have an ipython-5 I can pull as a dependency,
most of my colleagues have to go ipython-7+ which is python3 only and requires
heavy patching. Some interesting packages we may want to use that are python3 
only
and that will make our life difficult because we have to move forward regardless
* ipython-7
* matplotlib-3
* sphinx-2
* numpy-1.17
* scipy-1.3+
 
The main person that has valid reason to want longer support for python2 is 
William.
As he mentions, he has paying customers.

At this point my only reasonable suggestion is to have a python2 compatibility 
branch
for a while as sage-9.x while some of us plow on ahead without in sage-10.x.
That’s unreasonable on the release manager unless someone step up to help.

François 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/BBC8CF32-2E9D-4DC0-BBE5-5130E15B3B14%40gmail.com.


Re: [sage-devel] drop python2 compatibility in 9.1 ?

2020-01-05 Thread TAU
On Sun, 5 Jan 2020, Frédéric Chapoton wrote:

> Do you agree that sage release 9.1 (and most of the 9.1.betas) will not be
> kept compatible with Python 2 ?

I agree.

-- 
Jori Mäntysalo

Tampereen yliopisto - Ihminen ratkaisee

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/alpine.DEB.2.21..2001060825510.81373%40shell.sis.uta.fi.


Re: [sage-devel] drop python2 compatibility in 9.1 ?

2020-01-05 Thread François Bissey



> On 6/01/2020, at 8:44 AM, Frédéric Chapoton  wrote:
> 
> Hello,
> 
> I would like to suggest that the sooner we drop Python 2 support the better. 
> We still need to handle the upgrade to ipython7 and the compatibility with 
> python 3.8. All this will be made very difficult if we insist on maintaining 
> a codebase that is both compatible with python 2 and python 3.
> 
> So, please vote :
> 
> Do you agree that sage release 9.1 (and most of the 9.1.betas) will not be 
> kept compatible with Python 2 ?
> 

[x] drop python 2.7 compatibility

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/F4A22D5D-1589-4C98-A040-FBD4ECBFF639%40gmail.com.


[sage-devel] drop python2 compatibility in 9.1 ?

2020-01-05 Thread Frédéric Chapoton
Hello,

I would like to suggest that the sooner we drop Python 2 support the 
better. We still need to handle the upgrade to ipython7 and the 
compatibility with python 3.8. All this will be made very difficult if we 
insist on maintaining a codebase that is both compatible with python 2 and 
python 3.

So, please vote :

Do you agree that sage release 9.1 (and most of the 9.1.betas) will not be 
kept compatible with Python 2 ?

Frédéric



-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/692fc332-d9e6-4e6a-80fe-2e89cf0b488f%40googlegroups.com.