From 363bbfe42a6b2ffcd7cd7f40e221f67d6ee35707 Mon Sep 17 00:00:00 2001 From: Tiago Nobrega Date: Thu, 30 Jan 2025 16:57:00 -0300 Subject: [PATCH] ci: use uv requirements on readthedocs --- .readthedocs.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a6764999f..5d5811d04 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,13 +6,20 @@ version: 2 build: - os: ubuntu-22.04 + os: ubuntu-24.04 + apt_packages: + - curl tools: - python: "3.10" + python: "3.12" jobs: post_checkout: - git fetch --tags --unshallow # Also fetch tags - git describe # Make sure we get a proper version + pre_create_environment: + - asdf plugin add uv + - asdf install uv latest + - asdf global uv latest + - uv export --no-dev --extra docs --no-emit-package pywin32 --no-hashes --output-file uv-requirements.txt # Build documentation in the docs/ directory with Sphinx sphinx: @@ -24,7 +31,4 @@ sphinx: # and requirements required to build your docs python: install: - - method: pip - path: . - extra_requirements: - - docs + - requirements: uv-requirements.txt