From ab687f8db722a6d8b4c749615143e0f9a558154c Mon Sep 17 00:00:00 2001 From: Felix Jung Date: Wed, 14 Aug 2024 16:21:31 +0200 Subject: [PATCH] and back to 3.9... --- .pre-commit-config.yaml | 4 ++-- README.rst | 2 +- doc/howto/install-ridepy.rst | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 875ad20e..e03f4b6a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,9 @@ repos: - repo: https://github.com/python/black - rev: 24.3.0 + rev: 24.8.0 hooks: - id: black - language_version: python3.9 + language_version: python3.12 - repo: https://github.com/adamchainz/blacken-docs rev: 1.16.0 hooks: diff --git a/README.rst b/README.rst index cd2a0eb5..fa8d99a3 100644 --- a/README.rst +++ b/README.rst @@ -16,7 +16,7 @@ For detailed instructions, see the `installation guide = 3.9 +- RidePy currently works best with Python 3.9 - If you are on platform other than x86-64 Linux, i.e., one that we don't offer wheels for, you will need to first set up a C++ build environment and the `Boost C++ libraries `__. On Debian-like systems, this is easily accomplished with .. code-block:: bash diff --git a/doc/howto/install-ridepy.rst b/doc/howto/install-ridepy.rst index 47f6607e..fde6794e 100644 --- a/doc/howto/install-ridepy.rst +++ b/doc/howto/install-ridepy.rst @@ -8,7 +8,7 @@ This section explains how to set up RidePy on your machine in various ways. Prerequisites ------------- -RidePy needs at least Python 3.9. +Currently, using Python 3.9 is your best option. In addition, you should probably use a Python environment for keeping things clean. The following commands should work for Linux and macOS. On Windows, things might have to be done marginally different. @@ -16,10 +16,10 @@ We recommend using either `Anaconda `__ (which has th .. code:: - conda create -n ridepy python=3.12 + conda create -n ridepy python=3.9 conda activate ridepy -or simply ``venv`` from the Python standard library (assuming you are already using your desired version, alternatively you can additionally use `pyenv `__ for managing Python versions): +or simply ``venv`` from the Python standard library (assuming you are already on Python 3.9, alternatively you can additionally use `pyenv `__ for managing Python versions): .. code::