From 87e3e14c1f238b46e554073ac8c8be9511089f0d Mon Sep 17 00:00:00 2001 From: Maciej Lech Date: Mon, 6 Jul 2026 18:43:13 +0200 Subject: [PATCH] Fix RTD builds: migrate config from removed pdm to uv sync --- .readthedocs.yml | 20 +++++++------------ changelog.d/+fix-rtd-builds.infrastructure.md | 1 + 2 files changed, 8 insertions(+), 13 deletions(-) create mode 100644 changelog.d/+fix-rtd-builds.infrastructure.md diff --git a/.readthedocs.yml b/.readthedocs.yml index 5d01c949e..a588ba217 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -2,28 +2,22 @@ # Read the Docs configuration file # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details -# Required version: 2 build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: - python: "3.12" - jobs: - post_create_environment: - - pip install pdm - - pdm export --format requirements --prod --group doc --output requirements-doc.txt --no-hashes + python: "3.14" -# Build documentation in the docs/ directory with Sphinx sphinx: configuration: doc/source/conf.py + fail_on_warning: true -# Optionally build your docs in additional formats such as PDF and ePub formats: all -# Optionally set the version of Python and requirements required to build your docs python: install: - - requirements: requirements-doc.txt - - method: pip - path: . \ No newline at end of file + - method: uv + command: sync + groups: + - doc diff --git a/changelog.d/+fix-rtd-builds.infrastructure.md b/changelog.d/+fix-rtd-builds.infrastructure.md new file mode 100644 index 000000000..04f79bd6d --- /dev/null +++ b/changelog.d/+fix-rtd-builds.infrastructure.md @@ -0,0 +1 @@ +Fix Read the Docs builds by migrating the config from the removed pdm setup to `uv sync`.