From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id CC49C6DE0F74 for ; Sun, 10 Feb 2019 12:45:14 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.139 X-Spam-Level: X-Spam-Status: No, score=-0.139 tagged_above=-999 required=5 tests=[AWL=-0.140, DKIMWL_WL_MED=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZVSRHYHZpVWv for ; Sun, 10 Feb 2019 12:45:13 -0800 (PST) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) by arlo.cworth.org (Postfix) with ESMTPS id B9B716DE0F4E for ; Sun, 10 Feb 2019 12:45:12 -0800 (PST) Received: by mail-lf1-f44.google.com with SMTP id m11so6183277lfc.6 for ; Sun, 10 Feb 2019 12:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=C/5I4xLld2aYevJlmfohYj3PhABhQqhbzi/KsvJPiJI=; b=ypYV6ij4RIQP+FLyIRS1Y8N7U4EtXpT84zxIsubYZsXPo11/i9GBxgb0aPjY1qxAKw liZGIlNPbSNaE/UwQwdKKgPlvcJNDYPxqfK9lReaNFnepxmGJngI4yUA5In7wr146Oq6 tiM8IubxFBoIySzVqU33A0oLRdBgC3B3+o9aZnJM2hXKZ9CPxK0v8J8lGdWhNYLfi+VD aB2EHxOynP5nIgoplhlwQuFafeAGSWOfi2N/xT5tYkzOOyvwy38dXNvUMGkVsQqUGVVV g+oOV69+4gOW7v+RhvgqS8FfwLaYcrArXDr7Tn9l18lb9fOMhXj3x1A0YaXwRO505O+K W+dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=C/5I4xLld2aYevJlmfohYj3PhABhQqhbzi/KsvJPiJI=; b=afx9apHUR0GvlSCfKKLysKQhRnLMp8KKIsl6aahZEtE4q4msxjJvMslFHiJP6W67Jb EV/iIf/dTKmtOeddRoWZcLZ1BpEtSe9bkYo5NxMJswmXXmNX6p+miArjYWIyDe0YbwZy VI8nsyyQYkrw5cIHkGMvVOXo6JxxFkgieawkU6I3n0c99mEbjQYnzYhnUkg/+FbMdwAF XzJaTFeApeKHpw6PKlTwGEcq6//wnOz2ZW6FHMh38gXidPYiApN9CvIKZ4QwAdieDA4c xDEF9PMlKobOJvN0GYCDjOYzsKeZSf+3as6ZnvcEBmLEJinRYxZre1JdNLvRuq7p2px/ ZmVQ== X-Gm-Message-State: AHQUAuYGKK5RZPBFXNEtGlnm0KFqy5Ej7LDh9z3M77nHJFQsoX73NMAK aFzzmDPFNOnl+5yYIGK6qKkW8Q== X-Google-Smtp-Source: AHgI3IbTWWw86xdr1/mzePV7dseszLuJgD1CZMBzeB2gZCfkyxiSm1Dtvj4+K9Ml4m0xCZ0IVHOvNQ== X-Received: by 2002:a19:c207:: with SMTP id l7mr19732252lfc.89.1549831508574; Sun, 10 Feb 2019 12:45:08 -0800 (PST) Received: from localhost (82-203-142-74.bb.dnainternet.fi. [82.203.142.74]) by smtp.gmail.com with ESMTPSA id x18-v6sm1922912lji.27.2019.02.10.12.45.07 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 10 Feb 2019 12:45:07 -0800 (PST) From: Jani Nikula To: Dan =?utf-8?B?xIxlcm3DoWs=?= , notmuch@notmuchmail.org Subject: Re: [Bug] Cannot build python3 bindings documentation of notmuch 0.28.1 In-Reply-To: <874l9hm3c0.fsf@cgc-instruments.com> References: <874l9hm3c0.fsf@cgc-instruments.com> Date: Sun, 10 Feb 2019 22:45:04 +0200 Message-ID: <87mun3l6en.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Feb 2019 20:45:14 -0000 On Wed, 06 Feb 2019, Dan =C4=8Cerm=C3=A1k wrote: > Hi list, > > the python3 bindings documentation seems to be broken: > > on OpenSUSE Tumbleweed and Fedora 29 (both have Python 3.7 and sphinx > 1.7.6) I get this: Looks like a change in Python 3.7 makes the ctypes mocking in bindings/python/docs/source/conf.py fall short. If you just remove 'ctypes' from MOCK_MODULES, it'll work. However, that would probably break the documentation build at readthedocs.org, which won't have libnotmuch around. Short term, I guess someone(tm) has to hack the mocking. Long term, I'd love to see the python bindings Sphinx documentation merged to the main Sphinx notmuch documentation, and have all of that get automatically built and updated to notmuchmail.org. BR, Jani. > > $ cd bindings/python/docs/ > $ make dirhtml > sphinx-build -b dirhtml -d build/doctrees source build/dirhtml > Running Sphinx v1.7.6 > > Configuration error: > There is a programable error in your configuration file: > > Traceback (most recent call last): > File "/usr/lib/python3.7/site-packages/sphinx/config.py", line 161, in = __init__ > execfile_(filename, config) > File "/usr/lib/python3.7/site-packages/sphinx/util/pycompat.py", line 1= 50, in execfile_ > exec_(code, _globals) > File "conf.py", line 39, in > from notmuch import __VERSION__,__AUTHOR__ > File "/home/dan/packages/git.notmuchmail.org/git/notmuch/bindings/pytho= n/notmuch/__init__.py", line 54, in > from .database import Database > File "/home/dan/packages/git.notmuchmail.org/git/notmuch/bindings/pytho= n/notmuch/database.py", line 25, in > from .globals import ( > File "/home/dan/packages/git.notmuchmail.org/git/notmuch/bindings/pytho= n/notmuch/globals.py", line 48, in > class NotmuchDatabaseS(Structure): > TypeError: __mro_entries__ must return a tuple > > make: *** [Makefile:38: dirhtml] Error 2 > > > Cheers, > > Dan > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > https://notmuchmail.org/mailman/listinfo/notmuch