From de729aecc1cb7bcecd9c6ce59d11c5d563de9545 Mon Sep 17 00:00:00 2001 From: Alina Lenk Date: Mon, 6 Jun 2022 18:38:04 +0200 Subject: [PATCH 2/2] Bump minimum python requirement to 3.5 See osdn#44735 Signed-off-by: Alina Lenk --- INSTALL | 4 ++-- autogen.sh | 2 +- common/generate_packets.py | 2 +- doc/README.packaging | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/INSTALL b/INSTALL index 78c982016d..16a14fb6dd 100644 --- a/INSTALL +++ b/INSTALL @@ -4,7 +4,7 @@ Installing Freeciv: This file describes how to compile and install Freeciv. Last time we made sure this file is up to date was 16-Jul-06. -Last minor update was 04-Jun-22. +Last minor update was 06-Jun-22. There may be a localized version of this file in the ./doc directory, named INSTALL. (e.g., INSTALL.de). @@ -104,7 +104,7 @@ contains the generated files. Automake is required to create the various Makefile.in from Makefile.am. - - Python version 3.4 + - Python version 3.5 Some source files are generated by python scripts. diff --git a/autogen.sh b/autogen.sh index 4532cdf04d..8020a6df40 100755 --- a/autogen.sh +++ b/autogen.sh @@ -249,7 +249,7 @@ ACLOCAL=$REALPKGNAME real_package_name "libtoolize" "ftp://ftp.gnu.org/pub/gnu/libtool/" 2 2 || real_package_name "glibtoolize" "ftp://ftp.gnu.org/pub/gnu/libtool/" 2 2 "" "0" || DIE=1 LIBTOOLIZE=$REALPKGNAME -real_package_name "python3" "https://www.python.org/" 3 4 || DIE=1 +real_package_name "python3" "https://www.python.org/" 3 5 || DIE=1 if [ "$FC_USE_NLS" = "yes" ]; then DIE2=0 diff --git a/common/generate_packets.py b/common/generate_packets.py index 176dab5928..598265c913 100755 --- a/common/generate_packets.py +++ b/common/generate_packets.py @@ -13,7 +13,7 @@ # GNU General Public License for more details. # -# This script runs under Python 3.4 and up. Please leave it so. +# This script runs under Python 3.5 and up. Please leave it so. # It might also run under older versions, but no such guarantees are made. import re diff --git a/doc/README.packaging b/doc/README.packaging index 6eb6f24eec..da97232276 100644 --- a/doc/README.packaging +++ b/doc/README.packaging @@ -19,6 +19,7 @@ Updating from 3.1 to 3.2 or ~/.civclientrc generated by Freeciv version <= 2.1). * Gtk3-client has been dropped * Minimum SDL2 requirement for sound support is 2.0.6. +* Minimum Python requirement for code generation scripts is 3.5. ---------------------------------------------------------------------- Compatibility of modified versions -- 2.34.1