Being the last of the 2.x series, 2.7 will have an extended period of maintenance. Specifically, 2.7 will receive bugfix support until January 1, 2020. After the last release, 2.7 will receive no support.
decide which python should be used
I prefer the newest one. I have no statistic about another OSs that supported by FreeOrion.
generate python3 API
Boost can do it as I see
ship new python with Windows
Looks easy
handle the case with embedded python on other platforms
Need to choose python version and update OS requirements
update AI scripts
The process is already started, still, need to do a lot. I think that we can do a compatible version as the first step and after migration just drop python2 support.
I will finish my study soon and can do AI script part.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
Geoff the Medio wrote: ↑Sun Jan 20, 2019 8:29 pmI don't think the end of support for 2.7 is necessarily a deadline to do.
I suspect once Python 2.7 doesn't receive any security updates anymore, it will be removed from the various Linux distros quite quickly. So, if we don't want FO to stop working on Linux, I guess we need to migrate within the year...
Cjkjvfnby wrote: ↑Sun Jan 20, 2019 4:57 pm
[*] update AI scripts
The process is already started, still, need to do a lot. I think that we can do a compatible version as the first step and after migration just drop python2 support.
For completeness: The rest of the python scripts (e.g. universe generation) must be updated as well.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
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-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
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-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
In Windows builds we ship all libs with the game. Any reason why we rely on local versions of libs for other platforms?
Because on other (Linux) platforms dependencies are already shipped with distributive.
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-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
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-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
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-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
I've managed to build SDK with both Pythons support but run into Boost.GIL incompatible changes.
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-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
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-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm
Debian and Ubuntu for appropriate boost version have 3.5 and 3.6 python version.
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-04-14.ad50e93.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm