#43745: generate_packets.py minimum Python version Open Date: 2022-01-30 21:09 Last Update: 2022-02-02 14:58 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-02 14:58 Updated by: alienvalkyrie Comment: Some upper bounds for the minimum supported version (based on what runs on / comes with common operating systems): Ubuntu 18.04 (Bionic Beaver), in standard support until 2023, only comes with Python 3.6 Ubuntu 14.04 (Trusty Tahr), in long-term support until April 2024, only comes with Python 3.4 Debian 9 "Stretch", in long-term support until June 2022, only comes with Python 3.5 Windows 7 can't run Python 3.9 and new So our range of possible minimum supported versions is somewhere between 3.0 and 3.4. I'd gravitate toward going with Python 3.4 (plenty of features that might turn out to be useful; particularly pathlib might be relevant to our use case). --------------------------------------------------------------------- Ticket Status: Reporter: alienvalkyrie Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: (None) 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