#43745: generate_packets.py minimum Python version Open Date: 2022-01-30 12:09 Last Update: 2022-02-03 00: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-03 00:58 Updated by: jdlh Comment: On macOS, Apple has reliably bundled only Python 2.7 with the last several versions of macOS. This is obviously an old version and no longer supported. The word on the MacPorts lists1 is that Apple will stop supplying Python with macOS 12.3, which is currently in beta test. The Apple stance on Python (and other scripting languages) is that you should not count on Apple to supply any version, you should install the runtime you require with your app. I am working on delivery Freeciv to macOS via the MacPorts distro. It can install both the GNU autotools, and any necessary version of Python. So, the MacPorts distro of Freeciv should not be inconvenienced by Apple withdrawing Python 2.7 from macOS. Theoretically. I hope. 1 https://lists.macports.org/pipermail/macports-dev/2022-February/044121.html 2 https://developer.apple.com/documentation/macos-release-notes/macos-catalina-10_15-release-notes/ , search for "Scripting Language Runtimes" --------------------------------------------------------------------- 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