diff --git a/docs/contribute.md b/docs/contribute.md index c832339f34..c5e125c80d 100644 --- a/docs/contribute.md +++ b/docs/contribute.md @@ -67,9 +67,9 @@ Here are the steps to follow: cd scikit-decide ``` -- Set proper python version (e.g. 3.8.11) for the scikit-decide project. +- Set proper python version (e.g. 3.12.2) for the scikit-decide project. ```shell - pyenv local 3.8.11 + pyenv local 3.12.2 ``` - Update pip installer (the one that `pyenv` makes you use). @@ -92,7 +92,7 @@ Here are the steps to follow: - Specify to poetry the python version to use so that it creates the appropriate virtual environment. ```shell - poetry env use 3.8.11 + poetry env use 3.12.2 ``` - Install all dependencies as defined in `poetry.lock`, build and install the c++ library. @@ -114,7 +114,7 @@ as it can also be installed by conda via the conda-forge channel. - Create and activate a conda environment with the proper python version for the scikit-decide project. ```shell - conda create -n test_dev_skdecide python=3.8.11 + conda create -n test_dev_skdecide python=3.12.2 conda activate test_dev_skdecide ``` - Update pip installer diff --git a/docs/install.md b/docs/install.md index 52fd74510c..90f22d5036 100644 --- a/docs/install.md +++ b/docs/install.md @@ -73,26 +73,26 @@ export DO_SKIP_MZN_CHECK=1 Please note however that the library is never tested without minizinc (or minizinc versions < 2.6). -### Python 3.8+ environment +### Python 3.9+ environment -The use of a virtual environment for scikit-decide is recommended, and you will need to ensure that the environment use a Python version greater than 3.8. +The use of a virtual environment for scikit-decide is recommended, and you will need to ensure that the environment use a Python version greater than 3.9. This can be achieved either by using [conda](https://docs.conda.io/en/latest/) or by using [pyenv](https://github.com/pyenv/pyenv) (or [pyenv-win](https://github.com/pyenv-win/pyenv-win) on windows) and [venv](https://docs.python.org/fr/3/library/venv.html) module. -The following examples show how to create a virtual environment with Python version 3.8.13 with the mentioned methods. +The following examples show how to create a virtual environment with Python version 3.9.18 with the mentioned methods. #### With conda (all platforms) ```shell -conda create -n skdecide python=3.8.13 +conda create -n skdecide python=3.9.18 conda activate skdecide ``` #### With pyenv + venv (Linux/MacOS) ```shell -pyenv install 3.8.13 -pyenv shell 3.8.13 +pyenv install 3.9.18 +pyenv shell 3.9.18 python -m venv skdecide-venv source skdecide-venv/bin/activate ``` @@ -100,8 +100,8 @@ source skdecide-venv/bin/activate #### With pyenv-win + venv (Windows) ```shell -pyenv install 3.8.13 -pyenv shell 3.8.13 +pyenv install 3.9.18 +pyenv shell 3.9.18 python -m venv skdecide-venv skdecide-venv\Scripts\activate ``` diff --git a/pyproject.toml b/pyproject.toml index 5e4d63d78f..6d1183fa10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,8 +25,6 @@ classifiers = [ "Programming Language :: C++", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "Topic :: Software Development", "Topic :: Scientific/Engineering", ]