← Back to team overview

yade-dev team mailing list archive

Re: Python 2 removal

 

Hi,
I also browsed a little and could not find any big change (provided that replacing "print 'hi'" by "print('hi')" can be automatic....). It doesn't mean no problem will emerge though, on needs to try. For a IT student internship the problem would be that if things go well the job could be done after one day or so.

About dropping Python 2.7: I think most systems have Python3 available now. Not a problem to freeze the Python 2.7 branch then.

Cheers

Bruno


On 06/04/2018 07:14 PM, Anton Gladky wrote:
Hello Jerome,

thank you for you answer. I am not sure, how difficult could it be to
switch the Yade or to add a support of Python3. The syntax of python
2 and 3 is not so different. One can find a lot of such migration tutorials.

It would probably be more problematic two support both versions simultaneously
as to make a complete migration.

Best regards

Anton


2018-05-31 13:10 GMT+02:00 Jerome Duriez <jerome.duriez@xxxxxxxxx>:
Hi Anton,

I'd consider this idea, ie I have some time and motivation, and no
knowledge.. :-)
Moreover / instead possible personal efforts, I could also look into the
possibility proposing a dedicated internship to some IT (with an emphasis on
the "I") student.

Since I do not have a precise perception of the task, what is your opinion
regarding the internship option ?
Would the migration be indeed feasible in this framework ? For which
internship duration (1 month, 5 month, .. ?) and which education level
(license/undergraduate, master/graduate, .. ?)

We can discuss by direct emails if appropriate,


Best,

Jérôme

------
Chargé de Recherche / Research Associate
Irstea, RECOVER
3275 route de Cezanne – CS 40061 13182 Aix-en-Provence Cedex 5 FRANCE
+33 (0)4 42 66 99 21

On 07/05/2018 20:09, Anton Gladky wrote:

Dear Yade developers,

Python 2 reaches end of life and will probably removed
soon from Debian [1] and then most probably from Ubuntu-Mint
etc archives too. It is only the question of time. I think it will unlikely
happen till the Buster release (mid 2019), but it will probably
happen at the end of 2019.

Anyway, the migration of Yade onto Python 3 of Yade is really
necessary to guarantee the further project life in modern distributions.

It would be good if somebody finds some resources (time, man
power) and start this work. It should not be too difficult, but
requires time, knowledge and motivation to do this migration.

It will be necessary to guarantee the smooth migration period not
to break the other's work.

I will not do it due to extreme lack of free time, but can do some
kind of review/advice/etc.

[1] https://lists.debian.org/debian-devel/2018/04/msg00508.html

Best regards

Anton

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp




References