From 091b7b31407e20f09c4fa5bdc50e80e666b7af0a Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Mon, 2 Dec 2024 17:31:54 +0100 Subject: [PATCH] Adjust RTD config for Python 3.13 Same work-around for pyam-iamc packaging issue as in .github/workflows/pytest.yaml; see #250. --- .readthedocs.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9e980d609..f2f8394e6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,6 +17,9 @@ build: post_install: # Remove requests-cache, which appears to cause segfaults on RTD workers - pip uninstall --yes requests-cache + # TEMPORARY With Python 3.13 pyam-iamc resolves to 1.3.1, which in turn + # limits pint < 0.17. Override. + - pip install --upgrade pint # Build documentation in the docs/ directory with Sphinx @@ -28,5 +31,4 @@ python: - requirements: doc/requirements.txt - method: pip path: . - extra_requirements: - - docs + extra_requirements: [ docs ]