Skip to content

Commit

Permalink
Adjust RTD config for Python 3.13
Browse files Browse the repository at this point in the history
Same work-around for pyam-iamc packaging issue as in
.github/workflows/pytest.yaml; see #250.
  • Loading branch information
khaeru committed Dec 3, 2024
1 parent a23b53e commit ef0b566
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -28,5 +31,4 @@ python:
- requirements: doc/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
extra_requirements: [ docs ]

0 comments on commit ef0b566

Please sign in to comment.