Path: csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: "Diego M. Rodriguez" Newsgroups: linux.debian.maint.python Subject: Re: Help fixing #959558 (case: FTBFS: AttributeError: 'tuple' object has no attribute 'lstrip' with sphinx 2.4) Date: Wed, 27 May 2020 10:20:01 +0200 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Wed May 27 08:11:05 2020 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.898 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .moreda. - helo: .wout1-smtp.messagingengine. - helo-domain: .messagingengine.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 Old-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=moreda.io; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type; s=fm1; bh=vmc1xmrbFHs4Y9ZOoyxgsUWHoDM skHMH/5x5bGLWoCw=; b=WUctF9qZg//phwRXFX4LcI19XCTGctK0ukShI4zgljT ur6ncrNh6dYxZ9mNMp8Fq/ufHPyAPLe0CidZiJIsv9zBjzyG+miuM4MuE9Lz+SsX TtOAvSRB3OuO1BH7DdCkmeEIOVD3IdQfw4CknYAg+PIkfpYF5OFFCi1TpfS/h1v7 trVgHXbs3opVQeKumf94PUbR6V/RYFpByKJWfoXrpEWKLhLz9UpgKZfFWgaFojie jbY7BQQUsYqQJeSbhIt23fTL8x9r+i43m3wAAbZHToDHVMwuH+iE0e3WTQqGTeKz Z08GXHkKEtM2cUlzIJiwHomulCO0y6eTDXbQJXJ/mlg== Old-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=vmc1xm rbFHs4Y9ZOoyxgsUWHoDMskHMH/5x5bGLWoCw=; b=4dSR37wYY4fKn6kCvrNBL2 PKUcPN9+K+hJxjuzSr0mhRkCA6hxTaOuy1aP38zgkkI86gVIYpewRaI8HFaXFJAU LiJD6sMue72AqsOcNa3i/R3aFKokCvG2by2a86Sgo9BqKGMS+fT12aFAHLaj5PuQ bRVJe17cRaIYH+sOr5HohstwqI1LGkQVQ1vzW/ev/dh6ZdTyJyG+drJnVCTNHqpj v6aq0/kZLey52N2CIn39G93BWCYBxlg4XkmTAyURTjaJ5rRD+jrezd8hTSjOinjN y8LJpjudfu8NOZriMuKewFubscmjgrKchGUUFejw3XSmk55kofjkoQbhqKE3j5kg == X-Me-Sender: X-Me-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddvfedguddvfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtsehgtd erofdtfeejnecuhfhrohhmpedfffhivghgohcuofdrucftohgurhhighhuvgiifdcuoegu ihgvghhosehmohhrvggurgdrihhoqeenucggtffrrghtthgvrhhnpeeigffhfeetveehgf ehhffgteffjeduueeljeekkeevleevgffhveehheegleetueenucffohhmrghinhepmhho tghkrdgtrghllhdprhgvrgguthhhvgguohgtshdrihhopdhgihhthhhusgdrtghomhenuc fkphepledvrddujeeirddvtddrudduieenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpeguihgvghhosehmohhrvggurgdrihho X-Me-Proxy: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BZyaC4qzBGw6rBy3rLidwQbFzZ7jy7KDO" X-Mailing-List: archive/latest/18324 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/f330f7e7-bf3b-a17c-05a5-090d5fc5e15e@moreda.io Approved: robomod@news.nic.it Lines: 72 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 27 May 2020 10:10:34 +0200 X-Original-Message-ID: X-Original-References: <3b114f6d-9e07-2fcd-7c0a-3127676c4053@debian.org> Xref: csiph.com linux.debian.maint.python:12619 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --BZyaC4qzBGw6rBy3rLidwQbFzZ7jy7KDO Content-Type: multipart/mixed; boundary="W94Z3J830mTFN47ekAlmordUfeWZibOQq" --W94Z3J830mTFN47ekAlmordUfeWZibOQq Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 5/26/20 11:06 PM, Scott Talbert wrote: > It looks like it's a bug in sphinx. I'm suspecting the same - and I was also not able to reproduce it in a local installation (pip-installed sphinx trying to match the dependencies and versions). However, it seems the culprit is at "case/mock.py":51: call =3D mock.call In case a new upload of sphinx does not land in time, perhaps a workaround along the lines of: diff --git a/docs/reference/case.mock.rst b/docs/reference/case.mock.rst index 1a28a5c..2b6562c 100644 --- a/docs/reference/case.mock.rst +++ b/docs/reference/case.mock.rst @@ -9,3 +9,4 @@ .. automodule:: case.mock :members: :undoc-members: + :exclude-members: call might be acceptable? While not the ideal solution, the upstream generated docs [1] end up including the docstring from "unittest.mock._Call" [2] for that member, which might not provide too much relevant info for end users anyway (and the inheritance from "tuple" might be related to the original error). [1] https://case.readthedocs.io/en/latest/reference/case.mock.html#case.m= ock.call [2] https://github.com/python/cpython/blob/3.8/Lib/unittest/mock.py#L2352= --=20 Diego M. Rodriguez --W94Z3J830mTFN47ekAlmordUfeWZibOQq-- --BZyaC4qzBGw6rBy3rLidwQbFzZ7jy7KDO Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEAvCDXfsrIjmN/yAQ2csii2zRSx8FAl7OIIAACgkQ2csii2zR Sx+cZw/+JQwqhxP2LzgM0169r2UIjMS1dHlMG0EqZ3DQpLrZpsJwa9zXKmp4AdIf 9hn3tjczJwN/5aqvfdwJBvY0Z+csjmzDvtEZaIAScXTAgFrBXNIXR0c42SxbO4/5 czGxWMtRrzdy0JhBsFOx/0SvAebMhoVeUxX+xjWrl5UuZ4n0TIZaDfevJGQ5GDLd X07uukSmQWW6q7z8RJZ9n5WHpkZ5a+1vNU7Y5RG+FQ9AaO/pwDcc/FZwHyk9NaH/ FpwyKha7AWfBB6Oq2OquH66bm6+7KrvUtaWeJL27sR6YIx18SKJ8A4EKONZskbpa T5a1J1fHo1Y10QGSzq9vUaellbq/UtLyJNgPuM3gRxVsiWAzxa8f6rZ5eHnzJI6y AYSefzRkbIYJbk6W9f7rg1GK8fa9V4RYGCo9W55eIprpDMSrG2GMrrHmxNUZuMgD OU9d1AJYEtdME2Jr14nFWRvoTMrJHD5wy77mM0g57OiSTa63vRXRAyvEZ2BsdFDy Q/tqa56jUtT6mAAoCzv2ynbCuEP9qnddlEmFJSzOxLQ0rC5CwLUSU4+KRLjm8yTH gt5tBDywFaGQmpcNzDBk0bg/BEsBaP6k2kP98hFRNbgkV8hNNvHxY7ITpfbfNFl0 wRVrO8fJX9qoZ1W+xAwOBw01jGHCxjBarQh14WIDlNeMaCQz6Zk= =s+hd -----END PGP SIGNATURE----- --BZyaC4qzBGw6rBy3rLidwQbFzZ7jy7KDO--