8000 DOC Add polars to the requirements for building documentation (#28724) · patrickkwang/scikit-learn@65ba91b · GitHub
[go: up one dir, main page]

Skip to content

Commit 65ba91b

Browse files
DOC Add polars to the requirements for building documentation (scikit-learn#28724)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
1 parent 342a7ef commit 65ba91b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

doc/developers/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ Building the documentation requires installing some additional packages:
925925
.. prompt:: bash $
926926

927927
pip install sphinx sphinx-gallery numpydoc matplotlib Pillow pandas \
928-
scikit-image packaging seaborn sphinx-prompt \
928+
polars scikit-image packaging seaborn sphinx-prompt \
929929
sphinxext-opengraph sphinx-copybutton plotly pooch
930930

931931
To build the documentation, you need to be in the ``doc`` folder:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ docs = [
5252
"sphinx-prompt>=1.3.0",
5353
"sphinxext-opengraph>=0.4.2",
5454
"plotly>=5.14.0",
55+
"polars>=0.19.12"
5556
]
5657
examples = [
5758
"matplotlib>=3.3.4",

sklearn/_min_dependencies.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"black": ("23.3.0", "tests"),
3333
"mypy": ("1.3", "tests"),
3434
"pyamg": ("4.0.0", "tests"),
35-
"polars": ("0.19.12", "tests"),
35+
"polars": ("0.19.12", "docs, tests"),
3636
"pyarrow": ("12.0.0", "tests"),
3737
"sphinx": ("6.0.0", "docs"),
3838
"sphinx-copybutton": ("0.5.2", "docs"),

0 commit comments

Comments
 (0)
0