GNU bug report logs - #31282
[PATCH 1/2] gnu: Add python-parso.

Previous Next

Package: guix-patches;

Reported by: Fis Trivial <ybbs.daans <at> hotmail.com>

Date: Fri, 27 Apr 2018 06:59:02 UTC

Severity: normal

Tags: fixed, patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31282 in the body.
You can then email your comments to 31282 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#31282; Package guix-patches. (Fri, 27 Apr 2018 06:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Fis Trivial <ybbs.daans <at> hotmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 27 Apr 2018 06:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH 1/2] gnu: Add python-parso.
Date: Fri, 27 Apr 2018 06:58:04 +0000
* gnu/packages/python.scm (python-parso, python2-parso): New variables.
---
 gnu/packages/python.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index a5d533b1c..e4d9e9baa 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13145,3 +13145,28 @@ in Python.  You can simply type pybtex instead of bibtex.")
     (description "Python one-time password library for HMAC-based (HOTP) and
 time-based (TOTP) passwords.")
     (license license:expat)))
+
+(define-public python-parso
+  (package
+    (name "python-parso")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "parso" version))
+       (sha256
+        (base32
+         "0lamywk6dm5xshlkdvxxf5j6fa2k2zpi7xagf0bwidaay3vnpgb2"))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (build-system python-build-system)
+    (home-page
+     "https://github.com/davidhalter/parso")
+    (synopsis "Python Parser")
+    (description "Parso is a Python parser that supports error recovery and
+round-trip parsing for different Python versions (in multiple Python versions).
+Parso is also able to list multiple syntax errors in your python file.")
+    (license license:expat)))
+
+(define-public python2-parso
+  (package-with-python2 python-parso))
-- 
2.14.3





Information forwarded to guix-patches <at> gnu.org:
bug#31282; Package guix-patches. (Fri, 27 Apr 2018 07:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 31282 <at> debbugs.gnu.org (full text, mbox):

From: Fis Trivial <ybbs.daans <at> hotmail.com>
To: "31282 <at> debbugs.gnu.org" <31282 <at> debbugs.gnu.org>
Subject: [PATCH 2/2] gnu: python-jedi: Update to 0.12.0, enable tests.
Date: Fri, 27 Apr 2018 07:03:24 +0000
* gnu/packages/python.scm (jedi): Update to 0.12.0, enable tests.
---
 gnu/packages/python.scm | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e4d9e9baa..05ffb9f0d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9357,25 +9357,30 @@ characters, mouse support, and auto suggestions.")
 (define-public python-jedi
   (package
     (name "python-jedi")
-    (version "0.9.0")
+    (version "0.12.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "jedi" version))
-        (sha256
-          (base32
-            "0c8x962ynpx001fdvp07m2q5jk4igkxbj3rmnydavphvlgxijk1v"))))
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jedi" version))
+       (sha256
+        (base32
+         "1bcr7csx4xil1iwmk03d79jis0bkmgi9k0kir3xa4rmwqsagcwhr"))))
     (build-system python-build-system)
     (arguments
-     ;; FIXME: One test fails (use "py.test" instead of 'setup.py test').
-     '(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check (lambda _
+                           (invoke "py.test" "-vv"))))))
     (native-inputs
-     `(("python-pytest" ,python-pytest)))
+     `(("python-pytest" ,python-pytest)
+       ("python-parso" ,python-parso)
+       ("python-docopt" ,python-docopt)))
     (home-page "https://github.com/davidhalter/jedi")
     (synopsis
-      "Autocompletion for Python that can be used for text editors")
+     "Autocompletion for Python that can be used for text editors")
     (description
-      "Jedi is an autocompletion tool for Python that can be used for text editors.")
+     "Jedi is an autocompletion tool for Python that can be used for text
+ editors.")
     (license license:expat)))
 
 (define-public python2-jedi
-- 
2.14.3





Information forwarded to guix-patches <at> gnu.org:
bug#31282; Package guix-patches. (Mon, 30 Apr 2018 12:35:02 GMT) Full text and rfc822 format available.

Message #11 received at 31282 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: 31282 <at> debbugs.gnu.org
Subject: Re: [bug#31282] [PATCH 1/2] gnu: Add python-parso.
Date: Mon, 30 Apr 2018 14:34:31 +0200
[Message part 1 (text/plain, inline)]
Fis Trivial <ybbs.daans <at> hotmail.com> skribis:

> * gnu/packages/python.scm (python-parso, python2-parso): New variables.

Applied with the changes below, thanks!

Ludo'.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7fe27bd17..f23deb57e 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -13160,12 +13160,11 @@ time-based (TOTP) passwords.")
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (build-system python-build-system)
-    (home-page
-     "https://github.com/davidhalter/parso")
+    (home-page "https://github.com/davidhalter/parso")
     (synopsis "Python Parser")
     (description "Parso is a Python parser that supports error recovery and
 round-trip parsing for different Python versions (in multiple Python versions).
-Parso is also able to list multiple syntax errors in your python file.")
+Parso is also able to list multiple syntax errors in your Python file.")
     (license license:expat)))
 
 (define-public python2-parso

Information forwarded to guix-patches <at> gnu.org:
bug#31282; Package guix-patches. (Mon, 30 Apr 2018 12:38:02 GMT) Full text and rfc822 format available.

Message #14 received at 31282 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: "31282-done <at> debbugs.gnu.org" <31282 <at> debbugs.gnu.org>
Subject: Re: [bug#31282] [PATCH 2/2] gnu: python-jedi: Update to 0.12.0,
 enable tests.
Date: Mon, 30 Apr 2018 14:37:11 +0200
Fis Trivial <ybbs.daans <at> hotmail.com> skribis:

> * gnu/packages/python.scm (jedi): Update to 0.12.0, enable tests.

Applied, thanks!

Ludo'.




Added tag(s) fixed. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Sat, 05 May 2018 20:27:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 31282 <at> debbugs.gnu.org and Fis Trivial <ybbs.daans <at> hotmail.com> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Sat, 05 May 2018 20:27:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Jun 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.