Python3 migration

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Message
Author
User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Python3 migration

#61 Post by Cjkjvfnby »

Should we add such great news to wiki Latest News section ?

When we plan to do a release?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Python3 migration

#62 Post by Geoff the Medio »

Cjkjvfnby wrote: Fri Mar 13, 2020 10:08 pmShould we add such great news to wiki Latest News section ?
No. It's a technical detail that will be at most a Key Change in the next release, which will hopefully be in the next month.

o01eg
Programmer
Posts: 1998
Joined: Sat Dec 10, 2011 5:46 am

Re: Python3 migration

#63 Post by o01eg »

Cjkjvfnby wrote: Fri Mar 13, 2020 10:08 pm When we plan to do a release?
I suppose first "release procedure" thread is should be created.
Vezzra wrote:
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
Vezzra
Release Manager, Design
Posts: 6090
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Python3 migration

#64 Post by Vezzra »

o01eg wrote: Sat Mar 14, 2020 7:51 amI suppose first "release procedure" thread is should be created.
Yep, just give me some time to get around to organize the next release. Need to deal with some Corona-induced RL issues first (as you've maybe heard in the news, Austria, as other countries, has been more or less shut down, that requires some reorganization of work and private life).

User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Python3 migration

#65 Post by Cjkjvfnby »

Vezzra wrote: Tue Mar 17, 2020 3:53 pm Yep, just give me some time to get around to organize the next release. Need to deal with some Corona-induced RL issues first (as you've maybe heard in the news, Austria, as other countries, has been more or less shut down, that requires some reorganization of work and private life).
Corona marching over the world. The future is uncertain.

Meanwhile, I became a mentor for Python students. Helping them with web developing stuff. Soon I will take them to the wonderful world of testing. I want to practice with complicated scenarios and Mocks (https://docs.python.org/3.5/library/unittest.mock.html) beforehand.

In short, I want to do some python3 only code. Uncertainty blocks me.

Can you share your ideas about the future development plan?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

o01eg
Programmer
Posts: 1998
Joined: Sat Dec 10, 2011 5:46 am

Re: Python3 migration

#66 Post by o01eg »

Cjkjvfnby wrote: Sun Apr 12, 2020 10:46 am
Vezzra wrote: Tue Mar 17, 2020 3:53 pm Yep, just give me some time to get around to organize the next release. Need to deal with some Corona-induced RL issues first (as you've maybe heard in the news, Austria, as other countries, has been more or less shut down, that requires some reorganization of work and private life).
Corona marching over the world. The future is uncertain.

Meanwhile, I became a mentor for Python students. Helping them with web developing stuff. Soon I will take them to the wonderful world of testing. I want to practice with complicated scenarios and Mocks (https://docs.python.org/3.5/library/unittest.mock.html) beforehand.

In short, I want to do some python3 only code. Uncertainty blocks me.

Can you share your ideas about the future development plan?
FreeOrion's C++ code already doesn't support python2.7 since migration happened so it's fine.
Gentoo Linux x64, gcc-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-01-30.0dd6806.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Python3 migration

#67 Post by Cjkjvfnby »

We did it!
Thank you.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Python3 migration

#68 Post by Cjkjvfnby »

How python3.5 version was chosen?

Is it a good time to check if we can switch to a more modern version now?

Python3.6 has improved dict implementation, which should give us some performance boost almost for free (I hope so).
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Python3 migration

#69 Post by Geoff the Medio »

Cjkjvfnby wrote: Fri Jan 15, 2021 3:59 pmHow python3.5 version was chosen?
I would have thought you'd know better than most people likely to reply...
Is it a good time to check if we can switch to a more modern version now?
I think so.

User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Python3 migration

#70 Post by Cjkjvfnby »

Geoff the Medio wrote: Fri Jan 15, 2021 4:32 pm
Cjkjvfnby wrote: Fri Jan 15, 2021 3:59 pmHow python3.5 version was chosen?
I would have thought you'd know better than most people likely to reply...
Is it a good time to check if we can switch to a more modern version now?
I think so.
It was not my choice. Some Linux distributoins were taken into account.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Python3 migration

#71 Post by Geoff the Medio »

Cjkjvfnby wrote: Fri Jan 15, 2021 5:09 pmIt was not my choice.
I didn't mean / assume it was, rather just that you'd know why, such as it being due to the limits of some Linux distros.

Post Reply