From daf1fd0287de208d78686ccf1dd2719b5cfa0b41 Mon Sep 17 00:00:00 2001 From: kklein Date: Mon, 24 Jun 2024 13:08:30 +0200 Subject: [PATCH] Adapt readthedocs configuration. --- .readthedocs.yml | 16 ++++++---------- environment.yml | 45 --------------------------------------------- 2 files changed, 6 insertions(+), 55 deletions(-) delete mode 100644 environment.yml diff --git a/.readthedocs.yml b/.readthedocs.yml index 6790a31..1c07a25 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,17 +2,13 @@ version: 2 build: os: ubuntu-20.04 tools: - python: mambaforge-4.10 + python: mambaforge-latest + commands: + - mamba install -c conda-forge -c nodefaults pixi + - pixi run -e docs postinstall + - pixi run -e docs docs + - pixi run -e docs readthedocs sphinx: configuration: docs/conf.py -python: - install: - - method: pip - path: . - extra_requirements: - - doc - - test -conda: - environment: environment.yml formats: - pdf diff --git a/environment.yml b/environment.yml deleted file mode 100644 index 6197561..0000000 --- a/environment.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: metalearners -channels: - - conda-forge - - nodefaults -dependencies: - ## Git - - pre-commit - - git_root - ## Python - - pip - - python>=3.10 - - setuptools-scm - - setuptools >=61 # Adds support for pyproject.toml package declaration. - # Documentation - - make - - numpydoc - - sphinx - - sphinxcontrib-apidoc - - sphinx_rtd_theme - - myst-nb - - ipykernel - - ipywidgets - ## Documentation examples - - lime - - optuna - - nbconvert - # Development - - mypy =1.9.0 - # Testing - - pytest >=6 # Adds --import-mode option - - pytest-cov - - pytest-xdist - ## Numerical - # First version to add the return_indices parameter to cross_validate. - - scikit-learn>=1.3 - - numpy - - pandas - - typing-extensions - - lightgbm - - xgboost - - glum - - shap - - matplotlib-base - # Same as sklearn - - joblib>=1.2.0