From cba36c570b6bba89e1aecddc7bdc030e6bbd7ff3 Mon Sep 17 00:00:00 2001 From: SVJ_Vitor Date: Tue, 20 Aug 2024 19:27:40 +0200 Subject: [PATCH] DOC: fix Y1m figure in TR-033 (#290) * DX: hide Sphinx deprecation warnings * FIX: pin version of Numba API --- docs/conf.py | 2 +- docs/report/033.ipynb | 2 +- tox.ini | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 52bd1ddf..633fbcdc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -199,7 +199,7 @@ def install_ijulia() -> None: f"https://mpl-interactions.readthedocs.io/en/{pin('mpl-interactions')}", None, ), - "numba": ("https://numba.pydata.org/numba-doc/latest", None), + "numba": (f"https://numba.readthedocs.io/en/{pin('numba')}", None), "numpy": (f"https://numpy.org/doc/{pin_minor('numpy')}", None), "pdg": ("https://pdgapi.lbl.gov/doc", None), "plotly": ("https://plotly.com/python-api-reference/", None), diff --git a/docs/report/033.ipynb b/docs/report/033.ipynb index 2ab6d5ea..e3ca052d 100644 --- a/docs/report/033.ipynb +++ b/docs/report/033.ipynb @@ -1568,7 +1568,7 @@ ] }, "source": [ - "![](https://github.com/user-attachments/assets/cdcd343f-21f8-4faf-a7ee-ef10f8bd8036)" + "![](https://github.com/user-attachments/assets/95acd332-6aa2-4839-81f9-fa433258ace2)" ] }, { diff --git a/tox.ini b/tox.ini index ef8c3fb4..fd258b8a 100644 --- a/tox.ini +++ b/tox.ini @@ -21,6 +21,7 @@ description = passenv = * setenv = FORCE_COLOR = 1 + PYTHONWARNINGS = ZFIT_DISABLE_TF_WARNINGS = 1 [testenv:doclive] @@ -52,6 +53,7 @@ description = passenv = * setenv = FORCE_COLOR = 1 + PYTHONWARNINGS = ZFIT_DISABLE_TF_WARNINGS = 1 [testenv:docnb] @@ -70,6 +72,7 @@ passenv = * setenv = EXECUTE_NB = yes FORCE_COLOR = 1 + PYTHONWARNINGS = TF_CPP_MIN_LOG_LEVEL = 3 ZFIT_DISABLE_TF_WARNINGS = 1 @@ -103,6 +106,7 @@ passenv = * setenv = EXECUTE_NB = yes FORCE_COLOR = 1 + PYTHONWARNINGS = TF_CPP_MIN_LOG_LEVEL = 3 ZFIT_DISABLE_TF_WARNINGS = 1 @@ -117,6 +121,7 @@ passenv = * setenv = FORCE_COLOR = 1 FORCE_EXECUTE_NB = yes + PYTHONWARNINGS = TF_CPP_MIN_LOG_LEVEL = 3 ZFIT_DISABLE_TF_WARNINGS = 1