3
3
4
4
.. include :: ../min_dependency_substitutions.rst
5
5
6
+ ..
7
+ TODO Add |PythonMinVersion| to min_dependency_substitutions.rst one day.
8
+ Probably would need to change a bit sklearn/_min_dependencies.py since Python is not really a package ...
9
+ .. |PythonMinVersion | replace :: 3.10
10
+
6
11
==================================================
7
12
Installing the development version of scikit-learn
8
13
==================================================
@@ -58,7 +63,7 @@ feature, code or documentation improvement).
58
63
If you plan on submitting a pull-request, you should clone from your fork
59
64
instead.
60
65
61
- #. Install a recent version of Python (3.9 or later at the time of writing ) for
66
+ #. Install a recent version of Python (| PythonMinVersion | or later) for
62
67
instance using conda-forge _. Conda-forge provides a conda-based distribution of
63
68
Python and the most popular scientific libraries.
64
69
@@ -78,7 +83,7 @@ feature, code or documentation improvement).
78
83
conda activate sklearn-env
79
84
80
85
#. **Alternative to conda: ** You can use alternative installations of Python
81
- provided they are recent enough (3.9 or higher at the time of writing ).
86
+ provided they are recent enough (| PythonMinVersion | or higher).
82
87
Here is an example of how to create a build environment for a Linux system's
83
88
Python. Build dependencies are installed with `pip ` in a dedicated virtualenv _
84
89
to avoid disrupting other Python programs installed on the system:
@@ -134,7 +139,7 @@ Runtime dependencies
134
139
Scikit-learn requires the following dependencies both at build time and at
135
140
runtime:
136
141
137
- - Python (>= 3.8 ),
142
+ - Python (>= | PythonMinVersion | ),
138
143
- NumPy (>= |NumpyMinVersion |),
139
144
- SciPy (>= |ScipyMinVersion |),
140
145
- Joblib (>= |JoblibMinVersion |),
0 commit comments