From: Oto Šťáva Date: Mon, 24 Jul 2023 07:40:57 +0000 (+0200) Subject: manager: replace mentions of Python 3.6 with 3.7 X-Git-Tag: v6.0.2~27^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c83550af6aad3da90b0794cb124e8708a2598073;p=thirdparty%2Fknot-resolver.git manager: replace mentions of Python 3.6 with 3.7 Support for Python <3.7 has been dropped - mentions of 3.6 are therefore outdated. --- diff --git a/doc/build.rst b/doc/build.rst index 6401b1cc8..718a0f17d 100644 --- a/doc/build.rst +++ b/doc/build.rst @@ -95,7 +95,7 @@ All dependencies are also listed in `pyproject.toml =3.6.8", "Python language interpreter" + "python3_ >=3.7", "Python language interpreter" "Jinja2_", "Template engine for Python" "PyYAML_", "YAML framework for Python" "aiohttp_", "HTTP Client/Server for Python." diff --git a/doc/manager-dev.rst b/doc/manager-dev.rst index 1e68a99b5..cdf65267b 100644 --- a/doc/manager-dev.rst +++ b/doc/manager-dev.rst @@ -10,7 +10,7 @@ In this guide, we will setup a development environment, discuss tooling and high Development environment ======================= -The Manager is written in Python 3 with the goal of supporting multiple versions of Python available in current Linux distributions. For example, at the time of writing, this means we support Python 3.6 and newer. These compatibility requirements also force us not to rely heavily on modern runtime libraries such as Pydantic. +The Manager is written in Python 3 with the goal of supporting multiple versions of Python available in current Linux distributions. For example, at the time of writing, this means we support Python 3.7 and newer. These compatibility requirements also force us not to rely heavily on modern runtime libraries such as Pydantic. Tools ----- @@ -26,7 +26,7 @@ First run of the Manager from source 1. clone `the Knot Resolver repository `_ 2. enter the directory ``manager/`` in the repository, all following tasks will be performed from within that directory -3. run ``poetry env use $(which python3.6)`` to configure Poetry to use a different Python interpreter than the default +3. run ``poetry env use $(which python3.7)`` to configure Poetry to use a different Python interpreter than the default 4. run ``poetry install`` to install all dependencies into a newly created virtual environment 5. run ``./poe run`` to run the Manager in dev mode (Ctrl+C to exit) diff --git a/manager/.python-version b/manager/.python-version index 22c263a47..94dd2db15 100644 --- a/manager/.python-version +++ b/manager/.python-version @@ -1,4 +1,3 @@ -3.6.12 3.7.9 3.8.7 3.9.1 diff --git a/manager/README.md b/manager/README.md index dce1eb297..80f3d2a50 100644 --- a/manager/README.md +++ b/manager/README.md @@ -17,7 +17,6 @@ Be careful, that you need the latest version of Poetry. The setup was tested wit After installing the tools above, the actual fully-featured development environment can be setup using these commands: ```sh -pyenv install 3.6.12 pyenv install 3.7.9 pyenv install 3.8.7 pyenv install 3.9.1