From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 11 19:15:41 2020 Received: (at submit) by debbugs.gnu.org; 12 Feb 2020 00:15:42 +0000 Received: from localhost ([127.0.0.1]:57731 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1fgr-0004kL-LB for submit@debbugs.gnu.org; Tue, 11 Feb 2020 19:15:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:39706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1fgq-0004kE-E6 for submit@debbugs.gnu.org; Tue, 11 Feb 2020 19:15:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56540) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1fgp-0004Oy-3x for guix-patches@gnu.org; Tue, 11 Feb 2020 19:15:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=2.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1fgn-0007dB-QI for guix-patches@gnu.org; Tue, 11 Feb 2020 19:15:38 -0500 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25186) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j1fgn-0007cA-Ha for guix-patches@gnu.org; Tue, 11 Feb 2020 19:15:37 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1581466532; cv=none; d=zohomail.com; s=zohoarc; b=MCqt+FWb9XQ/qpl0sRVd1zniA3/rvgTMKisbuUtJlH9vPSdvqO0C/8Zghe17CBTz7ehqVOsvmZl5TJXZCJDgTUjttiAZnlbe6Bz0OqpwLH58Ku8U5UpCETdt95blO1OqXrK5QyCsfJpT0bMM6gyQvzWKBMoSH9uIiq88BBTmVuI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1581466532; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=GOS8I7+zAkLpnbQRE7uaN2OEBZxBr75celell0DcyOo=; b=PK415tWctMvsvwbXdIaAe9gkMnvMOLN184McRmhA21ggHSnYevlW1uT1GbtN2PTFBGJUPYal2BXoHl6ARD+MH+gR7Oy5+m4SPIHQ2PKRvrtWt0nVDHX70cuLCP8A7LopBaM+K7DTMLIXJLj0qQs7ouqv7OhNBUdvI4wrVvLR1aA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:message-id:subject:date:mime-version:content-type; b=chbMxv1ux9bREMFSUK1U2bKpCddOdrjyMHoSffb/OMgfSekFdI8muehu/6x0TcArV73G5+1B7cPy MD9zxiEsS1to2Z2xJ9eT0ppHdQGBAHsFVwmUUxCJg84j9sBpFbRE DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1581466532; s=zm2020; d=zoho.com; i=sirgazil@zoho.com; h=From:To:Cc:Message-ID:Subject:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=GOS8I7+zAkLpnbQRE7uaN2OEBZxBr75celell0DcyOo=; b=Rs87Zd3CfaludSnEMZ1jCDRQcbuXN/u56I0aEmS4ne0dN9rJDgVNodfFjPIPzkIE JyH9xXEuxtNHWkye3YPQJJiGho1RQWSJA68cZmf17RWyDCWLzDRYOkMOLKP2b52Gyn9 Mc//pSBC/diTxLW1CPQXOjzCQilMqHyLs97oHDao= Received: from localhost.localdomain (179.15.13.185 [179.15.13.185]) by mx.zohomail.com with SMTPS id 1581466530897597.4177446574137; Tue, 11 Feb 2020 16:15:30 -0800 (PST) From: sirgazil To: guix-patches@gnu.org Message-ID: <20200212001420.24513-1-sirgazil@zoho.com> Subject: [PATCH] gnu: Add python-sphinx-autodoc-typehints. Date: Tue, 11 Feb 2020 19:14:20 -0500 X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 136.143.188.91 X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): New variable. --- gnu/packages/sphinx.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 4e4abccb04..41bde173c3 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2019 N [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: zoho.com] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=sirgazil%40zoho.com;ip=209.51.188.17;r=debbugs.gnu.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sirgazil[at]zoho.com) 2.0 SPOOFED_FREEMAIL No description available. X-Debbugs-Envelope-To: submit Cc: sirgazil X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) * gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): New variable. --- gnu/packages/sphinx.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 4e4abccb04..41bde173c3 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -13,6 +13,7 @@ ;;; Copyright =C2=A9 2019 Nicolas Goaziou ;;; Copyright =C2=A9 2019 Alexandros Theodotou ;;; Copyright =C2=A9 2019 Brett Gilio +;;; Copyright =C2=A9 2020 sirgazil ;;; ;;; This file is part of GNU Guix. ;;; @@ -597,3 +598,27 @@ to be able to read and render the Doxygen xml output."= ) "A utility tool that provides several features that make it easy to translate and to apply translation to Sphinx generated document.") (license license:bsd-2))) + +(define-public python-sphinx-autodoc-typehints + (package + (name "python-sphinx-autodoc-typehints") + (version "1.10.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sphinx-autodoc-typehints" version)) + (sha256 + (base32 + "1w6zy3cyp24jsdi8dcynrinafw2a0k5vblqy9lncm6j7cw0iicx6")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools-scm" ,python-setuptools-scm))) + (propagated-inputs + `(("python-sphinx" ,python-sphinx))) + (home-page "https://github.com/agronholm/sphinx-autodoc-typehints") + (synopsis "Type hints support for the Sphinx autodoc extension") + (description + "This extension allows you to use Python 3 annotations for +documenting acceptable argument types and return value types of +functions.") + (license license:expat))) --=20 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 12 02:49:11 2020 Received: (at 39572) by debbugs.gnu.org; 12 Feb 2020 07:49:11 +0000 Received: from localhost ([127.0.0.1]:57797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1mlf-0006wd-OA for submit@debbugs.gnu.org; Wed, 12 Feb 2020 02:49:11 -0500 Received: from flashner.co.il ([178.62.234.194]:43636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1mld-0006w6-Do for 39572@debbugs.gnu.org; Wed, 12 Feb 2020 02:49:05 -0500 Received: from localhost (unknown [141.226.13.108]) by flashner.co.il (Postfix) with ESMTPSA id C50FE40233; Wed, 12 Feb 2020 07:48:58 +0000 (UTC) Date: Wed, 12 Feb 2020 09:48:27 +0200 From: Efraim Flashner To: sirgazil Subject: Re: [bug#39572] [PATCH] gnu: Add python-sphinx-autodoc-typehints. Message-ID: <20200212074827.GE26092@E5400> References: <20200212001420.24513-1-sirgazil@zoho.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XuV1QlJbYrcVoo+x" Content-Disposition: inline In-Reply-To: <20200212001420.24513-1-sirgazil@zoho.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39572 Cc: 39572@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --XuV1QlJbYrcVoo+x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Overall the package looks good. I ran into an issue with the tests, namely that they weren't run. (This is becoming a common issue with our python packages as they change how the test suite is run) On Tue, Feb 11, 2020 at 07:14:20PM -0500, sirgazil via Guix-patches via wro= te: > * gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): New variable. > --- > gnu/packages/sphinx.scm | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) >=20 > diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm > index 4e4abccb04..41bde173c3 100644 > --- a/gnu/packages/sphinx.scm > +++ b/gnu/packages/sphinx.scm > @@ -13,6 +13,7 @@ > ;;; Copyright =C2=A9 2019 Nicolas Goaziou > ;;; Copyright =C2=A9 2019 Alexandros Theodotou > ;;; Copyright =C2=A9 2019 Brett Gilio > +;;; Copyright =C2=A9 2020 sirgazil > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -597,3 +598,27 @@ to be able to read and render the Doxygen xml output= =2E") > "A utility tool that provides several features that make it easy to > translate and to apply translation to Sphinx generated document.") > (license license:bsd-2))) > + > +(define-public python-sphinx-autodoc-typehints > + (package > + (name "python-sphinx-autodoc-typehints") > + (version "1.10.3") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "sphinx-autodoc-typehints" version)) > + (sha256 > + (base32 > + "1w6zy3cyp24jsdi8dcynrinafw2a0k5vblqy9lncm6j7cw0iicx6")))) > + (build-system python-build-system) I added the following snippet here to run the tests: (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ (invoke "pytest")))))) And added python-pytest to the native-inputs but it turns out that wasn't enough: starting phase `check' ImportError while loading conftest '/tmp/guix-build-python-sphinx-autodoc-t= ypehints-1.10.3.drv-0/sphinx-autodoc-typehints-1.10.3/tests/conftest.py'. tests/conftest.py:8: in from sphobjinv import Inventory E ModuleNotFoundError: No module named 'sphobjinv' command "pytest" failed with status 4 According to here=C2=B9 there are a couple of other dependencies that are needed to run the tests, including sphobjinv which isn't packaged yet. > + (native-inputs > + `(("python-setuptools-scm" ,python-setuptools-scm))) > + (propagated-inputs > + `(("python-sphinx" ,python-sphinx))) > + (home-page "https://github.com/agronholm/sphinx-autodoc-typehints") > + (synopsis "Type hints support for the Sphinx autodoc extension") > + (description > + "This extension allows you to use Python 3 annotations for > +documenting acceptable argument types and return value types of > +functions.") > + (license license:expat))) > --=20 > 2.25.0 >=20 =C2=B9 https://github.com/agronholm/sphinx-autodoc-typehints/blob/1.10.3/se= tup.cfg --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --XuV1QlJbYrcVoo+x Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl5DrcgACgkQQarn3Mo9 g1HGexAAnHg/N0Wr/fBA30k2/HJ4f/Mr7Jd0pDi3H/j23wE69UBbGH2I17y4oBIe s1eq/J8rvncU7VXv2CZMYv2KMBBOlnfRxQ85c7iK1iHXKh3duhG+iFBW2LHmXaWD 47dJ5dtv+rO60zV9yRP44LTyweqPLMnbvxWeJjEJZg3q9fvkCdW+QbTzJ58WTMs0 uObXhcfSgMoQeMo4f4/2VFzmgL70DOcfS6GiInHug0I3SujlJ2Ok8wdVVWH7gBA+ 9bbQI+r0DvppJpcrQPJpv4RGGkinNap/Azh9RBzjjqQent/pSew7UFxXvJqVc5of 2ukomCYcECPXHWdGXf0V/85hUmuXAnc27gKOzHtlTuR5a0GxTtl2Afp4RD/Mt7Ve pKonCFQmiAyrbpwaPRqoaXfOmSPO/8Jf2kvv72YlSmqL+f2pCEezTxThfUg5Bsfk P7YY4q9P/bmbBpt174FouI/9TnQQ6cDQsJU2atcyWSBjS4Tv5HA+zq3BQ5aF0EA3 RN/ClbPrHAsgN9SXoILNiLKil4Spt6GFhSNHwiMNSJpQjnrziogN3QNhGCI5pa58 uErOtNuyNq6hEuQ6eNMwDfxUkcf7vcXGkAzm/IZ8oMBf7TUBydn64wezkM6Y2GE2 ZfJKaUxum/+sHJ2ikOgJd8tqb0F96d33ds9zrcewNfWXlncW/6M= =4Ld7 -----END PGP SIGNATURE----- --XuV1QlJbYrcVoo+x-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 12 09:28:21 2020 Received: (at 39572) by debbugs.gnu.org; 12 Feb 2020 14:28:21 +0000 Received: from localhost ([127.0.0.1]:57999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1szx-0001V9-Gt for submit@debbugs.gnu.org; Wed, 12 Feb 2020 09:28:21 -0500 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j1szv-0001V0-Mo for 39572@debbugs.gnu.org; Wed, 12 Feb 2020 09:28:16 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1581517694; cv=none; d=zohomail.com; s=zohoarc; b=lFzn2+AL6wUWMehRGMFl+G9qYeILQkiCHXlM9OpHpYzFoX0UJOdJu0Q6okIFBgqHZENexbQAR7ByYSor44Wwq1o6QW0DYcQWIEyZDfy2UsCslkJ7Vf7UShmMwwOmrDt2aVp7G0/JHiEdVh/0SBaKR9yzohNpJqNYp59lvkbG5b0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1581517694; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=u6VpQdLqC7yR6v/gSZ+5RLJ/q7sCYlBTYEExIFmGj70=; b=AUdUhO5DTOb/ypPNhHkiyVszFB7hVq26piOIy97VBX6Pigmhd/oImJoNZmdV7eqAVvFW6ZeNLh51wTWtxCKz72mssaUzlksH2Ch0CG5OLMJBwXEpZiNlp2nssjb/6Erq3ykAv9WPp6R/SCt0UtvL8ctTgDz800TOPh42Z0xVXF4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=TzQAkWv/NfwTRCyrKLDL1rDE0Rtm+K/IwJ6VfVZZ3vpwOy3657ziTkr8bOc0zUY1rJxExwMsblzY GY4bt/UG3kT6/R23Dr1iIOp98LdyQ4n5Nh6nIAodRKmjaFUXWPS3 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1581517694; s=zm2020; d=zoho.com; i=sirgazil@zoho.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=u6VpQdLqC7yR6v/gSZ+5RLJ/q7sCYlBTYEExIFmGj70=; b=TBYSBwR4tRdfqLgI90ffqFA53S98EgrCXioYllhHwtu16uNB9j6xzAjG20UCvZZc 1dT9ILvpynHHq5rHhn1Hg74aFeeizSkir8+IHxrWkTbdIx7GjfO7Buzpn/DawQ+4Z3x m5ncZyNZiPmwzbFwTyaYp8rhrsj2Mrkap+28PUuk= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1581517686803425.67913060427577; Wed, 12 Feb 2020 06:28:06 -0800 (PST) Received: from [179.15.13.185] by mail.zoho.com with HTTP;Wed, 12 Feb 2020 06:28:06 -0800 (PST) Date: Wed, 12 Feb 2020 09:28:06 -0500 From: sirgazil To: "Efraim Flashner" Message-ID: <17039ccc811.f87a728432739.1646525153556191072@zoho.com> In-Reply-To: <20200212074827.GE26092@E5400> References: <20200212001420.24513-1-sirgazil@zoho.com> <20200212074827.GE26092@E5400> Subject: Re: [bug#39572] [PATCH] gnu: Add python-sphinx-autodoc-typehints. MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39572 Cc: 39572 <39572@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ---- On Wed, 12 Feb 2020 02:48:27 -0500 Efraim Flashner wrote ---- > Overall the package looks good. I ran into an issue with the tests, > namely that they weren't run. (This is becoming a common issue with our > python packages as they change how the test suite is run) >=20 > On Tue, Feb 11, 2020 at 07:14:20PM -0500, sirgazil via Guix-patches via = wrote: > > * gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints): New varia= ble. > > --- > > gnu/packages/sphinx.scm | 25 +++++++++++++++++++++++++ > > 1 file changed, 25 insertions(+) > >=20 > > diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm > > index 4e4abccb04..41bde173c3 100644 > > --- a/gnu/packages/sphinx.scm > > +++ b/gnu/packages/sphinx.scm > > @@ -13,6 +13,7 @@ > > ;;; Copyright =C2=A9 2019 Nicolas Goaziou > > ;;; Copyright =C2=A9 2019 Alexandros Theodotou > > ;;; Copyright =C2=A9 2019 Brett Gilio > > +;;; Copyright =C2=A9 2020 sirgazil > > ;;; > > ;;; This file is part of GNU Guix. > > ;;; > > @@ -597,3 +598,27 @@ to be able to read and render the Doxygen xml out= put.") > > "A utility tool that provides several features that make it easy= to > > translate and to apply translation to Sphinx generated document.") > > (license license:bsd-2))) > > + > > +(define-public python-sphinx-autodoc-typehints > > + (package > > + (name "python-sphinx-autodoc-typehints") > > + (version "1.10.3") > > + (source > > + (origin > > + (method url-fetch) > > + (uri (pypi-uri "sphinx-autodoc-typehints" version)) > > + (sha256 > > + (base32 > > + "1w6zy3cyp24jsdi8dcynrinafw2a0k5vblqy9lncm6j7cw0iicx6")))) > > + (build-system python-build-system) >=20 > I added the following snippet here to run the tests: >=20 > (arguments > `(#:phases > (modify-phases %standard-phases > (replace 'check > (lambda _ > (invoke "pytest")))))) >=20 > And added python-pytest to the native-inputs but it turns out that > wasn't enough: >=20 > starting phase `check' > ImportError while loading conftest '/tmp/guix-build-python-sphinx-autodo= c-typehints-1.10.3.drv-0/sphinx-autodoc-typehints-1.10.3/tests/conftest.py'= . > tests/conftest.py:8: in > from sphobjinv import Inventory > E ModuleNotFoundError: No module named 'sphobjinv' > command "pytest" failed with status 4 >=20 > According to here=C2=B9 there are a couple of other dependencies that ar= e > needed to run the tests, including sphobjinv which isn't packaged yet. Oh, I read "extras_require" as "completely optional". I'll be more careful = with that. > > + (native-inputs > > + `(("python-setuptools-scm" ,python-setuptools-scm))) > > + (propagated-inputs > > + `(("python-sphinx" ,python-sphinx))) > > + (home-page "https://github.com/agronholm/sphinx-autodoc-typehints= ") > > + (synopsis "Type hints support for the Sphinx autodoc extension") > > + (description > > + "This extension allows you to use Python 3 annotations for > > +documenting acceptable argument types and return value types of > > +functions.") > > + (license license:expat))) > > --=20 > > 2.25.0 > >=20 >=20 > =C2=B9 https://github.com/agronholm/sphinx-autodoc-typehints/blob/1.10.3= /setup.cfg >=20 > --=20 > Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7= =9D =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 > GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > Confidentiality cannot be guaranteed on emails sent or received unencryp= ted >=20 Thank you very much for your review, Efraim. I'll check if I'm able to pack= age whatever is missing. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 20 17:39:49 2023 Received: (at 39572-done) by debbugs.gnu.org; 20 Jun 2023 21:39:49 +0000 Received: from localhost ([127.0.0.1]:60038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBj4m-0008Qq-Ta for submit@debbugs.gnu.org; Tue, 20 Jun 2023 17:39:49 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:44494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qBj4k-0008Qg-IR for 39572-done@debbugs.gnu.org; Tue, 20 Jun 2023 17:39:47 -0400 From: Jelle Licht DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fsfe.org; s=2021100501; t=1687297185; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wHuU+w2vdimV9wJ14PJyzPXxeq7aPqcGzYH9yZptG/Y=; b=eB+efc8+u5VpqG9RmME0+CfQxaDgve8K/8BR99EqQED/3d5wOUPzWbti9E3oT5sSUqgccb a1K1t5oWh1kH6GxzhzXi0XNfrr283tSh9F5g7FHeyP8tXbdrmTLfTLh+E1wxtt5ybjjc8M KfoUxQhqWibNgoeNlNunexb/2M+5NKw= To: 39572 <39572-done@debbugs.gnu.org> Subject: Re: bug#39572: [PATCH] gnu: Add python-sphinx-autodoc-typehints. In-Reply-To: <17039ccc811.f87a728432739.1646525153556191072@zoho.com> (sirgazil@zoho.com's message of "Wed, 12 Feb 2020 09:28:06 -0500") References: <20200212001420.24513-1-sirgazil@zoho.com> <20200212074827.GE26092@E5400> <17039ccc811.f87a728432739.1646525153556191072@zoho.com> Date: Tue, 20 Jun 2023 23:39:44 +0200 Message-ID: <87r0q56cf3.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39572-done Cc: sirgazil , Efraim Flashner X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) We now have python-sphinx-autodoc-typehints@1.18.3 available in guix master. Closing! - Jelle From unknown Sun Jun 22 07:59:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 19 Jul 2023 11:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator