From c8c7bc5d4e0a449ed7303a848ec5e2ef442787aa Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Wed, 26 Aug 2020 20:44:00 +0800 Subject: [PATCH] README: Python 3.7+ is required [ci-skip] --- README.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 92478bd..e8856d9 100644 --- a/README.rst +++ b/README.rst @@ -122,11 +122,12 @@ Upgrade from 1.x version There are several backward-incompatible changes from the previous 1.x version. -1. The command syntax changes a bit. You need to use a ``-c`` switch to specify your software version configuration file. -2. The configuration file format has been changed from ini to `toml`_. You can use the ``scripts/ini2toml`` script in this repo to convert your old configuration files. However, comments and formatting will be lost. -3. Several options have been renamed. ``max_concurrent`` to ``max_concurrency``, and all option names have their ``-`` be replaced with ``_``. -4. All software configuration tables need a ``source`` option to specify which source is to be used rather than being figured out from option names in use. This enables additional source plugins to be discovered. -5. The version record files have been changed to use JSON format (the old format will be converted on writing). +1. Version 2.x requires Python 3.7+ to run. +2. The command syntax changes a bit. You need to use a ``-c`` switch to specify your software version configuration file. +3. The configuration file format has been changed from ini to `toml`_. You can use the ``scripts/ini2toml`` script in this repo to convert your old configuration files. However, comments and formatting will be lost. +4. Several options have been renamed. ``max_concurrent`` to ``max_concurrency``, and all option names have their ``-`` be replaced with ``_``. +5. All software configuration tables need a ``source`` option to specify which source is to be used rather than being figured out from option names in use. This enables additional source plugins to be discovered. +6. The version record files have been changed to use JSON format (the old format will be converted on writing). Version Record Files ====================