From patchwork Wed Jan 3 17:33:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 759635 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp6612331wrw; Wed, 3 Jan 2024 09:40:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHtm/HUTfc0bztpjSWSAfRVVOy83PY39Y8m4vriIzSMLPurphOJOU6a0cm4GkdN/5H0fSna X-Received: by 2002:a05:6214:124a:b0:67f:44b0:b997 with SMTP id r10-20020a056214124a00b0067f44b0b997mr2001286qvv.52.1704303631838; Wed, 03 Jan 2024 09:40:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704303631; cv=none; d=google.com; s=arc-20160816; b=IAukzjX+9R3atmlH77hXAV6KfSPlEDd88bDEwgYGtqVieh0mKynNvRA2pMxrwCd2um qQCkvmdk1g/MXgpv1VoiMh4yIUutNRsmEPzyeJev6BkhjRh3VFTRnQRr83jwYBmTcVbQ GPswiDzSD/Un9DJTYoerJyndY515xqzVJEYjKxI5ubA9Cy4ERFekLAJ2mgKwpN02nAZI O+FcfDjezE4v9uY7QUsZZ/9wzdLTSFmA925l8JGkrzhqYcH7twjP7FBdxFeqAonWus27 CQt4aHnAP2O3NxuEc0LjTwoOdw11syOgF90ppnsN0ePsO5qu845i8L0l7cPjvMsZI2iN sLiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ciRl9sFGERSf23eviyCL0uKOJ2+yOOkqWUqo8JImKW0=; fh=SUNLeLMef8sbmM+c26ZLaZMzyLf2pipT3nlCP45Ny7c=; b=g0mea1kAUcRyKo+k5w+X2z6/wtBBPW5BtQ2vLGfMSV1f4nq+BYXsfSmrKjliwBbPrg o2dEyuxeos67t2/DpBbPPsKk9xAkEb/EYTbFwNvKlZPODoWLBX2Lh1nzWKgbiLZXl+WO TuTouCUdOMeAUB6878m+oDGMupeShQ9v71mg0BAgymW36XwkC/k1O/IkMlEpfq8FTJRH DTABfZRv/nMcHqztgRhsU3zJCTgjUfqTNM3PluMAaBQmOsy5sL3ZOQ6ruXHlxUKEuMdy h81QpcD2IpwHcwW4rDxoZi0vnoSvlP1dgehE1Hn0semXwmC/nOb9ALqsbbknscAXt3ph /wew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KPOJ1yQC; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id gw8-20020a0562140f0800b00680286f1075si21524805qvb.308.2024.01.03.09.40.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Jan 2024 09:40:31 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KPOJ1yQC; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rL5DW-0007xA-OB; Wed, 03 Jan 2024 12:39:46 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rL5DP-0007gN-SV for qemu-devel@nongnu.org; Wed, 03 Jan 2024 12:39:39 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rL5D2-0000ld-5q for qemu-devel@nongnu.org; Wed, 03 Jan 2024 12:39:39 -0500 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-33677fb38a3so10735509f8f.0 for ; Wed, 03 Jan 2024 09:39:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704303554; x=1704908354; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ciRl9sFGERSf23eviyCL0uKOJ2+yOOkqWUqo8JImKW0=; b=KPOJ1yQC10ewHPKxj0B56GN6UZ1LRUX0woBBGNOU953v1Aybbebr0PjThiMdEa5Bz1 mtD1OM0DV/x15Jf43KsENEvXzDn7SmIrmcWItPe1M1kjv3KKPt2r5QKzNU/NmnhlzpNX xnOJFpnCw9VdZrd860OtvfGFA7V38QR4oN/+JM84/vV5PBsgtQgJtCPQMyhS33e0fkIt 1AwJZLyhYVExi7DrEPwdAkw2xEd3HaIaNN1/7O2B1FiSgMzil+LQ8RLgLOrSxi49eMsk qS/wWrCOdDvNjFL5clIGjR4JKvrXMsSHSy8IqjZMO1gL8lDJfkfit5KPuKSzRYNr+xz8 bqQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704303554; x=1704908354; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ciRl9sFGERSf23eviyCL0uKOJ2+yOOkqWUqo8JImKW0=; b=QYp4cLcCNq2qQ5ToKUJh4Cb1CL7lYpw31wr4V0AnImqZKRSVD95RVfDxT4aCL5YByn qTSUDteS5HtPclIS9TrXTRm/bTQE5HfTcandgr8eOh4M43oXfanGwOMBpLGtilRmtj3x kfoht8zmOZucpTKhLrg4MvVF5QxS0XowKm1ekW6FuB8mC/mWKFewClTFfzfexjPtLmgC OAc5If7z6jz3TyVNndvqSpfJ2i75C5wtWqNscdjRzvNQQ+1ETg6bXEXphsjAueBRWfEo +NvGO7h6YtCdHFPmZdr2zNNfBHSjXwJlBXDyTnGxvNR0JPvqMymGuYAe4hKfrMEW/t7S iiVg== X-Gm-Message-State: AOJu0YycTOI8EQFlv5Df/XkEMagOwtuQZocdLi/QA13ggPDq5F11wiXl YiZSnOg3MkX1f0BoB/KN2DLpIvpRdljw5A== X-Received: by 2002:a5d:4849:0:b0:336:8f9f:c69c with SMTP id n9-20020a5d4849000000b003368f9fc69cmr10597659wrs.40.1704303554593; Wed, 03 Jan 2024 09:39:14 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id x18-20020adff0d2000000b003365aa39d30sm30989513wro.11.2024.01.03.09.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 09:39:13 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 3FDAA5F951; Wed, 3 Jan 2024 17:33:51 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, Richard Henderson , Song Gao , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , David Hildenbrand , Aurelien Jarno , Yoshinori Sato , Yanan Wang , Bin Meng , Laurent Vivier , Michael Rolnik , Alexandre Iooss , David Woodhouse , Laurent Vivier , Paolo Bonzini , Brian Cain , Daniel Henrique Barboza , Beraldo Leal , Paul Durrant , Mahmoud Mandour , Thomas Huth , Liu Zhiwei , Cleber Rosa , kvm@vger.kernel.org, Peter Maydell , Wainer dos Santos Moschetta , =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= , qemu-arm@nongnu.org, Weiwei Li , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , John Snow , Daniel Henrique Barboza , Nicholas Piggin , Palmer Dabbelt , Marcel Apfelbaum , Ilya Leoshkevich , =?utf-8?q?C=C3=A9dric_Le_Goater?= , "Edgar E. Iglesias" , Eduardo Habkost , Pierrick Bouvier , qemu-riscv@nongnu.org, Alistair Francis , qemu-stable@nongnu.org Subject: [PATCH v2 21/43] readthodocs: fully specify a build environment Date: Wed, 3 Jan 2024 17:33:27 +0000 Message-Id: <20240103173349.398526-22-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240103173349.398526-1-alex.bennee@linaro.org> References: <20240103173349.398526-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42d; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This is now expected by rtd so I've expanded using their example as 22.04 is one of our supported platforms. I tried to work out if there was an easy way to re-generate a requirements.txt from our pythondeps.toml but in the end went for the easier solution. Cc: Signed-off-by: Alex Bennée Message-Id: <20231221174200.2693694-1-alex.bennee@linaro.org> --- docs/requirements.txt | 2 ++ .readthedocs.yml | 19 ++++++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 docs/requirements.txt diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 00000000000..691e5218ec7 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx==5.3.0 +sphinx_rtd_theme==1.1.1 diff --git a/.readthedocs.yml b/.readthedocs.yml index 7fb7b8dd61a..0b262469ce6 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -5,16 +5,21 @@ # Required version: 2 +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + # Build documentation in the docs/ directory with Sphinx sphinx: configuration: docs/conf.py +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: docs/requirements.txt + # We want all the document formats formats: all - -# For consistency, we require that QEMU's Sphinx extensions -# run with at least the same minimum version of Python that -# we require for other Python in our codebase (our conf.py -# enforces this, and some code needs it.) -python: - version: 3.6