AP-25819: Update readthedocs build os to ubunutu 24.04#99
AP-25819: Update readthedocs build os to ubunutu 24.04#99HedgehogCode wants to merge 2 commits intomasterfrom
Conversation
AP-25819 (Update Python API Doc generation at RTD to use Ubuntu 24.04)
85f3b02 to
aeb7cd6
Compare
Newer versions do not work out of the box but 3.12 is still better than 3.9. AP-25819 (Update Python API Doc generation at RTD to use Ubuntu 24.04)
aeb7cd6 to
9425bc2
Compare
|
|
Build: https://app.readthedocs.org/projects/knime-python/builds/32202707/ Please delete the version from https://app.readthedocs.org/projects/knime-python/ when merging the PR. |
There was a problem hiding this comment.
Pull request overview
Updates the Read the Docs configuration to build the Python API documentation on a newer Ubuntu image and Python runtime, aligning the RTD environment with current tooling.
Changes:
- Bump RTD build OS from Ubuntu 20.04 to Ubuntu 24.04.
- Bump RTD Python toolchain from Python 3.9 to Python 3.12.
- Touch the RTD
python.installrequirements entry (indentation change).
| python: | ||
| install: | ||
| - requirements: doc/requirements.txt No newline at end of file | ||
| - requirements: doc/requirements.txt |
There was a problem hiding this comment.
In the python: section, the - requirements: ... entry is indented at the same level as install:. In RTD v2 config, python.install is a list, so the dash entry needs to be nested under install:; otherwise YAML parses - requirements as a sibling of install (and the requirements may not get installed / config may be invalid). Please indent the list item one level deeper under install:.
| - requirements: doc/requirements.txt | |
| - requirements: doc/requirements.txt |



AP-25819 (Update Python API Doc generation at RTD to use Ubuntu 24.04)