From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YLEwBNrijWEgUQEAgWs5BA (envelope-from ) for ; Fri, 12 Nov 2021 04:43:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id eIGOO9nijWExIwAA1q6Kng (envelope-from ) for ; Fri, 12 Nov 2021 03:43:21 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 990F4C76C for ; Fri, 12 Nov 2021 04:43:21 +0100 (CET) Received: from localhost ([::1]:43726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlNTE-0001oi-6V for larch@yhetil.org; Thu, 11 Nov 2021 22:43:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlNSw-0001oZ-NH for guix-patches@gnu.org; Thu, 11 Nov 2021 22:43:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mlNSw-0008FU-ED for guix-patches@gnu.org; Thu, 11 Nov 2021 22:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mlNSw-0001tL-6o for guix-patches@gnu.org; Thu, 11 Nov 2021 22:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#48842] [PATCH 6/6] gnu: Add python-myst-parser. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Nov 2021 03:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48842 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , 48842@debbugs.gnu.org Received: via spool by 48842-submit@debbugs.gnu.org id=B48842.16366885407218 (code B ref 48842); Fri, 12 Nov 2021 03:43:02 +0000 Received: (at 48842) by debbugs.gnu.org; 12 Nov 2021 03:42:20 +0000 Received: from localhost ([127.0.0.1]:42819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlNSG-0001sL-9Z for submit@debbugs.gnu.org; Thu, 11 Nov 2021 22:42:20 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mlNSE-0001s5-8B for 48842@debbugs.gnu.org; Thu, 11 Nov 2021 22:42:19 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1DE44240026 for <48842@debbugs.gnu.org>; Fri, 12 Nov 2021 04:42:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636688532; bh=OdB4aAdj//VwYfN7RHPmk575jnNmydFRy1X7UbcHVZg=; h=Subject:From:To:Date:From; b=bnZjOrVBx1C/ThiyaCozsaYXLiELR6x7IvKYk/qp1MRQLWWz1UFTpvuKPtJa8CdaQ 4L4p+azu3hfjPC76QHbmzclMq4kto8SDXlrN+nFJKDRLipnBFn738RZpZrAU354ayP vpPRy2NcUyRzlo2SiY8HY0+wXIdsWaaadx++fXwbdSGcbJRg2zoNnPxRMiOWETJ2vd YmPbj1aTr7JTWdiqTPoZMVVoReF64H+vtEy3laALy0FwVt0cQvd/8J2w3h6Aj75UU8 MipVR15c9RSIFHyy9shuEIcd/pnNJG/kRlk+bbIs+CiTKEwONEf+WutRTZ1phUkQa1 lPRBSQLUkhwOw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Hr4CP4Vqqz6tn4; Fri, 12 Nov 2021 04:42:08 +0100 (CET) Message-ID: <713d52030894e7ce699793184b2039315f8b20d4.camel@posteo.net> From: Vinicius Monego Date: Fri, 12 Nov 2021 03:42:01 +0000 In-Reply-To: <87r1hg8mar.fsf@yoctocell.xyz> References: <20210605014655.18459-1-monego@posteo.net> <20210605014655.18459-6-monego@posteo.net> <87r1hg8mar.fsf@yoctocell.xyz> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636688601; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+1OWZS09KEfizjwwsz1TBsgjUrxdu7Y0fBqdw213560=; b=Eo9fI4ppgNnEnQe6q7UbdIukhGBU94R34R59K0FZPSKf5LyimmJa/BdSRxMEEplXbXyTb8 7GTDf3RKTbZyIM98j40IQ8jjNZdFgPlXh4GmHrpR/BCMSodYjr3LBZ9lOxRqJ9dhQXUjPW D3mIl10PuuNLYuaOwqrlOcDFHTtsQkmP9lkw7UGidjw2sGYrr8g3bH9mdEiJ0a/zXI2psd 6v0bnPBBiwKVxQ6jDghYgKwJ9B5TjoB6GlUiO0PGuV5KZu7UN37Obgwyz7P7ZeCoM9PyZs 6CLsn08WZ2rRlDtTUhZarz/fqqkmi55ntqAfLPrB/VSmBY4vxH1/R8qypYDwpQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636688601; a=rsa-sha256; cv=none; b=iLT4WmlaFyqKwRNGefcJwJS2hKGTHeti5C7Jaj3XfGFgGXR+rn48yOn+OnRwKsIEyDfDg0 i4YJP0T8nfomtUeslYr49En9EIFwbhaGncWCvJ5ZwuYH5CGTIeEQJNT/PFZoyqhszh6rsd jFQHw58ht6dW1w1l66NBAzQ9b+3btFwx1UXwGlhNU+F85TK+SYEsZxx0j/HT+fx0FB7Vl0 TBOrNF8MOm4+wa/elA7gjyt2VNHiy/Cl8Lq2PTacHQuoYQ8pCvcZxck9rTiM0YLUuveTem +cRczYrwR4ySfMv++MVpmntMaxv4sbuq7O2ku42jDEKpfIaCBRfdIj+VdKiXTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=bnZjOrVB; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.93 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=bnZjOrVB; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 990F4C76C X-Spam-Score: -1.93 X-Migadu-Scanner: scn1.migadu.com X-TUID: rlGtEO+5l4Ts Hi, Em sáb, 2021-06-05 às 15:37 +0200, Xinglu Chen escreveu: > On Sat, Jun 05 2021, Vinicius Monego wrote: > > > * gnu/packages/sphinx.scm (python-myst-parser): New variable. > > --- > >  gnu/packages/sphinx.scm | 53 > > +++++++++++++++++++++++++++++++++++++++++ > >  1 file changed, 53 insertions(+) > > > > diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm > > index 14bc3f5a79..7ec0afae8b 100644 > > --- a/gnu/packages/sphinx.scm > > +++ b/gnu/packages/sphinx.scm > > @@ -44,6 +44,7 @@ > >    #:use-module (gnu packages image) > >    #:use-module (gnu packages imagemagick) > >    #:use-module (gnu packages python-build) > > +  #:use-module (gnu packages python-check) > >    #:use-module (gnu packages python-crypto) > >    #:use-module (gnu packages python-web) > >    #:use-module (gnu packages python-xyz) > > @@ -603,6 +604,58 @@ and several other projects.") > >  (define-public python2-sphinx-rtd-theme > >    (package-with-python2 python-sphinx-rtd-theme)) > >   > > +(define-public python-myst-parser > > +  (package > > +    (name "python-myst-parser") > > +    (version "0.14.0") > > +    (source > > +     (origin > > +       ;; There are no tests in the PyPI tarball. > > +       (method git-fetch) > > +       (uri (git-reference > > +             (url > > "https://github.com/executablebooks/myst-parser") > > +             (commit (string-append "v" version)))) > > +       (file-name (git-file-name name version)) > > +       (sha256 > > +        (base32 > > "0s5lmhj1rb94na646klivzvzzhzpy03m5q9ixif9vg14yin3gm7s")))) > > +    (build-system python-build-system) > > +    (arguments > > +     `(#:phases > > +       (modify-phases %standard-phases > > +         (replace 'check > > +           (lambda* (#:key inputs outputs tests? #:allow-other- > > keys) > > +             (when tests? > > +               (add-installed-pythonpath inputs outputs) > > +               (invoke "python" "-m" "pytest" > > +                       ;; Tests fail with AssertionErrors like > > these: > > +                       ;; E -  
> > +                       ;; E +  
> > +                       "--ignore" > > "tests/test_sphinx/test_sphinx_builds.py" > > +                       ;; E -     > > +                       ;; E +     > > +                       "-k" "not test_sphinx_directives"))))))) > > Maybe this is because our ‘python-sphinx’ package is outdated?  Just > a > guess. > A very late thanks for the review. After updating to version 0.15.2 in v3 the tests are running fine, so I guess the problem was in upstream. > > +    (propagated-inputs > > +     `(("python-docutils" ,python-docutils) > > +       ("python-jinja2" ,python-jinja2) > > +       ("python-markdown-it-py" ,python-markdown-it-py) > > +       ("python-mdit-py-plugins" > > +        ,python-mdit-py-plugins) > > +       ("python-pyyaml" ,python-pyyaml) > > +       ("python-sphinx" ,python-sphinx))) > > +    (native-inputs > > +     `(("python-beautifulsoup4" ,python-beautifulsoup4) > > +       ("python-coverage" ,python-coverage) > > +       ("python-pytest" ,python-pytest) > > +       ("python-pytest-cov" ,python-pytest-cov) > > +       ("python-pytest-regressions" > > +        ,python-pytest-regressions))) > > +    (home-page "https://github.com/executablebooks/MyST-Parser") > > +    (synopsis "Extended commonmark compliant parser") > > +    (description > > +     "An extended commonmark compliant parser, with bridges to > > docutils and > > +Sphinx.") > > Full sentence.  :) > I added full sentences in the series and removed the first 2 patches in v3 because these were merged in another commit. Thanks again! > Builds fine for me!