GNU bug report logs - #35950
[PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1.

Previous Next

Package: guix-patches;

Reported by: "h.nasajpour" <h.nasajpour <at> pantherx.org>

Date: Tue, 28 May 2019 14:42:08 UTC

Severity: normal

Tags: patch

Done: Brett Gilio <brettg <at> posteo.net>

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 35950 in the body.
You can then email your comments to 35950 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#35950; Package guix-patches. (Tue, 28 May 2019 14:42:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to "h.nasajpour" <h.nasajpour <at> pantherx.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 28 May 2019 14:42:09 GMT) Full text and rfc822 format available.

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

From: "h.nasajpour" <h.nasajpour <at> pantherx.org>
To: guix-patches <at> gnu.org
Cc: "h.nasajpour" <h.nasajpour <at> pantherx.org>
Subject: [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1.
Date: Tue, 28 May 2019 15:27:22 +0430
* gnu/packages/python-web.scm (python-flask-restful): Update to 0.12.1.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f962ae381f..79f4ec3565 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2098,14 +2098,14 @@ pretty printer and a tree visitor.")
 (define-public python-flask-restful
   (package
     (name "python-flask-restful")
-    (version "0.3.7")
+    (version "0.12.1")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "Flask-RESTful" version))
         (sha256
          (base32
-          "1a9cbwkr6krryyzq4sd3f415nkkc6dyfls5i3pgyibs94g0hw97q"))))
+          "0qmb5sfijl4h9jw43zx4qm8sff7l0dhbig4a0wyc3pwi3mz6kb9z"))))
     (build-system python-build-system)
     (propagated-inputs
       `(("python-aniso8601" ,python-aniso8601)
-- 
2.21.0





Information forwarded to guix-patches <at> gnu.org:
bug#35950; Package guix-patches. (Tue, 28 May 2019 19:34:01 GMT) Full text and rfc822 format available.

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

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: "h.nasajpour" <h.nasajpour <at> pantherx.org>
Cc: 35950 <at> debbugs.gnu.org
Subject: Re: [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to
 0.12.1.
Date: Tue, 28 May 2019 21:32:59 +0200
[Message part 1 (text/plain, inline)]
It doesn't actually build for me.

I made the following changes, but it still doesn't build.  Did it build for you?

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6518d841c8..adb18cc7d0 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2110,6 +2110,7 @@ pretty printer and a tree visitor.")
     (propagated-inputs
       `(("python-aniso8601" ,python-aniso8601)
         ("python-flask" ,python-flask)
+        ("python-jsonschema" ,python-jsonschema)
         ("python-pycrypto" ,python-pycrypto)
         ("python-pytz" ,python-pytz)))
     (native-inputs
@@ -2117,7 +2118,9 @@ pretty printer and a tree visitor.")
         ("python-blinker" ,python-blinker)
         ("python-mock" ,python-mock) ; For tests
         ("python-nose" ,python-nose) ; For tests
-        ("python-sphinx" ,python-sphinx)))
+        ("python-pytest-sugar" ,python-pytest-sugar) ; For tests
+        ("python-sphinx" ,python-sphinx)
+        ("python-tzlocal" ,python-tzlocal))) ; For tests
     (home-page
       "https://www.github.com/flask-restful/flask-restful/")
     (synopsis
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#35950; Package guix-patches. (Fri, 31 May 2019 19:08:02 GMT) Full text and rfc822 format available.

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

From: "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>
To: "Danny Milosavljevic" <dannym <at> scratchpost.org>
Cc: 35950 <at> debbugs.gnu.org
Subject: Re: [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1.
Date: Fri, 31 May 2019 23:37:44 +0430
Yes, it built for me.

On Wed, May 29, 2019, at 12:03 AM, Danny Milosavljevic wrote:
> It doesn't actually build for me.
> 
> I made the following changes, but it still doesn't build.  Did it build for you?
> 
> diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
> index 6518d841c8..adb18cc7d0 100644
> --- a/gnu/packages/python-web.scm
> +++ b/gnu/packages/python-web.scm
> @@ -2110,6 +2110,7 @@ pretty printer and a tree visitor.")
>      (propagated-inputs
>        `(("python-aniso8601" ,python-aniso8601)
>          ("python-flask" ,python-flask)
> +        ("python-jsonschema" ,python-jsonschema)
>          ("python-pycrypto" ,python-pycrypto)
>          ("python-pytz" ,python-pytz)))
>      (native-inputs
> @@ -2117,7 +2118,9 @@ pretty printer and a tree visitor.")
>          ("python-blinker" ,python-blinker)
>          ("python-mock" ,python-mock) ; For tests
>          ("python-nose" ,python-nose) ; For tests
> -        ("python-sphinx" ,python-sphinx)))
> +        ("python-pytest-sugar" ,python-pytest-sugar) ; For tests
> +        ("python-sphinx" ,python-sphinx)
> +        ("python-tzlocal" ,python-tzlocal))) ; For tests
>      (home-page
>        "https://www.github.com/flask-restful/flask-restful/")
>      (synopsis
>




Information forwarded to guix-patches <at> gnu.org:
bug#35950; Package guix-patches. (Thu, 13 Jun 2019 08:41:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 35950 <at> debbugs.gnu.org
Subject: Re: [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to
 0.12.1.
Date: Thu, 13 Jun 2019 10:40:02 +0200
Hi Hamzeh,

The initial patch fails for me as well on
76533c52c06de4823738b32e450a1a06522018d1:

--8<---------------cut here---------------start------------->8---
building /gnu/store/p7f17fczgwqav50r7fz5rd13z011rrm0-python-flask-restful-0.12.1.drv...

[…]

starting phase `check'
running "python setup.py" with command "test" and parameters ()
running test
Searching for jsonschema
Reading https://pypi.python.org/simple/jsonschema/
Download error on https://pypi.python.org/simple/jsonschema/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'jsonschema' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or working download links found for jsonschema
error: Could not find suitable distribution for Requirement.parse('jsonschema')
--8<---------------cut here---------------end--------------->8---

This confirms that we at least need ‘python-jsonschema’ as an extra
dependency, as Danny’s patch does.

Could you investigate and submit an updated patch?

Thank you,
Ludo’.




Reply sent to Brett Gilio <brettg <at> posteo.net>:
You have taken responsibility. (Tue, 10 Dec 2019 06:31:01 GMT) Full text and rfc822 format available.

Notification sent to "h.nasajpour" <h.nasajpour <at> pantherx.org>:
bug acknowledged by developer. (Tue, 10 Dec 2019 06:31:01 GMT) Full text and rfc822 format available.

Message #19 received at 35950-done <at> debbugs.gnu.org (full text, mbox):

From: Brett Gilio <brettg <at> posteo.net>
To: "h.nasajpour" <h.nasajpour <at> pantherx.org>
Cc: 35950-done <at> debbugs.gnu.org
Subject: Re: [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to
 0.12.1.
Date: Tue, 10 Dec 2019 00:29:55 -0600
"h.nasajpour" <h.nasajpour <at> pantherx.org> writes:

> * gnu/packages/python-web.scm (python-flask-restful): Update to 0.12.1.
> ---
>  gnu/packages/python-web.scm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
> index f962ae381f..79f4ec3565 100644
> --- a/gnu/packages/python-web.scm
> +++ b/gnu/packages/python-web.scm
> @@ -2098,14 +2098,14 @@ pretty printer and a tree visitor.")
>  (define-public python-flask-restful
>    (package
>      (name "python-flask-restful")
> -    (version "0.3.7")
> +    (version "0.12.1")
>      (source
>        (origin
>          (method url-fetch)
>          (uri (pypi-uri "Flask-RESTful" version))
>          (sha256
>           (base32
> -          "1a9cbwkr6krryyzq4sd3f415nkkc6dyfls5i3pgyibs94g0hw97q"))))
> +          "0qmb5sfijl4h9jw43zx4qm8sff7l0dhbig4a0wyc3pwi3mz6kb9z"))))
>      (build-system python-build-system)
>      (propagated-inputs
>        `(("python-aniso8601" ,python-aniso8601)

Failing builds aside, I am not sure about the versioning. Pypi shows me
that Flask-RESTful is still tracking 0.3.7. If this is wrong we can
reopen this bug report, but until then I am closing it.

-- 
Brett M. Gilio
Homepage -- https://scm.pw/
GNU Guix -- https://guix.gnu.org/




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 07 Jan 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 109 days ago.

Previous Next


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