Skip to content

Commit

Permalink
Add docs dependencies
Browse files Browse the repository at this point in the history
This makes it possible to run examples as doctests.
  • Loading branch information
auguste-probabl committed Sep 23, 2024
1 parent 9fa6db6 commit cdece0c
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ pip-compile:
pip-compile --output-file=requirements.txt pyproject.toml
pip-compile --extra=test --output-file=requirements-test.txt pyproject.toml
pip-compile --extra=tools --output-file=requirements-tools.txt pyproject.toml
pip-compile --extra=docs --output-file=requirements-docs.txt pyproject.toml

install:
python -m pip install \
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ tools = [
"pip-tools",
]

docs = [
"seaborn",
"skrub",
]

[tool.pytest.ini_options]
addopts = [
"--doctest-modules",
Expand Down
133 changes: 133 additions & 0 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --extra=docs --output-file=requirements-docs.txt pyproject.toml
#
annotated-types==0.7.0
# via pydantic
anyio==4.6.0
# via starlette
certifi==2024.8.30
# via requests
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via uvicorn
contourpy==1.3.0
# via matplotlib
cycler==0.12.1
# via matplotlib
diskcache==5.6.3
# via skore (pyproject.toml)
fastapi==0.115.0
# via skore (pyproject.toml)
filelock==3.16.1
# via huggingface-hub
fonttools==4.53.1
# via matplotlib
fsspec==2024.9.0
# via huggingface-hub
h11==0.14.0
# via uvicorn
huggingface-hub==0.25.0
# via skops
idna==3.10
# via
# anyio
# requests
jinja2==3.1.4
# via skrub
joblib==1.4.2
# via scikit-learn
kiwisolver==1.4.7
# via matplotlib
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.5
# via jinja2
matplotlib==3.9.2
# via
# seaborn
# skrub
mdurl==0.1.2
# via markdown-it-py
numpy==2.1.1
# via
# contourpy
# matplotlib
# pandas
# scikit-learn
# scipy
# seaborn
# skrub
packaging==24.1
# via
# huggingface-hub
# matplotlib
# skops
# skrub
pandas==2.2.3
# via
# seaborn
# skrub
pillow==10.4.0
# via matplotlib
pydantic==2.9.2
# via fastapi
pydantic-core==2.23.4
# via pydantic
pygments==2.18.0
# via rich
pyparsing==3.1.4
# via matplotlib
python-dateutil==2.9.0.post0
# via
# matplotlib
# pandas
pytz==2024.2
# via pandas
pyyaml==6.0.2
# via huggingface-hub
requests==2.32.3
# via huggingface-hub
rich==13.8.1
# via skore (pyproject.toml)
scikit-learn==1.5.2
# via
# skops
# skrub
scipy==1.14.1
# via
# scikit-learn
# skrub
seaborn==0.13.2
# via skore (pyproject.toml)
six==1.16.0
# via python-dateutil
skops==0.10.0
# via skore (pyproject.toml)
skrub==0.3.0
# via skore (pyproject.toml)
sniffio==1.3.1
# via anyio
starlette==0.38.6
# via fastapi
tabulate==0.9.0
# via skops
threadpoolctl==3.5.0
# via scikit-learn
tqdm==4.66.5
# via huggingface-hub
typing-extensions==4.12.2
# via
# fastapi
# huggingface-hub
# pydantic
# pydantic-core
tzdata==2024.1
# via pandas
urllib3==2.2.3
# via requests
uvicorn==0.30.6
# via skore (pyproject.toml)

0 comments on commit cdece0c

Please sign in to comment.