[Freeciv-tickets] [freeciv] #43745: generate_packets.py minimum Python version

Back to archive index
OSDN Ticket System norep****@osdn*****
Sat Feb 19 06:45:09 JST 2022


#43745: generate_packets.py minimum Python version

  Open Date: 2022-01-30 21:09
Last Update: 2022-02-18 22:45

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/43745
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43745

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2022-02-18 22:45 Updated by: alienvalkyrie
 * Owner Update from (None) to alienvalkyrie
 * Milestone Update from (None) to 3.0.1

Comment:

Alright, so the way I understand it – the relevant OS/distros mentioned here either come with Python 3.4 or newer, or can install it just as easily as the other needed build tools (or other versions of Python 3, for that matter). The same is not true for 3.5 nor 3.6 unless we choose not to support building on Ubuntu 14.04 LTS and Debian 9 LTS, respectively, without additional hassle.
So choosing 3.4 as our minimum Python version for now (and at least until April 2024) seems like the sensible thing to do – unless we drop support for aforementioned LTS versions, in which case we could bump that up to Python 3.6.
There is an argument to be had about if it's a good idea to also increase the minimum supported version for S3_0, or if we should just fix the generate_packets.py comment there – in case someone's building the new stable release on another system where they can only get even older versions of Python 3. I think it's unlikely to matter, but something still rubs me wrong about the idea of changing the dependencies in the middle of the 3.0.x series.

---------------------------------------------------------------------
Ticket Status:

      Reporter: alienvalkyrie
         Owner: alienvalkyrie
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.1
     Component: General
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

The comment in common/generate_packets.py claims it's compatible with every Python version since 1.5, and says to keep it that way; in particular, not to replace string.join calls. The update to make the script Python-3-compatible did just that.
Clearly, the script is not 1.5-compatible anymore (nor does it need to). Given the use of a python3 executable, our minimum supported version is in the Python 3 range – we should figure out / decide what specific version we want that to be, and update the comment accordingly.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/43745
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43745



More information about the Freeciv-tickets mailing list
Back to archive index