unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1.
@ 2019-05-28 10:57 h.nasajpour
  2019-05-28 19:32 ` Danny Milosavljevic
  2019-12-10  6:29 ` bug#35950: " Brett Gilio
  0 siblings, 2 replies; 5+ messages in thread
From: h.nasajpour @ 2019-05-28 10:57 UTC (permalink / raw)
  To: 35950; +Cc: h.nasajpour

* 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1.
  2019-05-28 10:57 [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1 h.nasajpour
@ 2019-05-28 19:32 ` Danny Milosavljevic
  2019-05-31 19:07   ` Hamzeh Nasajpour
  2019-12-10  6:29 ` bug#35950: " Brett Gilio
  1 sibling, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2019-05-28 19:32 UTC (permalink / raw)
  To: h.nasajpour; +Cc: 35950

[-- Attachment #1: Type: text/plain, Size: 1152 bytes --]

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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1.
  2019-05-28 19:32 ` Danny Milosavljevic
@ 2019-05-31 19:07   ` Hamzeh Nasajpour
  2019-06-13  8:40     ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Hamzeh Nasajpour @ 2019-05-31 19:07 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 35950

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
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1.
  2019-05-31 19:07   ` Hamzeh Nasajpour
@ 2019-06-13  8:40     ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-06-13  8:40 UTC (permalink / raw)
  To: Hamzeh Nasajpour; +Cc: 35950

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’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#35950: [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1.
  2019-05-28 10:57 [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1 h.nasajpour
  2019-05-28 19:32 ` Danny Milosavljevic
@ 2019-12-10  6:29 ` Brett Gilio
  1 sibling, 0 replies; 5+ messages in thread
From: Brett Gilio @ 2019-12-10  6:29 UTC (permalink / raw)
  To: h.nasajpour; +Cc: 35950-done

"h.nasajpour" <h.nasajpour@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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-12-10  6:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-28 10:57 [bug#35950] [PATCH 2/3] gnu: python-flask-restful: Update to 0.12.1 h.nasajpour
2019-05-28 19:32 ` Danny Milosavljevic
2019-05-31 19:07   ` Hamzeh Nasajpour
2019-06-13  8:40     ` Ludovic Courtès
2019-12-10  6:29 ` bug#35950: " Brett Gilio

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).