]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
manager: update Python versions docs-develop-pyth-8k41w4/deployments/3304
authorOto Šťáva <oto.stava@nic.cz>
Tue, 20 Feb 2024 10:31:20 +0000 (11:31 +0100)
committerOto Šťáva <oto.stava@nic.cz>
Tue, 20 Feb 2024 12:34:14 +0000 (13:34 +0100)
Use the oldest supported Python by default again, since that ensures our
compatibility. Also, remove explicit Python versions from README to
avoid duplication - `pyenv install` just installs the versions that are
already in `.python-version`, so let's leverage that.

manager/.python-version
manager/README.md

index fc5ed276eb51a51736c53fb7eaa64e5763c4f0f0..7ee56de1fd1e5a53d74f11f6f5cc3d769c16915d 100644 (file)
@@ -1,5 +1,5 @@
-3.11.7
-3.10.12
-3.9.17
-3.8.17
-3.7.17
+3.8.18
+3.9.18
+3.10.13
+3.11.8
+3.12.2
index 5e7e1bb6c4912ef788be14dac9428bc9fba27247..805a563e3f24ca4f78dbe085487edca27200438d 100644 (file)
@@ -17,11 +17,7 @@ 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.7.17
-pyenv install 3.8.17
-pyenv install 3.9.17
-pyenv install 3.10.12
-pyenv install 3.11.4
+pyenv install
 poetry env use $(pyenv which python)
 poetry install
 ```
@@ -32,6 +28,8 @@ With this environment, **everything else should just work**. You can run the sam
 
 The only global tools that are strictly required are `Python` and `pip` (or other way to install PyPI packages). You can have a look at the `pyproject.toml` file, manually install all other dependencies that you need and be done with that. All `poe` commands (see bellow) can be run manually too, see their definition in `pyproject.toml`. We can't however guarantee, that there won't be any errors.
 
+Please note that Python's development files are also required, since the Manager also includes a C module that interacts with it. I.e., for distros that package development files separately, you will typically need to install `-dev` or `-devel` packages of your current Python version as well.
+
 ### Common tasks and interactions with the project
 
 After setting up the environment, you should be able to interract with the project by using `./poe` script. Common actions are: