[GRASS-dev] Change/update Python requirements for grass70?

Dear developers,

Reading the GRASS7 requirements:

http://grass.osgeo.org/grass70/source/snapshot/REQUIREMENTS.html

In theory, we are still supporting python 2.4.

What do you think if we abandon the support for:
- python 2.4 (last release: December 19, 2008),
- python 2.5 (last release: May 26, 2011),

and may be:

- python 2.6 (last release: October 29, 2013), About this version the
python website [0] says: "With the 2.6.9 release, and five years after
its first release, the Python 2.6 series is now officially retired.
All official maintenance for Python 2.6, including security patches,
has ended.". Perhaps we should/could drop the support for this release
too.

I would like to start to support python3, and if we have to support
also the release 2.4 and 2.5 it is more difficult.

So are you agree to change the requirements for grass70 from Python >=
2.4 to Python = 2.7 or Python >= 2.6?

Best regards.

Pietro

[0] http://www.python.org/getit/releases/2.6.9/

Hi,

2014-02-10 11:39 GMT+01:00 Pietro <peter.zamb@gmail.com>:

So are you agree to change the requirements for grass70 from Python >=
2.4 to Python = 2.7 or Python >= 2.6?

personally I would keep support for Python 2.6 at this point if possible. Martin

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/gwiki/Landa

On Mon, Feb 10, 2014 at 10:43 AM, Martin Landa <landa.martin@gmail.com> wrote:

2014-02-10 11:39 GMT+01:00 Pietro <peter.zamb@gmail.com>:

So are you agree to change the requirements for grass70 from Python >=
2.4 to Python = 2.7 or Python >= 2.6?

personally I would keep support for Python 2.6 at this point if possible. Martin

Yes, I think we should be able to keep Python >= 2.6.

On 02/10/2014 11:52 AM, Pietro wrote:

On Mon, Feb 10, 2014 at 10:43 AM, Martin Landa <landa.martin@gmail.com> wrote:

2014-02-10 11:39 GMT+01:00 Pietro <peter.zamb@gmail.com>:

So are you agree to change the requirements for grass70 from Python >=
2.4 to Python = 2.7 or Python >= 2.6?

personally I would keep support for Python 2.6 at this point if possible. Martin

Yes, I think we should be able to keep Python >= 2.6.

2.6 is good because it allows for EL6 builds too!

Volker

On Mon, Feb 10, 2014 at 12:55 PM, Volker Fröhlich <volker27@gmx.at> wrote:

On 02/10/2014 11:52 AM, Pietro wrote:

On Mon, Feb 10, 2014 at 10:43 AM, Martin Landa <landa.martin@gmail.com> wrote:

2014-02-10 11:39 GMT+01:00 Pietro <peter.zamb@gmail.com>:

So are you agree to change the requirements for grass70 from Python >=
2.4 to Python = 2.7 or Python >= 2.6?

personally I would keep support for Python 2.6 at this point if possible. Martin

Yes, I think we should be able to keep Python >= 2.6.

2.6 is good because it allows for EL6 builds too!

+1
EL6 and its clones will be around for quite some time, and they are
rather important distros because they are used on various production
systems (workstations, cluster computers).

Markus M

On Mon, Feb 10, 2014 at 5:52 AM, Pietro <peter.zamb@gmail.com> wrote:

On Mon, Feb 10, 2014 at 10:43 AM, Martin Landa <landa.martin@gmail.com>
wrote:
> 2014-02-10 11:39 GMT+01:00 Pietro <peter.zamb@gmail.com>:
>> So are you agree to change the requirements for grass70 from Python >=
>> 2.4 to Python = 2.7 or Python >= 2.6?
>
> personally I would keep support for Python 2.6 at this point if
possible. Martin

Yes, I think we should be able to keep Python >= 2.6.

I think we don't really support older Python versions now, at least in the
gui, so officially moving to 2.6 is necessary. Is there any difference
between 2.6 and 2.7 in terms of easier porting to Python 3? And when we
move to Python 3, how difficult is it to keep 2.6 compatibility?

Anna

_______________________________________________

grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

HI Anna,

On Tue, Feb 11, 2014 at 2:34 PM, Anna Petrášová <kratochanna@gmail.com> wrote:

Yes, I think we should be able to keep Python >= 2.6.

I think we don't really support older Python versions now, at least in the
gui, so officially moving to 2.6 is necessary. Is there any difference
between 2.6 and 2.7 in terms of easier porting to Python 3? And when we move
to Python 3, how difficult is it to keep 2.6 compatibility?

Yes I think that pygrass is not supporting Python < 2.6, too. I was
asking about python 2.6, only to know if the module orderdict in
pygrass is still necessary or not (and it is!) :-D.

Between python 2.6 and 2.7, as far as I know, there are not big
differences in term of portability to python3, so both versions should
be fine.

Pietro

Pietro wrote:

So are you agree to change the requirements for grass70 from Python >=
2.4 to Python = 2.7 or Python >= 2.6?

= 2.6.

AFAICT, 2.7 doesn't bring anything we can't reasonably be expected to
live without.

--
Glynn Clements <glynn@gclements.plus.com>

Hi,

Pietro wrote:

So are you agree to change the requirements for grass70
from Python >= 2.4 to Python = 2.7 or Python >= 2.6?

to add another "me too" for keeping support for python 2.6,

Debian/Squeeze: Python 2.6.6
Ubuntu 10.04 LTS: Python 2.6.5

both still supported for a little while yet..

thanks,
Hamish

Hi All,

On Tue, Feb 11, 2014 at 11:12 PM, Hamish <hamish_b@yahoo.com> wrote:

Pietro wrote:

So are you agree to change the requirements for grass70
from Python >= 2.4 to Python = 2.7 or Python >= 2.6?

to add another "me too" for keeping support for python 2.6,

Debian/Squeeze: Python 2.6.6
Ubuntu 10.04 LTS: Python 2.6.5

Ok, it seems that we all agree that we should change the requirements
from python 2.4 to python 2.6, so I will change the file this
afternoon.

Best regards.

Pietro