{"id":1882102,"url":"http://patchwork.ozlabs.org/api/patches/1882102/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20240103173349.398526-22-alex.bennee@linaro.org/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/projects/14/?format=json","name":"QEMU Development","link_name":"qemu-devel","list_id":"qemu-devel.nongnu.org","list_email":"qemu-devel@nongnu.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20240103173349.398526-22-alex.bennee@linaro.org>","list_archive_url":null,"date":"2024-01-03T17:33:27","name":"[v2,21/43] readthodocs: fully specify a build environment","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"c131849ace6cd77f7ecaa78c7598ddd7f3f380af","submitter":{"id":39532,"url":"http://patchwork.ozlabs.org/api/people/39532/?format=json","name":"Alex Bennée","email":"alex.bennee@linaro.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20240103173349.398526-22-alex.bennee@linaro.org/mbox/","series":[{"id":388742,"url":"http://patchwork.ozlabs.org/api/series/388742/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=388742","date":"2024-01-03T17:33:08","name":"testing and plugin updates for 9.0 (pre-PR)","version":2,"mbox":"http://patchwork.ozlabs.org/series/388742/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/1882102/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/1882102/checks/","tags":{},"related":[],"headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=KPOJ1yQC;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4T4xnr6NXWz1ydb\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  4 Jan 2024 04:40:32 +1100 (AEDT)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1rL5DW-0007xA-OB; Wed, 03 Jan 2024 12:39:46 -0500","from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>)\n id 1rL5DP-0007gN-SV\n for qemu-devel@nongnu.org; Wed, 03 Jan 2024 12:39:39 -0500","from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>)\n id 1rL5D2-0000ld-5q\n for qemu-devel@nongnu.org; Wed, 03 Jan 2024 12:39:39 -0500","by mail-wr1-x42d.google.com with SMTP id\n ffacd0b85a97d-33677fb38a3so10735509f8f.0\n for <qemu-devel@nongnu.org>; Wed, 03 Jan 2024 09:39:15 -0800 (PST)","from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id\n x18-20020adff0d2000000b003365aa39d30sm30989513wro.11.2024.01.03.09.39.08\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 03 Jan 2024 09:39:13 -0800 (PST)","from draig.lan (localhost [IPv6:::1])\n by draig.lan (Postfix) with ESMTP id 3FDAA5F951;\n Wed,  3 Jan 2024 17:33:51 +0000 (GMT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1704303554; x=1704908354; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=ciRl9sFGERSf23eviyCL0uKOJ2+yOOkqWUqo8JImKW0=;\n b=KPOJ1yQC10ewHPKxj0B56GN6UZ1LRUX0woBBGNOU953v1Aybbebr0PjThiMdEa5Bz1\n mtD1OM0DV/x15Jf43KsENEvXzDn7SmIrmcWItPe1M1kjv3KKPt2r5QKzNU/NmnhlzpNX\n xnOJFpnCw9VdZrd860OtvfGFA7V38QR4oN/+JM84/vV5PBsgtQgJtCPQMyhS33e0fkIt\n 1AwJZLyhYVExi7DrEPwdAkw2xEd3HaIaNN1/7O2B1FiSgMzil+LQ8RLgLOrSxi49eMsk\n qS/wWrCOdDvNjFL5clIGjR4JKvrXMsSHSy8IqjZMO1gL8lDJfkfit5KPuKSzRYNr+xz8\n bqQQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1704303554; x=1704908354;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=ciRl9sFGERSf23eviyCL0uKOJ2+yOOkqWUqo8JImKW0=;\n b=QYp4cLcCNq2qQ5ToKUJh4Cb1CL7lYpw31wr4V0AnImqZKRSVD95RVfDxT4aCL5YByn\n qTSUDteS5HtPclIS9TrXTRm/bTQE5HfTcandgr8eOh4M43oXfanGwOMBpLGtilRmtj3x\n kfoht8zmOZucpTKhLrg4MvVF5QxS0XowKm1ekW6FuB8mC/mWKFewClTFfzfexjPtLmgC\n OAc5If7z6jz3TyVNndvqSpfJ2i75C5wtWqNscdjRzvNQQ+1ETg6bXEXphsjAueBRWfEo\n +NvGO7h6YtCdHFPmZdr2zNNfBHSjXwJlBXDyTnGxvNR0JPvqMymGuYAe4hKfrMEW/t7S\n iiVg==","X-Gm-Message-State":"AOJu0YycTOI8EQFlv5Df/XkEMagOwtuQZocdLi/QA13ggPDq5F11wiXl\n YiZSnOg3MkX1f0BoB/KN2DLpIvpRdljw5A==","X-Google-Smtp-Source":"\n AGHT+IFDLpxCZNS1nZaWXFfbL0Qz+KalAUozXFnUwdorNdWC3gGHXn5UNlLNInmNypjXhCCaw7+rvA==","X-Received":"by 2002:a5d:4849:0:b0:336:8f9f:c69c with SMTP id\n n9-20020a5d4849000000b003368f9fc69cmr10597659wrs.40.1704303554593;\n Wed, 03 Jan 2024 09:39:14 -0800 (PST)","From":"=?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>","To":"qemu-devel@nongnu.org","Cc":"qemu-s390x@nongnu.org, qemu-ppc@nongnu.org,\n Richard Henderson <richard.henderson@linaro.org>,\n Song Gao <gaosong@loongson.cn>,\n =?utf-8?q?Marc-Andr=C3=A9_Lureau?= <marcandre.lureau@redhat.com>,\n David Hildenbrand <david@redhat.com>, Aurelien Jarno <aurelien@aurel32.net>,\n Yoshinori Sato <ysato@users.sourceforge.jp>,\n Yanan Wang <wangyanan55@huawei.com>, Bin Meng <bin.meng@windriver.com>,\n Laurent Vivier <lvivier@redhat.com>, Michael Rolnik <mrolnik@gmail.com>,\n Alexandre Iooss <erdnaxe@crans.org>, David Woodhouse <dwmw2@infradead.org>,\n Laurent Vivier <laurent@vivier.eu>, Paolo Bonzini <pbonzini@redhat.com>,\n Brian Cain <bcain@quicinc.com>,\n Daniel Henrique Barboza <danielhb413@gmail.com>,\n Beraldo Leal <bleal@redhat.com>, Paul Durrant <paul@xen.org>,\n Mahmoud Mandour <ma.mandourr@gmail.com>, Thomas Huth <thuth@redhat.com>,\n Liu Zhiwei <zhiwei_liu@linux.alibaba.com>, Cleber Rosa <crosa@redhat.com>,\n kvm@vger.kernel.org, Peter Maydell <peter.maydell@linaro.org>,\n Wainer dos Santos Moschetta <wainersm@redhat.com>, =?utf-8?q?Alex_Benn?=\n\t=?utf-8?q?=C3=A9e?= <alex.bennee@linaro.org>, qemu-arm@nongnu.org,\n Weiwei Li <liwei1518@gmail.com>,\n =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n John Snow <jsnow@redhat.com>,\n Daniel Henrique Barboza <dbarboza@ventanamicro.com>,\n Nicholas Piggin <npiggin@gmail.com>, Palmer Dabbelt <palmer@dabbelt.com>,\n Marcel Apfelbaum <marcel.apfelbaum@gmail.com>,\n Ilya Leoshkevich <iii@linux.ibm.com>,\n =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org>,\n \"Edgar E. Iglesias\" <edgar.iglesias@gmail.com>,\n Eduardo Habkost <eduardo@habkost.net>,\n Pierrick Bouvier <pierrick.bouvier@linaro.org>, qemu-riscv@nongnu.org,\n Alistair Francis <alistair.francis@wdc.com>, 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","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=2a00:1450:4864:20::42d;\n 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,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,\n 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":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"},"content":"This is now expected by rtd so I've expanded using their example as\n22.04 is one of our supported platforms. I tried to work out if there\nwas an easy way to re-generate a requirements.txt from our\npythondeps.toml but in the end went for the easier solution.\n\nCc:  <qemu-stable@nongnu.org>\nSigned-off-by: Alex Bennée <alex.bennee@linaro.org>\nMessage-Id: <20231221174200.2693694-1-alex.bennee@linaro.org>\n---\n docs/requirements.txt |  2 ++\n .readthedocs.yml      | 19 ++++++++++++-------\n 2 files changed, 14 insertions(+), 7 deletions(-)\n create mode 100644 docs/requirements.txt","diff":"diff --git a/docs/requirements.txt b/docs/requirements.txt\nnew file mode 100644\nindex 00000000000..691e5218ec7\n--- /dev/null\n+++ b/docs/requirements.txt\n@@ -0,0 +1,2 @@\n+sphinx==5.3.0\n+sphinx_rtd_theme==1.1.1\ndiff --git a/.readthedocs.yml b/.readthedocs.yml\nindex 7fb7b8dd61a..0b262469ce6 100644\n--- a/.readthedocs.yml\n+++ b/.readthedocs.yml\n@@ -5,16 +5,21 @@\n # Required\n version: 2\n \n+# Set the version of Python and other tools you might need\n+build:\n+  os: ubuntu-22.04\n+  tools:\n+    python: \"3.11\"\n+\n # Build documentation in the docs/ directory with Sphinx\n sphinx:\n   configuration: docs/conf.py\n \n+# We recommend specifying your dependencies to enable reproducible builds:\n+# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html\n+python:\n+  install:\n+    - requirements: docs/requirements.txt\n+\n # We want all the document formats\n formats: all\n-\n-# For consistency, we require that QEMU's Sphinx extensions\n-# run with at least the same minimum version of Python that\n-# we require for other Python in our codebase (our conf.py\n-# enforces this, and some code needs it.)\n-python:\n-  version: 3.6\n","prefixes":["v2","21/43"]}