all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#40846] [PATCH] gnu: Bump python-webob and python-pastedeploy versions
@ 2020-04-25  7:58 Holger Peters
  2020-04-25 20:43 ` bug#40846: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Holger Peters @ 2020-04-25  7:58 UTC (permalink / raw)
  To: 40846

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

Attached are two patches bumping the version of two python web packages. pastedeploy changed their test runner from nose to pytest so the patch reflects that change.

FYI This is my first contribution to guix, so I advise extra care when applying these patches to be on the safe side :)







[-- Attachment #2: 0002-gnu-python-pastedeploy-Update-to-1.8.3.patch --]
[-- Type: application/octet-stream, Size: 1505 bytes --]

From 1a58918030197dd4f942e78cfe346dc8add67c23 Mon Sep 17 00:00:00 2001
From: Holger Peters <holger.peters@posteo.de>
Date: Fri, 24 Apr 2020 20:38:24 +0200
Subject: [PATCH 2/2] gnu: python-pastedeploy: Update to 1.8.3

* gnu/packages/python-web.scm (python-pastedeploy): Update to 1.7:
  Tests are now run via pytest
---
 gnu/packages/python-web.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2142b6235f..ed37f41c71 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1717,17 +1717,19 @@ and to spawn subprocesses to handle requests.")
 (define-public python-pastedeploy
   (package
     (name "python-pastedeploy")
-    (version "1.5.2")
+    (version "2.1.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "PasteDeploy" version))
        (sha256
-        (base32
-         "1jz3m4hq8v6hyhfjz9425nd3nvn52cvbfipdcd72krjmla4qz1fm"))))
+         (base32
+           "16qsq5y6mryslmbp5pn35x4z8z3ndp5rpgl42h226879nrw9hmg7"))))
     (build-system python-build-system)
+    (arguments '(#:test-target "pytest"))
     (native-inputs
-     `(("python-nose" ,python-nose)))
+      `(("python-pytest-runner" ,python-pytest-runner)
+        ("python-pytest" ,python-pytest)))
     (home-page "https://pylonsproject.org/")
     (synopsis
      "Load, configure, and compose WSGI applications and servers")
-- 
2.26.2


[-- Attachment #3: 0001-gnu-python-webob-Update-to-1.8.3.patch --]
[-- Type: application/octet-stream, Size: 1105 bytes --]

From 5e892cb63c76e7bd2fd8c51da91127536043c333 Mon Sep 17 00:00:00 2001
From: Holger Peters <holger.peters@posteo.de>
Date: Fri, 24 Apr 2020 20:35:18 +0200
Subject: [PATCH 1/2] gnu: python-webob: Update to 1.8.3

* gnu/packages/python-web.scm (python-webob): Update to 1.7.
---
 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 1d99239dbb..2142b6235f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -968,14 +968,14 @@ your Web app.")
 (define-public python-webob
   (package
     (name "python-webob")
-    (version "1.5.1")
+    (version "1.8.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "WebOb" version))
        (sha256
         (base32
-         "02bhhzijfhv8hmi1i54d4b0v43liwhnywhflvxsv4x3zax9s3afq"))))
+          "1cpqskanmvwia8wqlpcr3ykyxysynjdnbl5namvpg8vw6jnkv1dh"))))
     (build-system python-build-system)
     (native-inputs
       `(("python-nose" ,python-nose)))
-- 
2.26.2


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

* bug#40846: [PATCH] gnu: Bump python-webob and python-pastedeploy versions
  2020-04-25  7:58 [bug#40846] [PATCH] gnu: Bump python-webob and python-pastedeploy versions Holger Peters
@ 2020-04-25 20:43 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-04-25 20:43 UTC (permalink / raw)
  To: Holger Peters; +Cc: 40846-done

Hello,

Holger Peters <holger.peters@posteo.de> writes:

> Attached are two patches bumping the version of two python web
> packages. pastedeploy changed their test runner from nose to pytest so
> the patch reflects that change.

Thank you!

I fixed a bit the indentation in the first patch, re-ordered native
inputs, fixed the odd numbering in the commit messages, and pushed them.

I also added a copyright line for you.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2020-04-25 20:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-25  7:58 [bug#40846] [PATCH] gnu: Bump python-webob and python-pastedeploy versions Holger Peters
2020-04-25 20:43 ` bug#40846: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.