* [bug#46921] [PATCHES] Update python-sanic and dependencies
@ 2021-03-04 14:15 Lars-Dominik Braun
[not found] ` <handler.46921.B.161486735722340.ack@debbugs.gnu.org>
0 siblings, 1 reply; 2+ messages in thread
From: Lars-Dominik Braun @ 2021-03-04 14:15 UTC (permalink / raw)
To: 46921
[-- Attachment #1.1: Type: text/plain, Size: 414 bytes --]
Hi,
attached patches update python-sanic to version 20.12.2, as
well as some of its dependencies, which cause few rebuilds.
Cheers,
Lars
--
Lars-Dominik Braun
Wissenschaftlicher Mitarbeiter/Research Associate
www.leibniz-psychology.org
ZPID - Leibniz-Institut für Psychologie /
ZPID - Leibniz Institute for Psychology
Universitätsring 15
D-54296 Trier - Germany
Tel.: +49–651–201-4964
[-- Attachment #1.2: 0001-gnu-python-ujson-Update-to-4.0.2.patch --]
[-- Type: text/x-diff, Size: 1163 bytes --]
From b83137f57b9d75f02ba1e8899b864ccefc2f7e4b Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Date: Thu, 4 Mar 2021 14:45:26 +0100
Subject: [PATCH 1/4] gnu: python-ujson: Update to 4.0.2.
* gnu/packages/python-xyz.scm (python-ujson): Update to 4.0.2.
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0b981be7c1..0baa69afa6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21101,14 +21101,14 @@ register custom encoders and decoders.")
(define-public python-ujson
(package
(name "python-ujson")
- (version "4.0.1")
+ (version "4.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ujson" version))
(sha256
(base32
- "1lr9lbm76y3ah1463jggwg2hjcb709mpns5f752wxxbgnd0n5kr6"))
+ "0k9w0kypy7vlskzzp2vsjswaw8lbqdrplzkbflxki9vqwglsj5f6"))
(modules '((guix build utils)))
(snippet
'(begin (delete-file-recursively "deps") #t))))
--
2.25.1
[-- Attachment #1.3: 0002-gnu-python-aiofiles-Update-to-0.6.0.patch --]
[-- Type: text/x-diff, Size: 1184 bytes --]
From c4cbcf311eb9ceb72516dd5c8a3e089eca835898 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Date: Thu, 4 Mar 2021 14:46:25 +0100
Subject: [PATCH 2/4] gnu: python-aiofiles: Update to 0.6.0.
* gnu/packages/python-xyz.scm (python-aiofiles): Update to 0.6.0.
---
gnu/packages/python-xyz.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0baa69afa6..9123dedd47 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23586,14 +23586,14 @@ process.")
(define-public python-aiofiles
(package
(name "python-aiofiles")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "aiofiles" version))
(sha256
(base32
- "1bqmv019x16qa3zah0z915cw6z4va3fjs60fk2s7vyah3gyvrrlq"))))
+ "14m01kjxm2j7zyljjj6xlhlgygcsriymbx730gc5jp9xglaina70"))))
(build-system python-build-system)
(home-page "https://github.com/Tinche/aiofiles")
(synopsis "File support for @code{asyncio}")
--
2.25.1
[-- Attachment #1.4: 0003-gnu-python-pytest-sanic-Update-to-1.7.0.patch --]
[-- Type: text/x-diff, Size: 1827 bytes --]
From acb4d8fdee4daa4374acadc059564be1ccba93dd Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Date: Thu, 4 Mar 2021 14:47:22 +0100
Subject: [PATCH 3/4] gnu: python-pytest-sanic: Update to 1.7.0.
* gnu/packages/python-check.scm (python-pytest-sanic) [version]: Update to
1.7.0.
[propagated-inputs]: Replace python-aiohttp with python-httpx and add
python-websockets.
---
gnu/packages/python-check.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 15efdd3297..3eb561c89a 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1237,22 +1237,23 @@ help in debugging failures and optimizing the scheduler to improve speed.")
(define-public python-pytest-sanic
(package
(name "python-pytest-sanic")
- (version "1.6.2")
+ (version "1.7.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "pytest-sanic" version))
(sha256
(base32
- "02ajd8z77ahi69kzkz200qgxrb4s2j4qb6k8j9ds1kz6qa6fsa34"))))
+ "0hm7im77dgqfk8k34qbbfhimg8hifl4zwpa2s3mgbknrjvyw5qpx"))))
(build-system python-build-system)
(arguments
;; Tests depend on python-sanic.
`(#:tests? #f))
(propagated-inputs
- `(("python-aiohttp" ,python-aiohttp)
+ `(("python-httpx" ,python-httpx)
("python-async-generator"
,python-async-generator)
- ("python-pytest" ,python-pytest)))
+ ("python-pytest" ,python-pytest)
+ ("python-websockets" ,python-websockets)))
(home-page
"https://github.com/yunstanford/pytest-sanic")
(synopsis "Pytest plugin for Sanic")
--
2.25.1
[-- Attachment #1.5: 0004-gnu-python-sanic-Update-to-20.12.2.patch --]
[-- Type: text/x-diff, Size: 2659 bytes --]
From 570715163b6a7686061cd24deaa007b3fb48c602 Mon Sep 17 00:00:00 2001
From: Lars-Dominik Braun <ldb@leibniz-psychology.org>
Date: Thu, 4 Mar 2021 14:48:28 +0100
Subject: [PATCH 4/4] gnu: python-sanic: Update to 20.12.2.
* gnu/packages/python-web.scm (python-sanic) [version]: Update to 20.12.2.
[arguments]: Relax dependency versions.
[native-inputs]: Add python-pytest-asyncio.
[home-page]: Update.
[synopsis]: Remove Python version.
[description]: Ditto.
---
gnu/packages/python-web.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b0268e5a31..edfff0c6a3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5658,14 +5658,14 @@ as a Python package.")
(define-public python-sanic
(package
(name "python-sanic")
- (version "20.9.1")
+ (version "20.12.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "sanic" version))
(sha256
(base32
- "06p0lsxqbfbka2yaqlpp0bg5pf7ma44zi6kq7qbb6hhry48dp1w6"))))
+ "1c02gdp1j18xny9jd33fp0w57qqi7g66zwmaykv2dhcks96f5mxr"))))
(build-system python-build-system)
(arguments
'(#:phases
@@ -5674,9 +5674,8 @@ as a Python package.")
;; Allow using recent dependencies.
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "setup.py"
- (("httpcore==0.3.0") "httpcore")
(("pytest==5.2.1") "pytest")
- (("multidict==5.0.0") "multidict")
+ (("multidict>=5.0,<6.0") "multidict")
(("httpx==0\\.15\\.4") "httpx"))
#t))
(replace 'check
@@ -5702,14 +5701,15 @@ as a Python package.")
("python-pytest-benchmark" ,python-pytest-benchmark)
("python-pytest-sanic" ,python-pytest-sanic)
("python-pytest-sugar" ,python-pytest-sugar)
+ ("python-pytest-asyncio" ,python-pytest-asyncio)
("python-urllib3" ,python-urllib3)
("python-uvicorn" ,python-uvicorn)))
(home-page
- "https://github.com/huge-success/sanic/")
+ "https://github.com/sanic-org/sanic/")
(synopsis
- "Async Python 3.6+ web server/framework")
+ "Async Python web server/framework")
(description
- "Sanic is a Python 3.6+ web server and web framework
+ "Sanic is a Python web server and web framework
that's written to go fast. It allows the usage of the
@code{async/await} syntax added in Python 3.5, which makes
your code non-blocking and speedy.")
--
2.25.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-10 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-04 14:15 [bug#46921] [PATCHES] Update python-sanic and dependencies Lars-Dominik Braun
[not found] ` <handler.46921.B.161486735722340.ack@debbugs.gnu.org>
2021-03-10 11:35 ` bug#46921: Acknowledgement ([PATCHES] Update python-sanic and dependencies) Lars-Dominik Braun
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).