unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/3] Update Flask & co
@ 2016-11-26 13:51 Danny Milosavljevic
  2016-11-26 13:51 ` [PATCH 1/3] gnu: python-simplejson: Update to 3.10.0 Danny Milosavljevic
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Danny Milosavljevic @ 2016-11-26 13:51 UTC (permalink / raw)
  To: guix-devel

Danny Milosavljevic (3):
  gnu: python-simplejson: Update to 3.10.0.
  gnu: python-pyopenssl: Update to 16.2.0.
  gnu: python-flask: Update to 0.11.1.

 gnu/packages/python.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

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

* [PATCH 1/3] gnu: python-simplejson: Update to 3.10.0.
  2016-11-26 13:51 [PATCH 0/3] Update Flask & co Danny Milosavljevic
@ 2016-11-26 13:51 ` Danny Milosavljevic
  2016-11-26 13:51 ` [PATCH 2/3] gnu: python-pyopenssl: Update to 16.2.0 Danny Milosavljevic
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Danny Milosavljevic @ 2016-11-26 13:51 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-simplejson): Update to 3.10.0.
---
 gnu/packages/python.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 83ef372..418a644 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -1181,14 +1181,14 @@ after Andy Lester’s Perl module WWW::Mechanize.")
 (define-public python-simplejson
   (package
     (name "python-simplejson")
-    (version "3.8.2")
+    (version "3.10.0")
     (source
      (origin
       (method url-fetch)
       (uri (pypi-uri "simplejson" version))
       (sha256
        (base32
-        "0zylrnax8b6r0ndgni4w9c599fi6wm9vx5g6k3ddqfj3932kk16m"))))
+        "1qhwsykjlb85igb4cfl6v6gkprzbbg8gyqdd7zscc8w3x0ifcfwm"))))
     (build-system python-build-system)
     (home-page "http://simplejson.readthedocs.org/en/latest/")
     (synopsis

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

* [PATCH 2/3] gnu: python-pyopenssl: Update to 16.2.0.
  2016-11-26 13:51 [PATCH 0/3] Update Flask & co Danny Milosavljevic
  2016-11-26 13:51 ` [PATCH 1/3] gnu: python-simplejson: Update to 3.10.0 Danny Milosavljevic
@ 2016-11-26 13:51 ` Danny Milosavljevic
  2016-11-26 13:51 ` [PATCH 3/3] gnu: python-flask: Update to 0.11.1 Danny Milosavljevic
  2016-11-26 13:55 ` [PATCH 0/3] Update Flask & co Ricardo Wurmus
  3 siblings, 0 replies; 8+ messages in thread
From: Danny Milosavljevic @ 2016-11-26 13:51 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-pyopenssl): Update to 16.2.0.
---
 gnu/packages/python.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 418a644..ad27934 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6723,14 +6723,14 @@ message digests and key derivation functions.")
 (define-public python-pyopenssl
   (package
     (name "python-pyopenssl")
-    (version "16.1.0")
+    (version "16.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pyOpenSSL" version))
        (sha256
         (base32
-         "0prm06zz7hl6bk5s2lqzw25lq6smayfv2fgiliw2rbqxlyiavxw8"))))
+         "0vji4yrfshs15xpczbhzhasnjrwcarsqg87n98ixnyafnyxs6ybp"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-cryptography" ,python-cryptography)

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

* [PATCH 3/3] gnu: python-flask: Update to 0.11.1.
  2016-11-26 13:51 [PATCH 0/3] Update Flask & co Danny Milosavljevic
  2016-11-26 13:51 ` [PATCH 1/3] gnu: python-simplejson: Update to 3.10.0 Danny Milosavljevic
  2016-11-26 13:51 ` [PATCH 2/3] gnu: python-pyopenssl: Update to 16.2.0 Danny Milosavljevic
@ 2016-11-26 13:51 ` Danny Milosavljevic
  2016-11-27  5:27   ` Leo Famulari
  2016-11-26 13:55 ` [PATCH 0/3] Update Flask & co Ricardo Wurmus
  3 siblings, 1 reply; 8+ messages in thread
From: Danny Milosavljevic @ 2016-11-26 13:51 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/python.scm (python-flask): Update to 0.11.1.
[native-inputs]: Add python-click.
---
 gnu/packages/python.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index ad27934..497da52 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9558,18 +9558,20 @@ useful for solving the Assignment Problem.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "0.10.1")
+    (version "0.11.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "0wrkavjdjndknhp8ya8j850jq7a1cli4g5a93mg8nh1xz2gq50sc"))))
+                "03kbfll4sj3v5z7r31c7bhfpi11r1np076d4p1k2kg4yzcmkywdl"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-itsdangerous" ,python-itsdangerous)
        ("python-jinja2" ,python-jinja2)
        ("python-werkzeug" ,python-werkzeug)))
+    (native-inputs
+     `(("python-click" ,python-click)))
     (home-page "https://github.com/mitsuhiko/flask/")
     (synopsis "Microframework based on Werkzeug, Jinja2 and good intentions")
     (description "Flask is a micro web framework based on the Werkzeug toolkit

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

* Re: [PATCH 0/3] Update Flask & co
  2016-11-26 13:51 [PATCH 0/3] Update Flask & co Danny Milosavljevic
                   ` (2 preceding siblings ...)
  2016-11-26 13:51 ` [PATCH 3/3] gnu: python-flask: Update to 0.11.1 Danny Milosavljevic
@ 2016-11-26 13:55 ` Ricardo Wurmus
  3 siblings, 0 replies; 8+ messages in thread
From: Ricardo Wurmus @ 2016-11-26 13:55 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel


Danny Milosavljevic <dannym@scratchpost.org> writes:

> Danny Milosavljevic (3):
>   gnu: python-simplejson: Update to 3.10.0.
>   gnu: python-pyopenssl: Update to 16.2.0.
>   gnu: python-flask: Update to 0.11.1.
>
>  gnu/packages/python.scm | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)

