Skip to content

Commit e77764f

Browse files
committed
Adjust RTD config for Python 3.13
Same work-around for pyam-iamc packaging issue as in .github/workflows/pytest.yaml; see #250.
1 parent d5d7778 commit e77764f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.readthedocs.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ build:
1717
post_install:
1818
# Remove requests-cache, which appears to cause segfaults on RTD workers
1919
- pip uninstall --yes requests-cache
20+
# TEMPORARY With Python 3.13 pyam-iamc resolves to 1.3.1, which in turn
21+
# limits pint < 0.17. Override.
22+
- pip install --upgrade pint
2023

2124

2225
# Build documentation in the docs/ directory with Sphinx
@@ -28,5 +31,4 @@ python:
2831
- requirements: doc/requirements.txt
2932
- method: pip
3033
path: .
31-
extra_requirements:
32-
- docs
34+
extra_requirements: [ docs ]

0 commit comments

Comments
 (0)