Skip to content

Commit

Permalink
DOC: Upgrade doc and test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob-Stevens-Haas committed Aug 26, 2024
1 parent cfe2a4e commit 5aaa813
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 26 deletions.
24 changes: 8 additions & 16 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,15 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
jobs:
post_create_environment:
- pip install poetry==1.2.1
- poetry config virtualenvs.create false
post_install:
- poetry install -E docs
python: "3.11"

python:
install:
- method: pip
path: .
extra_requirements:
- docs

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

## Optionally declare the Python requirements required to build your docs
#python:
# install:
# - requirements: docs/requirements.txt
20 changes: 10 additions & 10 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "derivative"
version = "0.6.2"
Expand All @@ -22,24 +26,20 @@ scikit-learn = "^1"
importlib-metadata = "^7.1.0"

# docs
sphinx = {version = "^5", optional = true}
nbsphinx = {version = "^0.6.1", optional = true}
ipykernel = {version = "^5.2.1", optional = true}
jupyter_client = {version = "^6.1.3", optional = true}
sphinx = {version = "7.2.6", optional = true}
nbsphinx = {version = "^0.9.5", optional = true}
matplotlib = {version = "^3.2.1", optional = true}
#pandoc = {version = "^2.2", optional = true}
ipython = {version = "^8.0.0, !=8.7.0, !=8.18.1", optional = true}


# dev
asv = {version = "^0.6", optional = true}
pytest = {version = "^7", optional = true}
pytest = {version = ">=7", optional = true}

[tool.poetry.extras]
docs = ["sphinx", "nbsphinx", "ipykernel", "jupyter_client", "matplotlib", "pandoc"]
docs = ["sphinx", "nbsphinx", "matplotlib", "ipython"]
dev = ["asv", "pytest"]

[build-system]
requires = ["poetry-core>=1.1.0"]
build-backend = "poetry.core.masonry.api"

[tool.poetry.plugins.'derivative.hyperparam_opt']
"kalman.default" = "derivative.utils:_default_kalman"

0 comments on commit 5aaa813

Please sign in to comment.