All three patches look good to me.  Thank you!

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
http://elephly.net

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

* Re: [PATCH 3/3] gnu: python-flask: Update to 0.11.1.
  2016-11-26 13:51 ` [PATCH 3/3] gnu: python-flask: Update to 0.11.1 Danny Milosavljevic
@ 2016-11-27  5:27   ` Leo Famulari
  2016-11-27 12:25     ` Marius Bakke
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Famulari @ 2016-11-27  5:27 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: guix-devel

On Sat, Nov 26, 2016 at 02:51:22PM +0100, Danny Milosavljevic wrote:
> * gnu/packages/python.scm (python-flask): Update to 0.11.1.
> [native-inputs]: Add python-click.

python2-flask can't find click:

starting phase `check'
running "python setup.py" with command "test" and parameters ()
running test
Searching for click>=2.0
Reading https://pypi.python.org/simple/click/
Download error on https://pypi.python.org/simple/click/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'click' (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 download links found for click>=2.0
error: Could not find suitable distribution for Requirement.parse('click>=2.0')
phase `check' failed after 0.2 seconds
builder for `/gnu/store/mrm59ipqv4kknmq1n2bm0dxfjcbggs08-python2-flask-0.11.1.drv' failed with exit code 1

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

* Re: [PATCH 3/3] gnu: python-flask: Update to 0.11.1.
  2016-11-27  5:27   ` Leo Famulari
@ 2016-11-27 12:25     ` Marius Bakke
  2016-11-27 15:24       ` Leo Famulari
  0 siblings, 1 reply; 8+ messages in thread
From: Marius Bakke @ 2016-11-27 12:25 UTC (permalink / raw)
  To: Leo Famulari, Danny Milosavljevic; +Cc: guix-devel

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

Leo Famulari <leo@famulari.name> writes:

> On Sat, Nov 26, 2016 at 02:51:22PM +0100, Danny Milosavljevic wrote:
>> * gnu/packages/python.scm (python-flask): Update to 0.11.1.
>> [native-inputs]: Add python-click.
>
> python2-flask can't find click:
>
> starting phase `check'
> running "python setup.py" with command "test" and parameters ()
> running test
> Searching for click>=2.0
> Reading https://pypi.python.org/simple/click/
> Download error on https://pypi.python.org/simple/click/: [Errno -2] Name or service not known -- Some packages may not be found!
> Couldn't find index page for 'click' (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 download links found for click>=2.0
> error: Could not find suitable distribution for Requirement.parse('click>=2.0')
> phase `check' failed after 0.2 seconds
> builder for `/gnu/store/mrm59ipqv4kknmq1n2bm0dxfjcbggs08-python2-flask-0.11.1.drv' failed with exit code 1

I picked Dannys latest commit which fixed this.

However it does seem to skip the tests entirely:

starting phase `check'
running "python setup.py" with command "test" and parameters ()
running test
phase `check' succeeded after 0.1 seconds

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* Re: [PATCH 3/3] gnu: python-flask: Update to 0.11.1.
  2016-11-27 12:25     ` Marius Bakke
@ 2016-11-27 15:24       ` Leo Famulari
  0 siblings, 0 replies; 8+ messages in thread
From: Leo Famulari @ 2016-11-27 15:24 UTC (permalink / raw)
  To: Marius Bakke; +Cc: guix-devel

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

On Sun, Nov 27, 2016 at 01:25:25PM +0100, Marius Bakke wrote:
> Leo Famulari <leo@famulari.name> writes:
> > error: Could not find suitable distribution for Requirement.parse('click>=2.0')
> > phase `check' failed after 0.2 seconds
> > builder for `/gnu/store/mrm59ipqv4kknmq1n2bm0dxfjcbggs08-python2-flask-0.11.1.drv' failed with exit code 1
> 
> I picked Dannys latest commit which fixed this.

Thanks!

> However it does seem to skip the tests entirely:
> 
> starting phase `check'
> running "python setup.py" with command "test" and parameters ()
> running test
> phase `check' succeeded after 0.1 seconds

I guess it must be doing *something* if it was looking for click and
failing previously.

But, I think this is similar to the issue whereby many test suites were
silently skipped with Python 3.4. We could try invoking them manually.
At least, it looks the same in the build log.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2016-11-27 15:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-26 13:51 [PATCH 0/3] Update Flask & co Danny Milosavljevic
2016-11-26 13:51 ` [PATCH 1/3] gnu: python-simplejson: Update to 3.10.0 Danny Milosavljevic
2016-11-26 13:51 ` [PATCH 2/3] gnu: python-pyopenssl: Update to 16.2.0 Danny Milosavljevic
2016-11-26 13:51 ` [PATCH 3/3] gnu: python-flask: Update to 0.11.1 Danny Milosavljevic
2016-11-27  5:27   ` Leo Famulari
2016-11-27 12:25     ` Marius Bakke
2016-11-27 15:24       ` Leo Famulari
2016-11-26 13:55 ` [PATCH 0/3] Update Flask & co Ricardo Wurmus

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