From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IOCSML5ecWE1RgAAgWs5BA (envelope-from ) for ; Thu, 21 Oct 2021 14:36:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id mFAYLL5ecWEhUQAAbx9fmQ (envelope-from ) for ; Thu, 21 Oct 2021 12:36:14 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5EF7F35BCD for ; Thu, 21 Oct 2021 14:36:09 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id A7BA726E77; Thu, 21 Oct 2021 08:36:06 -0400 (EDT) Received: from mailproxy02.manitu.net (mailproxy02.manitu.net [217.11.48.66]) by mail.notmuchmail.org (Postfix) with ESMTPS id 1862326E64 for ; Thu, 21 Oct 2021 08:36:04 -0400 (EDT) Received: from localhost (200116b8606430004cd9f5d7a042c115.dip.versatel-1u1.de [IPv6:2001:16b8:6064:3000:4cd9:f5d7:a042:c115]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: michael@grubix.eu) by mailproxy02.manitu.net (Postfix) with ESMTPSA id 62CB6C00B9; Thu, 21 Oct 2021 14:36:03 +0200 (CEST) MIME-Version: 1.0 In-Reply-To: <87pmryfu2s.fsf@tethera.net> References: <87pmryfu2s.fsf@tethera.net> Subject: Re: [WIP PATCH 0/1] autodoc failed to import notmuch2 From: Michael J Gruber To: David Bremner , notmuch@notmuchmail.org Message-ID: <163481976202.6145.17443856854287852346.git@grubix.eu> Date: Thu, 21 Oct 2021 14:36:02 +0200 User-Agent: alot/0.10 Message-ID-Hash: L7DAM5CU4W3VHTORCA4PYK22X54KUCHV X-Message-ID-Hash: L7DAM5CU4W3VHTORCA4PYK22X54KUCHV X-MailFrom: michael@grubix.eu X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634819770; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=hDmBt+w+ix1t4cIcpKEhTxkMAeOXnixpadFkYPB0hbM=; b=ucTFJKVx2a7ahfkJeVp/VLY0pwSLerqVszYomei9eqDzhCAa5s9/A7NrK2/9+GbhxhfhwU DFbBKXUDR+7x68MOJlFoH+uImkQi85BNnqJ91u29dfDHwT4FC0Sjt8jMPDDxIza19vbeAD MNuvWdkA8YQXykQ1QZ3tOlgpciTgi7jNfGrzcXN56juvK3XwNbZVyuCmKqzQNourRCLE2W w/KfUm08c444lj8hC398hu4TJuMqxSg1FrZChj4MXSAozl7eScqPnIyM0H4KmjJRDfO85n CJK7bvWFwNLbfo1trbhZ3SxcHDhqx7DH1B9NMmefp5rusx0csTfztIhx/8f6SA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634819770; a=rsa-sha256; cv=none; b=Dn99yiPp3sELerOT2Ad6rBCpqVQQ6hh2635yuKAA91ms3Aduj7K6XY05GUluUrYRjQ8t9B YjDnJ8yv3XTqlKUSbWuJBa4OD/jZO1a3ZGL/gqbn5B6hIDQMxnKaARaDn3Tst5AGVBs+P7 ubC6KcWaPloyEDbGexm9NBRTTLWnHb3UBBHfE3DqrVUjDXPX2aMvOz2jDX9D0ifkaBt3Dx iydFckqu5xRIi/awRVRm/ry3vmm91lKIvZCsvOqwfChFvc2kB4zR70/4r5cYN6mqcVU6Tj peuynYBbxg6pcFj2JfD2NI/2o5uJJGc+qinUugG3nhWjIJAvizEmqNrzhzeNIA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -1.01 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 5EF7F35BCD X-Spam-Score: -1.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: GBrhmULWKLLi David Bremner venit, vidit, dixit 2021-10-21 14:20:11: > Michael J Gruber writes: > > > Hi there > > > > During Fedora package builds I noticed that autodoc fails to import the > > notmuch2 module: > > > > ``` > > WARNING: autodoc: failed to import module 'notmuch2'; the following > > exception was raised: > > No module named 'notmuch2' > > ``` > > > > You never notice this on your own box where notmuch2 is installed, > > because then the build finds the previously installed module. But this > > is wrong, of course, because autodoc is supposed to document tthe module > > being build (in-source module). > > > > I also see this error when doing builds in a clean environment for > Debian. I guess I'm currently not using the docs from those builds, so I > don't know how bad the damage is. In that case: Which docs do you use, and which docs do you want us (packagers) to use? The usual fedora policy is to (re)build docs if the doc source is shipped. Disclaimer: I have no clue about autodoc ;) Michael