From ae97026e83fd661c710301b417be018b92dbb714 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Oto=20=C5=A0=C5=A5=C3=A1va?= Date: Tue, 20 Feb 2024 11:31:20 +0100 Subject: [PATCH] manager: update Python versions 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 | 10 +++++----- manager/README.md | 8 +++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/manager/.python-version b/manager/.python-version index fc5ed276e..7ee56de1f 100644 --- a/manager/.python-version +++ b/manager/.python-version @@ -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 diff --git a/manager/README.md b/manager/README.md index 5e7e1bb6c..805a563e3 100644 --- a/manager/README.md +++ b/manager/README.md @@ -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: -- 2.47.2