|
1 | 1 | """All minimum dependencies for imbalanced-learn.""" |
2 | 2 | import argparse |
3 | 3 |
|
4 | | -# numpy scipy and cython should by in sync with pyproject.toml |
5 | | -# We pinned PyWavelet (a scikit-image dependence) to 1.1.1 in the minimum |
6 | | -# documentation CI builds that is the latest version that support our |
7 | | -# minimum NumPy version required. If PyWavelets 1.2+ is installed, it would |
8 | | -# require NumPy 1.17+ that trigger a bug with Pandas 0.25: |
9 | | -# https://github.com/numpy/numpy/issues/18355#issuecomment-774610226 |
10 | | -# When upgrading NumPy, we can unpin PyWavelets but we need to update the |
11 | | -# minimum version of Pandas >= 1.0.5. |
12 | | -NUMPY_MIN_VERSION = "1.14.6" |
13 | | -SCIPY_MIN_VERSION = "1.1.0" |
14 | | -PANDAS_MIN_VERSION = "0.25.0" |
15 | | -SKLEARN_MIN_VERSION = "1.0.1" |
| 4 | +NUMPY_MIN_VERSION = "1.17.3" |
| 5 | +SCIPY_MIN_VERSION = "1.3.2" |
| 6 | +PANDAS_MIN_VERSION = "1.0.5" |
| 7 | +SKLEARN_MIN_VERSION = "1.1.0" |
16 | 8 | TENSORFLOW_MIN_VERSION = "2.4.3" |
17 | 9 | KERAS_MIN_VERSION = "2.4.3" |
18 | | -JOBLIB_MIN_VERSION = "0.11" |
| 10 | +JOBLIB_MIN_VERSION = "1.0.0" |
19 | 11 | THREADPOOLCTL_MIN_VERSION = "2.0.0" |
20 | 12 | PYTEST_MIN_VERSION = "5.0.1" |
21 | 13 |
|
22 | | - |
23 | 14 | # 'build' and 'install' is included to have structured metadata for CI. |
24 | 15 | # It will NOT be included in setup's extras_require |
25 | 16 | # The values are (version_spec, comma separated tags) |
|
32 | 23 | "pandas": (PANDAS_MIN_VERSION, "optional, docs, examples, tests"), |
33 | 24 | "tensorflow": (TENSORFLOW_MIN_VERSION, "optional, docs, examples, tests"), |
34 | 25 | "keras": (KERAS_MIN_VERSION, "optional, docs, examples, tests"), |
35 | | - "matplotlib": ("2.2.3", "docs, examples"), |
| 26 | + "matplotlib": ("3.1.2", "docs, examples"), |
36 | 27 | "seaborn": ("0.9.0", "docs, examples"), |
37 | 28 | "memory_profiler": ("0.57.0", "docs"), |
38 | 29 | "pytest": (PYTEST_MIN_VERSION, "tests"), |
39 | 30 | "pytest-cov": ("2.9.0", "tests"), |
40 | 31 | "flake8": ("3.8.2", "tests"), |
41 | | - "black": ("21.6b0", "tests"), |
| 32 | + "black": ("22.3.0", "tests"), |
42 | 33 | "mypy": ("0.770", "tests"), |
43 | 34 | "sphinx": ("4.2.0", "docs"), |
44 | 35 | "sphinx-gallery": ("0.7.0", "docs"), |
|
0 commit comments