From c830e7d6c14fbf36f7b0fd23d783470de6d611a2 Mon Sep 17 00:00:00 2001 From: Brian Rose Date: Wed, 12 Jul 2023 21:28:16 -0400 Subject: [PATCH] Set flag so the build fails on notebook errors (#414) * Update _config.yml * Pin to earlier scipy version --- _config.yml | 1 + environment.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 814391ef6..64b622607 100644 --- a/_config.yml +++ b/_config.yml @@ -89,6 +89,7 @@ bibtex_bibfiles: sphinx: config: + nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder) linkcheck_request_headers: 'https://docs.github.com/': User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0 diff --git a/environment.yml b/environment.yml index f057264ee..ff68f1787 100644 --- a/environment.yml +++ b/environment.yml @@ -15,7 +15,7 @@ dependencies: - pyproj - pythia-datasets - python - - scipy + - scipy<1.11 - ffmpeg - sqlalchemy<1.4 - xarray