Package: guix-patches;
Reported by: slg <0x2d <at> disroot.org>
Date: Sun, 20 Jun 2021 00:25:02 UTC
Severity: normal
Tags: patch
To reply to this bug, email your comments to 49123 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 00:25:02 GMT) Full text and rfc822 format available.slg <0x2d <at> disroot.org>
:guix-patches <at> gnu.org
.
(Sun, 20 Jun 2021 00:25:03 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: guix-patches <at> gnu.org Subject: [PATCH 0/24] Add mirage Date: Sat, 19 Jun 2021 20:17:46 -0300
Hello Guix developers, This is my first time sending patches, so if I did something unusual, plase tell me. The patches sent here are necessary for running the Matrix client Mirage. Most of them are updates for Python packages and missing Python packages that are needed by Mirage dependencies. Sincerely, slg
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:09:02 GMT) Full text and rfc822 format available.Message #8 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 01/24] gnu: Add pyotherside. Date: Sat, 19 Jun 2021 22:07:19 -0300
* gnu/packages/qt.scm (pyotherside): New variable. --- gnu/packages/qt.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 19fcc2f37e..3e91a82a46 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -3044,3 +3044,36 @@ being fully customizable and easy to extend.") also compatible with SGI and TGS Open Inventor, and the API is based on the API of the InventorXt GUI component toolkit.") (license license:bsd-3)))) + +(define-public pyotherside + (let ((commit-ref "8f7e67980f7ceb2d0fc40a9568d3b10c640a8d74") + (revision "1")) + (package + (inherit qtsvg) + (name "pyotherside") + (version (git-version "1.5.9" revision commit-ref)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/thp/pyotherside") + (commit commit-ref))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1kq8v2inwx4j9idsdxwkjas4nqyfwzwfwiiwpjqr8ggcx1z9gvi3")))) + (outputs '("out")) + (inputs + `(("qtbase" ,qtbase-5) + ("qtdeclarative" ,qtdeclarative) + ("qtsvg" ,qtsvg))) + (propagated-inputs + `(("python" ,python-wrapper))) + (native-inputs `()) + (arguments + (substitute-keyword-arguments (package-arguments qtsvg) + ((#:tests? _ #f) #f))) ;; Plugin must be installed before testing + (home-page "https://thp.io/2011/pyotherside/") + (synopsis "Asynchronous Python 3 Bindings for Qt 5") + (description "A Qt plugin providing access to a Python 3 interpreter from +QML for creating asynchronous mobile and Desktop UIs with Python.") + (license license:isc)))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:09:02 GMT) Full text and rfc822 format available.Message #11 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 02/24] gnu: libolm: Add python bindings output. Date: Sat, 19 Jun 2021 22:07:20 -0300
* gnu/packages/crypto.scm (libolm): Add python bindings --- gnu/packages/crypto.scm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index 99455dc632..b1cfd46adc 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1310,13 +1310,30 @@ Trusted comments are signed, thus verified, before being displayed.") "0bixly6jqpwfx3p37c1qp1j685yg6m429r1nazwh43w4n527bs3y")) (file-name (git-file-name name version)))) (build-system cmake-build-system) + (outputs '("out" "python")) + (propagated-inputs + `(("python-cffi" ,python-cffi))) + (native-inputs + `(("python" ,python-wrapper))) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ (with-directory-excursion "tests" - (invoke "ctest" "."))))))) + (invoke "ctest" ".")))) + (add-after 'install 'install-python-binding + (lambda* (#:key outputs #:allow-other-keys) + (with-directory-excursion "../source/python" + (invoke "make" "headers" "CPP=cpp") ;; Somehow default $(CPP) is cc? + (invoke "python" "setup.py" "build_ext" + (string-append "--library-dirs=" + (assoc-ref outputs "out") + "/lib")) + (invoke "python" "setup.py" "install" + (string-append "--prefix=" + (assoc-ref outputs "python")) + "--root=/"))))))) (synopsis "Implementation of the olm and megolm cryptographic ratchets") (description "The libolm library implements the Double Ratchet cryptographic ratchet. It is written in C and C++11, and exposed as a C -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:02 GMT) Full text and rfc822 format available.Message #14 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 03/24] gnu: libolm: Update to 3.2.4. Date: Sat, 19 Jun 2021 22:07:21 -0300
* gnu/packages/crypto.scm (libolm): Update to 3.2.4. --- gnu/packages/crypto.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index b1cfd46adc..c28b563651 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1299,7 +1299,7 @@ Trusted comments are signed, thus verified, before being displayed.") (define-public libolm (package (name "libolm") - (version "3.2.3") + (version "3.2.4") (source (origin (method git-fetch) (uri (git-reference @@ -1307,7 +1307,7 @@ Trusted comments are signed, thus verified, before being displayed.") (commit version))) (sha256 (base32 - "0bixly6jqpwfx3p37c1qp1j685yg6m429r1nazwh43w4n527bs3y")) + "1rl7j26li1irb1lqnnkzan7jrj38kvmdn69rlwbbp390v3z15lvh")) (file-name (git-file-name name version)))) (build-system cmake-build-system) (outputs '("out" "python")) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:03 GMT) Full text and rfc822 format available.Message #17 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 04/24] gnu: Add python-html-sanitizer. Date: Sat, 19 Jun 2021 22:07:22 -0300
* gnu/packages/python-xyz.scm (python-html-sanitizer): New variable. --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bb263a6f20..54c7d91116 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -25990,3 +25990,26 @@ is the cythonized version of @code{fractions.Fraction}.") "@code{pathvalidate} is a Python library to sanitize/validate strings representing paths or filenames.") (license license:expat))) + +(define-public python-html-sanitizer + (package + (name "python-html-sanitizer") + (version "1.9.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "html-sanitizer" version)) + (sha256 + (base32 "1mb9d80mar5y4ariqbmrxn5llcffh5qp3s3ywd05bxgg7jzaxh0k")))) + (build-system python-build-system) + (propagated-inputs + `(("python-lxml" ,python-lxml) + ("python-beautifulsoup4" ,python-beautifulsoup4))) + (home-page "https://github.com/matthiask/html-sanitizer") + (synopsis "Python library to sanitize HTML") + (description "This is a allowlist-based and very opinionated HTML sanitizer +that can be used both for untrusted and trusted sources. It attempts to clean +up the mess made by various rich text editors and or copy-pasting to make +styling of webpages simpler and more consistent. It builds on the excellent +HTML cleaner in lxml to make the result both valid and safe.") + (license license:bsd-3))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:04 GMT) Full text and rfc822 format available.Message #20 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 05/24] gnu: Add python-filetype. Date: Sat, 19 Jun 2021 22:07:23 -0300
* gnu/packages/python-xyz.scm (python-filetype): New variable. --- gnu/packages/python-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 54c7d91116..6831e2365b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26013,3 +26013,24 @@ up the mess made by various rich text editors and or copy-pasting to make styling of webpages simpler and more consistent. It builds on the excellent HTML cleaner in lxml to make the result both valid and safe.") (license license:bsd-3))) + +(define-public python-filetype + (package + (name "python-filetype") + (version "1.0.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "filetype" version)) + (sha256 + (base32 + "19vav4w8vvcnrps1mirjkrv4pr1khwn5ma6m5pgpxd4qip73wffs")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ;; FIXME: obscure error in test + (home-page "https://github.com/h2non/filetype.py") + (synopsis "Python package for checking file type and MIME type") + (description "Small and dependency free Python package to infer file type +and MIME type checking the magic numbers signature of a file or buffer. This +is a Python port from filetype Go package.") + (license license:x11))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:04 GMT) Full text and rfc822 format available.Message #23 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 06/24] gnu: Add python-logbook. Date: Sat, 19 Jun 2021 22:07:24 -0300
* gnu/packages/python-xyz.scm (python-logbook): New variable. --- gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6831e2365b..bb3997501b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26034,3 +26034,33 @@ HTML cleaner in lxml to make the result both valid and safe.") and MIME type checking the magic numbers signature of a file or buffer. This is a Python port from filetype Go package.") (license license:x11))) + +(define-public python-logbook + (package + (name "python-logbook") + (version "1.5.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Logbook" version)) + (sha256 + (base32 + "1s1gyfw621vid7qqvhddq6c3z2895ci4lq3g0r1swvpml2nm9x36")))) + (build-system python-build-system) ;; TODO: fix native extension build + ;; Fails with gcc trying to compile unexistent file 'logbook/_speedups.c'. + ;; Apparently it is generated from logbook/_speedups.pyx, I do not know if + ;; an extra build phase is needed to generate this file. + (arguments + `(#:tests? #f)) ;; Needs native extension, which for some reason will + ;; not be compiled. + (propagated-inputs + `(("python-jinja2" ,python-jinja2) + ("python-sqlalchemy" ,python-sqlalchemy) + ("python-redis" ,python-redis) + ("python-pyzmq" ,python-pyzmq) + ("python-execnet" ,python-execnet) + ("python-brotli" ,python-brotli))) + (home-page "https://logbook.readthedocs.io/en/stable") + (synopsis "Python logging library") + (description "An awesome logging implementation that is fun to use.") + (license license:bsd-1))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:05 GMT) Full text and rfc822 format available.Message #26 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 07/24] gnu: python-unpaddedbase64: Update to 2.1.0. Date: Sat, 19 Jun 2021 22:07:25 -0300
* gnu/packages/python-xyz.scm (python-unpaddedbase64): Update to 2.1.0. * gnu/packages/python-xyz.scm (python-unpaddedbase64): Use pypi-url --- gnu/packages/python-xyz.scm | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bb3997501b..c6ff826528 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23823,17 +23823,14 @@ replacement for dictionaries where immutability is desired.") (define-public python-unpaddedbase64 (package (name "python-unpaddedbase64") - (version "1.1.0") + (version "2.1.0") (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/matrix-org/python-unpaddedbase64") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (pypi-uri "unpaddedbase64" version)) (sha256 (base32 - "0if3fjfxga0bwdq47v77fs9hrcqpmwdxry2i2a7pdqsp95258nxd")))) + "01ghlmw63fgslwj8j74vkpf1kqvr7a4agm6nyn89vqwx106ccwvj")))) (build-system python-build-system) (home-page "https://pypi.org/project/unpaddedbase64/") (synopsis "Encode and decode Base64 without “=” padding") -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:06 GMT) Full text and rfc822 format available.Message #29 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 08/24] gnu: python-pycryptodome: Update to 3.10.1. Date: Sat, 19 Jun 2021 22:07:26 -0300
* gnu/packages/python-crypto.scm (python-pycryptodome): Update to 3.10.1. --- gnu/packages/python-crypto.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 733a87cd2f..8170c3c794 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -992,14 +992,14 @@ protocol (Javascript Object Signing and Encryption).") (define-public python-pycryptodome (package (name "python-pycryptodome") - (version "3.9.9") + (version "3.10.1") (source (origin (method url-fetch) (uri (pypi-uri "pycryptodome" version)) (sha256 (base32 - "1i4m74f88qj9ci8rpyzrbk2slmsdj5ipmwdkq6qk24byalm203li")))) + "0ws6ivk5v6bs57ak8hwjyjf0jqcdl87bkka3z06ijpqcb033lbiy")))) (build-system python-build-system) (home-page "https://www.pycryptodome.org") (synopsis "Low-level cryptographic Python library") -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:07 GMT) Full text and rfc822 format available.Message #32 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 09/24] gnu: python-hyperframe: Update to 6.0.1. Date: Sat, 19 Jun 2021 22:07:27 -0300
* gnu/packages/python-web.scm (python-hyperframe): Update to 6.0.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 86a732fa1b..1a391a5060 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -829,13 +829,13 @@ follow links and submit forms. It doesn’t do JavaScript.") (define-public python-hyperframe (package (name "python-hyperframe") - (version "5.2.0") + (version "6.0.1") (source (origin (method url-fetch) (uri (pypi-uri "hyperframe" version)) (sha256 - (base32 "07xlf44l1cw0ghxx46sbmkgzil8vqv8kxwy42ywikiy35izw3xd9")))) + (base32 "055951gyhnjqpa2al52rj34g8yrls9inyn56n7nfkj0x4d300ldf")))) (build-system python-build-system) (arguments `(#:phases -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:07 GMT) Full text and rfc822 format available.Message #35 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 10/24] gnu: python-h2: Update to 4.0.0. Date: Sat, 19 Jun 2021 22:07:28 -0300
* gnu/packages/python-web.scm (python-h2): Update to 4.0.0. * gnu/packages/python-web.scm (python-h2): Update home-page --- gnu/packages/python-web.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 1a391a5060..4ef8d71f45 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -919,13 +919,13 @@ and that could be anything you want.") (define-public python-h2 (package (name "python-h2") - (version "3.2.0") + (version "4.0.0") (source (origin (method url-fetch) (uri (pypi-uri "h2" version)) (sha256 - (base32 "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7")))) + (base32 "0gar809k91d04ky3fqjidfxgbcdnj9hmm09csmz8aynnkl4wfymv")))) (build-system python-build-system) (arguments `(#:phases @@ -939,7 +939,7 @@ and that could be anything you want.") (propagated-inputs `(("python-hpack" ,python-hpack) ("python-hyperframe" ,python-hyperframe))) - (home-page "https://github.com/python-hyper/hyper-h2") + (home-page "https://github.com/python-hyper/h2") (synopsis "HTTP/2 State-Machine based protocol implementation") (description "This module contains a pure-Python implementation of a HTTP/2 protocol -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:08 GMT) Full text and rfc822 format available.Message #38 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 11/24] gnu: python-h11: Update to 0.12.0. Date: Sat, 19 Jun 2021 22:07:29 -0300
* gnu/packages/python-web.scm (python-h11): Update to 0.12.0. --- 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 4ef8d71f45..000603d332 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -891,13 +891,13 @@ for use in Python programs that implement HTTP/2.") (define-public python-h11 (package (name "python-h11") - (version "0.9.0") + (version "0.12.0") (source (origin (method url-fetch) (uri (pypi-uri "h11" version)) (sha256 - (base32 "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k")))) + (base32 "0hk0nll6qazsambp3kl8cxxsbl4gv5y9252qadyk0jky0sv2q8j7")))) (build-system python-build-system) (arguments `(#:phases -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:08 GMT) Full text and rfc822 format available.Message #41 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 12/24] gnu: python-future: Update to 0.18.2. Date: Sat, 19 Jun 2021 22:07:30 -0300
* gnu/packages/python-xyz.scm (python-future): Update to 0.18.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 c6ff826528..0a228cf5b4 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13938,14 +13938,14 @@ development version of CPython that are not available in older releases.") (define-public python-future (package (name "python-future") - (version "0.17.1") + (version "0.18.2") (source (origin (method url-fetch) (uri (pypi-uri "future" version)) (sha256 (base32 - "1f2rlqn9rh7adgir52dlbqz69gsab44x0mlm8gf1cs7xvhv54137")))) + "0zakvfj87gy6mn1nba06sdha63rn4njm7bhh0wzyrxhcny8avgmi")))) (build-system python-build-system) ;; Many tests connect to the network or are otherwise flawed. ;; https://github.com/PythonCharmers/python-future/issues/210 -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:09 GMT) Full text and rfc822 format available.Message #44 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 13/24] gnu: python-socks: Update to 1.2.4. Date: Sat, 19 Jun 2021 22:07:31 -0300
* gnu/packages/python-web.scm (python-socks): Update to 1.2.4. --- 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 000603d332..cf4bdc2dab 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6023,14 +6023,14 @@ your code non-blocking and speedy.") (define-public python-socks (package (name "python-socks") - (version "1.1.2") + (version "1.2.4") (source (origin (method url-fetch) (uri (pypi-uri "python-socks" version)) (sha256 (base32 - "06mgv3icsyglv50w3sb71x6cpbskza20pqd93l5xk59x574i6xgs")))) + "1n6xb18jy41ybgkmamakg6psp3qididd45qknxiggngaiibz43kx")))) (build-system python-build-system) (arguments `(#:tests? #f ; tests not included -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:09 GMT) Full text and rfc822 format available.Message #47 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 14/24] gnu: python-aiohttp-socks: Update to 0.6.0. Date: Sat, 19 Jun 2021 22:07:32 -0300
* gnu/packages/python-web.scm (python-aiohttp-socks): Update to 0.6.0. --- 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 cf4bdc2dab..d4a959aacf 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -238,14 +238,14 @@ Callback Hell. (define-public python-aiohttp-socks (package (name "python-aiohttp-socks") - (version "0.5.5") + (version "0.6.0") (source (origin (method url-fetch) (uri (pypi-uri "aiohttp_socks" version)) (sha256 (base32 - "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif")))) + "04w010bvi719ifpc3sshav95k10hf9nq8czn9yglkj206yxcypdr")))) (build-system python-build-system) (propagated-inputs `(("python-aiohttp" ,python-aiohttp) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:10:10 GMT) Full text and rfc822 format available.Message #50 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 15/24] gnu: Add python-aioresponses. Date: Sat, 19 Jun 2021 22:07:33 -0300
* gnu/packages/python-web.scm (python-aioresponses): New variable. --- gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index d4a959aacf..3a01a8c33c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6054,3 +6054,31 @@ your code non-blocking and speedy.") "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality.") (license license:asl2.0))) + +(define-public python-aioresponses + (package + (name "python-aioresponses") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "aioresponses" version)) + (sha256 + (base32 + "16p8mdyfirddrsay62ji7rwcrqmmzxzf2isdbfm9cj5p338rbr42")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ;; Tests make http requests + (propagated-inputs + `(("python-aiohttp" ,python-aiohttp))) + (native-inputs + `(("python-pbr" ,python-pbr))) + (home-page "https://github.com/pnuckowski/aioresponses") + (synopsis "Mock out requests made by ClientSession from aiohttp package") + (description "Aioresponses is a helper to mock/fake web requests in python +aiohttp package. For requests module there are a lot of packages that help us +with testing (eg. httpretty, responses, requests-mock). When it comes to +testing asynchronous HTTP requests it is a bit harder (at least at the beginning). +The purpose of this package is to provide an easy way to test asynchronous HTTP +requests.") + (license license:x11))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:01 GMT) Full text and rfc822 format available.Message #53 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 16/24] gnu: python-hpack: Update to 4.0.0. Date: Sat, 19 Jun 2021 22:07:34 -0300
* gnu/packages/python-web.scm (python-hpack): Update to 4.0.0. --- gnu/packages/python-web.scm | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3a01a8c33c..76f6b85529 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -857,7 +857,7 @@ into HTTP/2 frames.") (define-public python-hpack (package (name "python-hpack") - (version "3.0.0") + (version "4.0.0") (source (origin ;; PyPI tarball is missing some files necessary for the tests. @@ -867,7 +867,7 @@ into HTTP/2 frames.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0w8hkz50a6lzkmgi41ryicm0mh9ca9cx29pm3s0xlpn0vs29xrmd")))) + (base32 "11qdayvz5a8zlzdcdm37f2z1fgnl67pz6j8xj2dz5rfa5lds29yq")))) (build-system python-build-system) (arguments `(#:phases @@ -875,10 +875,7 @@ into HTTP/2 frames.") (replace 'check (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-vv" "test" "-k" - ;; This test will be fixed in the next version. See: - ;; https://github.com/python-hyper/hpack/issues/168. - "not test_get_by_index_out_of_range")))))) + (invoke "pytest" "-vv" "test")))))) (native-inputs `(("python-pytest" ,python-pytest))) (home-page "https://hyper.rtfd.org") -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:02 GMT) Full text and rfc822 format available.Message #56 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 18/24] gnu: python-pymediainfo: Update to 5.1.0. Date: Sat, 19 Jun 2021 22:07:36 -0300
* gnu/packages/python-xyz.scm (python-pymediainfo): Update to 5.1.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 0a228cf5b4..d3fd191e22 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -720,14 +720,14 @@ to CommonMark.") (define-public python-pymediainfo (package (name "python-pymediainfo") - (version "4.1") + (version "5.1.0") (source (origin (method url-fetch) (uri (pypi-uri "pymediainfo" version)) (sha256 (base32 - "0mhpxs7vlqx8w75z93dy7nnvx89kwfdjkla03l19an15rlyqyspd")))) + "0d6797bfb0lh5hy9apq6icvbxlpz8fzrlrx9vkb286h8a2fwd5nr")))) (build-system python-build-system) (native-inputs `(("python-setuptools-scm" ,python-setuptools-scm) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:02 GMT) Full text and rfc822 format available.Message #59 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 17/24] gnu: Add python-matrix-nio. Date: Sat, 19 Jun 2021 22:07:35 -0300
* gnu/packages/matrix.scm (python-matrix-nio): New variable. --- gnu/packages/matrix.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/matrix.scm b/gnu/packages/matrix.scm index 5c2b194d07..d7438deebd 100644 --- a/gnu/packages/matrix.scm +++ b/gnu/packages/matrix.scm @@ -22,6 +22,7 @@ (define-module (gnu packages matrix) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages check) + #:use-module (gnu packages crypto) #:use-module (gnu packages databases) #:use-module (gnu packages monitoring) #:use-module (gnu packages python-crypto) @@ -149,3 +150,42 @@ Python/Twisted. It is intended to showcase the concept of Matrix and let folks see the spec in the context of a codebase and let you run your own homeserver and generally help bootstrap the ecosystem.") (license license:asl2.0))) + +(define-public python-matrix-nio + (package + (name "python-matrix-nio") + (version "0.18.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "matrix-nio" version)) + (sha256 + (base32 + "09ld9jakq7h4hsa6lyqn82p5cb5qc2dl0gn418i98kz870p01qm2")))) + (build-system python-build-system) + (propagated-inputs + `(("python-aiofiles" ,python-aiofiles) + ("python-aiohttp-socks" ,python-aiohttp-socks) + ("python-aiohttp" ,python-aiohttp) + ("python-future" ,python-future) + ("python-h11" ,python-h11) + ("python-h2" ,python-h2) + ("python-jsonschema" ,python-jsonschema) + ("python-logbook" ,python-logbook) + ("python-pycryptodome" ,python-pycryptodome) + ("python-unpaddedbase64" ,python-unpaddedbase64) + ;; EE2E requirements + ("libolm" ,libolm) + ("libolm" ,libolm "python") + ("python-cachetools" ,python-cachetools) + ("python-peewee" ,python-peewee) + ("python-atomicwrites" ,python-atomicwrites))) + (arguments + `(#:tests? #f)) ;; PyPI tarball misses tests, but git version uses + ;; different build system + (home-page "https://github.com/poljar/matrix-nio") + (synopsis "Matrix client library for Python") + (description "@code{nio} is a multilayered Matrix client library. The +underlying base layer doesn't do any network IO on its own, but on top of +that is a full fledged batteries-included asyncio layer using aiohttp.") + (license license:isc))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:02 GMT) Full text and rfc822 format available.Message #62 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 19/24] gnu: python-watchgod: Update to 0.7. Date: Sat, 19 Jun 2021 22:07:37 -0300
* gnu/packages/python-xyz.scm (python-watchgod): Update to 0.7. * gnu/packages/python-xyz.scm (python-watchgod): Disable tests. --- gnu/packages/python-xyz.scm | 48 +++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d3fd191e22..ff3d279506 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23362,7 +23362,7 @@ but portable.") (define-public python-watchgod (package (name "python-watchgod") - (version "0.6") + (version "0.7") (source (origin ;; There are no tests in the PyPI tarball. @@ -23372,28 +23372,30 @@ but portable.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1lqx44wkryakgpyqj3m0hsz61bqr07vc7smgzh188374hwvscp66")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) - (native-inputs - `(("python-coverage" ,python-coverage) - ("python-docutils" ,python-docutils) - ("python-flake8" ,python-flake8) - ("python-isort" ,python-isort) - ("python-pycodestyle" ,python-pycodestyle) - ("python-pyflakes" ,python-pyflakes) - ("python-pygments" ,python-pygments) - ("python-pytest" ,python-pytest) - ("python-pytest-cov" ,python-pytest-cov) - ("python-pytest-aiohttp" ,python-pytest-aiohttp) - ("python-pytest-mock" ,python-pytest-mock) - ("python-pytest-sugar" ,python-pytest-sugar) - ("python-pytest-toolbox" ,python-pytest-toolbox))) + (base32 "1w2xsidwp9n4giqhja0bzw7rwrh01db0kdxf2n54mv3dkx545jpq")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ;; FIXME: tests failing due to potential files missing + ;; `(#:phases + ;; (modify-phases %standard-phases + ;; (replace 'check + ;; (lambda _ + ;; (invoke "pytest" "-vv")))))) + ;;(native-inputs + ;; `(("python-coverage" ,python-coverage) + ;; ("python-docutils" ,python-docutils) + ;; ("python-flake8" ,python-flake8) + ;; ("python-isort" ,python-isort) + ;; ("python-pycodestyle" ,python-pycodestyle) + ;; ("python-pyflakes" ,python-pyflakes) + ;; ("python-pygments" ,python-pygments) + ;; ("python-pytest" ,python-pytest) + ;; ("python-pytest-cov" ,python-pytest-cov) + ;; ("python-pytest-aiohttp" ,python-pytest-aiohttp) + ;; ("python-pytest-mock" ,python-pytest-mock) + ;; ("python-pytest-sugar" ,python-pytest-sugar) + ;; ("python-pytest-toolbox" ,python-pytest-toolbox) + ;; ("python-pytest-asyncio" ,python-pytest-asyncio))) (home-page "https://github.com/samuelcolvin/watchgod") (synopsis "Simple, modern file watching and code reload in Python") (description -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:03 GMT) Full text and rfc822 format available.Message #65 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 21/24] gnu: Add python-baron. Date: Sat, 19 Jun 2021 22:07:39 -0300
* gnu/packages/python-xyz.scm (python-baron): New variable. --- gnu/packages/python-xyz.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6db019082d..6096ba29d1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26083,3 +26083,35 @@ is a Python port from filetype Go package.") (description "Plyer is a platform-independent api to use features commonly found on various platforms, notably mobile ones, in Python.") (license license:x11))) + +(define-public python-baron + (package + (name "python-baron") + (version "0.9") + (source + (origin + (method url-fetch) + (uri (pypi-uri "baron" version)) + (sha256 + (base32 + "0fib74nkqnl1i2zzlhbbfpw3whwc4951p9x61r2xrxhwp4r9yn5h")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (propagated-inputs + `(("python-rply" ,python-rply))) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv" "tests/") + #t))))) + (home-page "https://github.com/PyCQA/baron") + (synopsis "Full Syntax Tree (FST) Python library") + (description "Baron is a Full Syntax Tree (FST) library for Python. +By opposition to an AST which drops some syntax information in the +process of its creation (like empty lines, comments, formatting), a FST +keeps everything and guarantees the operation +@code{fst_to_code(code_to_fst(source_code)) == source_code}.") + (license license:lgpl3))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:03 GMT) Full text and rfc822 format available.Message #68 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 22/24] gnu: Add python-redbaron. Date: Sat, 19 Jun 2021 22:07:40 -0300
* gnu/packages/python-xyz.scm (python-redbaron): New variable. --- gnu/packages/python-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6096ba29d1..6dd42d5455 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26115,3 +26115,38 @@ process of its creation (like empty lines, comments, formatting), a FST keeps everything and guarantees the operation @code{fst_to_code(code_to_fst(source_code)) == source_code}.") (license license:lgpl3))) + +(define-public python-redbaron + (package + (name "python-redbaron") + (version "0.9.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "redbaron" version)) + (sha256 + (base32 + "0bqkq0wn20cc3qrcd1ifq74p4m570j345bkq4axl08kbr8whfba7")))) + (build-system python-build-system) + ;;(native-inputs + ;; `(("python-pytest" ,python-pytest))) ;; Uncomment when tests fixed + (propagated-inputs + `(("python-baron" ,python-baron))) + (arguments + `(#:tests? #f ;; Syntax error in tests, enable when fixed + #:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" "tests/"))))))) + (home-page "https://github.com/PyCQA/redbaron") + (synopsis "Tool for writing code that modifies source code") + (description "RedBaron is a python library and tool powerful +enough to be used into IPython solely that intent to make the process +of writing code that modify source code as easy and as simple as +possible. That include writing custom refactoring, generic refactoring, +tools, IDE or directly modifying you source code into IPython with a +higher and more powerful abstraction than the advanced texts +modification tools that you find in advanced text editors and IDE.") + (license license:lgpl3))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:04 GMT) Full text and rfc822 format available.Message #71 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 23/24] gnu: Add python-hsluv. Date: Sat, 19 Jun 2021 22:07:41 -0300
* gnu/packages/python-xyz.scm (python-hsluv): New variable. --- gnu/packages/python-xyz.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6dd42d5455..678e719b64 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26150,3 +26150,20 @@ tools, IDE or directly modifying you source code into IPython with a higher and more powerful abstraction than the advanced texts modification tools that you find in advanced text editors and IDE.") (license license:lgpl3))) + +(define-public python-hsluv + (package + (name "python-hsluv") + (version "5.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hsluv" version)) + (sha256 + (base32 + "1yi76w24rr7d8vva01jq6s4zv28w945l1vbf56j2azbakjr9ispz")))) + (build-system python-build-system) + (home-page "https://www.hsluv.org/") + (synopsis "Human-friendly HSL") + (description "HSLuv is a human-friendly alternative to HSL.") + (license license:x11))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:04 GMT) Full text and rfc822 format available.Message #74 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 24/24] gnu: Add mirage. Date: Sat, 19 Jun 2021 22:07:42 -0300
* gnu/packages/messaging.scm (mirage): New variable. --- gnu/packages/messaging.scm | 96 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index fe678d89fd..a8cdd90f57 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2997,4 +2997,100 @@ API. Mattermost is not required.") (home-page "https://github.com/42wim/matterbridge") (license license:asl2.0))) +(define-public mirage + (package + ;; (inherit qtsvg) + (name "mirage") + (version "0.7.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mirukana/mirage") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0j7gdg2z8yg3qvwg9d9fa3i4ig231qda48p00s5gk8bc3c65vsll")))) + (build-system gnu-build-system) + (native-inputs + `(("python" ,python-wrapper))) + (propagated-inputs + `(("python-pillow" ,python-pillow) + ("python-aiofiles" ,python-aiofiles) + ("python-appdirs" ,python-appdirs) ;; Update + ("python-cairosvg" ,python-cairosvg) + ("python-filetype" ,python-filetype) + ("python-html-sanitizer" ,python-html-sanitizer) + ("python-lxml", python-lxml) ;; Update + ("python-matrix-nio" ,python-matrix-nio) + ("python-mistune" ,python-mistune) + ("python-pymediainfo" ,python-pymediainfo) + ("python-plyer" ,python-plyer) + ("python-sortedcontainers" ,python-sortedcontainers) ;; Update + ("python-watchgod" ,python-watchgod) + ("python-redbaron" ,python-redbaron) + ("python-hsluv" ,python-hsluv) + ("python-simpleaudio" ,python-simpleaudio) + ("qtdeclarative" ,qtdeclarative) + ("qtgraphicaleffects" ,qtgraphicaleffects) + ("qtquickcontrols2" ,qtquickcontrols2) + ("pyotherside" ,pyotherside))) + (inputs + `(("qtbase" ,qtbase-5) + ("qtsvg" ,qtsvg) + ("qtimageformats" ,qtimageformats) + ("libx11" ,libx11) + ("libxscrnsaver" ,libxscrnsaver) + ("zlib" ,zlib) + ("libtiff" ,libtiff) + ("libwebp" ,libwebp) + ("libjpeg-turbo" ,libjpeg-turbo) + ("openjpeg" ,openjpeg))) + (arguments + `(#:tests? #f ; No target + #:imported-modules + (,@%gnu-build-system-modules + (guix build cmake-build-system) + (guix build qt-build-system)) + #:modules + ((guix build gnu-build-system) + ((guix build qt-build-system) + #:prefix qt:) + (guix build utils)) + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (invoke "qmake" + (string-append "PREFIX=" out) + (string-append "BINDIR=" out "/bin") + (string-append "DATADIR=" out "/share") + (string-append "PLUGINDIR=" out "/lib/qt5/plugins"))) + #t)) + (add-after 'install 'qt-wrap + (assoc-ref qt:%standard-phases 'qt-wrap))))) + (home-page "https://github.com/mirukana/mirage") + (synopsis "Next generation Matrix client, highly customizable and keyboard +friendly") + (description "A fancy, customizable, keyboard-operable Matrix chat client +for encrypted and decentralized communication. Written in Qt/QML and Python, +currently in alpha. + +Its main features include: +@itemize +@item Fluid, responsive interface that adapts to any window size +@item Toggleable compact mode +@item Customizable keyboard shortcuts for everything, including switching +rooms, navigating messages, sending/opening files... +@item Versatile theming system, properties can refer to each other and have +any valid ECMAScript 7 expression as values +@item Comes by default with dark and transparent themes +@item Desktop notifications, sounds and window alerts +@item Support for HTTP and SOCKS5 proxies including TOR +@item Multiple accounts in one client +@end itemize") + (license license:lgpl3))) + ;;; messaging.scm ends here -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 20 Jun 2021 01:11:04 GMT) Full text and rfc822 format available.Message #77 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org Cc: slg <0x2d <at> disroot.org> Subject: [PATCH 20/24] gnu: Add python-plyer. Date: Sat, 19 Jun 2021 22:07:38 -0300
* gnu/packages/python-xyz.scm (python-plyer): New variable. --- gnu/packages/python-xyz.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ff3d279506..6db019082d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26063,3 +26063,23 @@ is a Python port from filetype Go package.") (synopsis "Python logging library") (description "An awesome logging implementation that is fun to use.") (license license:bsd-1))) + +(define-public python-plyer + (package + (name "python-plyer") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "plyer" version)) + (sha256 + (base32 + "156z58gzb3afzilhdbsm323sn0sky1n59kgaxmpg73a3phbqpqwd")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ;; Circular dependency on itself + (home-page "https://plyer.readthedocs.io/en/latest/") + (synopsis "API for common features found on various platforms") + (description "Plyer is a platform-independent api to use features +commonly found on various platforms, notably mobile ones, in Python.") + (license license:x11))) -- 2.32.0
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Mon, 21 Jun 2021 15:45:02 GMT) Full text and rfc822 format available.Message #80 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 02/24] gnu: libolm: Add python bindings output. Date: Mon, 21 Jun 2021 17:44:20 +0200
[Message part 1 (text/plain, inline)]
Hi, > (replace 'check > (lambda _ > (with-directory-excursion "tests" > - (invoke "ctest" "."))))))) > + (invoke "ctest" ".")))) I would make this > (replace 'check > (lambda* (#:key tests? #:allow-other-keys) > (with-directory-excursion "tests" > (when tests? > - (invoke "ctest" ".") > + (invoke "ctest" "."))))) That way, "guix build libolm --without-tests=libolm" should work. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Mon, 21 Jun 2021 15:54:01 GMT) Full text and rfc822 format available.Message #83 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 20/24] gnu: Add python-plyer. Date: Mon, 21 Jun 2021 17:53:54 +0200
[Message part 1 (text/plain, inline)]
> +(define-public python-plyer > + (package > + (name "python-plyer") > + [...] > + (arguments > + `(#:tests? #f)) ;; Circular dependency on itself Seems odd that python-plyer's tests cannot find python-plyer, but whatever. You can try to work-around the cycle by defining two python-plyer packages, like this (fill in the ...): (define-public python-plyer (package (name ...) (version ...) (build-system ...) ;; do not add (arguments ...) here! ;; (This comment should not go into the revised patch) (native-inputs ;; Add a comment on why this is necessary `(("python-plyer" ,python-plyer-for-tests))) (home-page ...) (synopsis ...) (description ...))) (define python-plyer-for-tests (package/hidden (inherit python-plyer) (native-inputs '()))) That way, first a python-plyer without tests will be built, and then the real python-plyer will be built with tests. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Mon, 21 Jun 2021 16:11:02 GMT) Full text and rfc822 format available.Message #86 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 24/24] gnu: Add mirage. Date: Mon, 21 Jun 2021 18:10:23 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/messaging.scm (mirage): New variable. > --- > gnu/packages/messaging.scm | 96 ++++++++++++++++++++++++++++++++++++++ > 1 file changed, 96 insertions(+) > > diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm > index fe678d89fd..a8cdd90f57 100644 > --- a/gnu/packages/messaging.scm > +++ b/gnu/packages/messaging.scm > @@ -2997,4 +2997,100 @@ API. Mattermost is not required.") > (home-page "https://github.com/42wim/matterbridge") > (license license:asl2.0))) > > +(define-public mirage > + (package > + ;; (inherit qtsvg) > + (name "mirage") > + (version "0.7.1") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/mirukana/mirage") > + (commit (string-append "v" version)) > + (recursive? #t))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0j7gdg2z8yg3qvwg9d9fa3i4ig231qda48p00s5gk8bc3c65vsll")))) > + (build-system gnu-build-system) > + (native-inputs > + `(("python" ,python-wrapper))) > + (propagated-inputs [ plenty of inputs ]) If possible, try to move some of these to 'inputs'. Of course, mirage still needs to find all these python libraries, so you may need to add a post-install phase (after/before qt-wrap shouldn't mattr) doing appropriate ‘wrap-program' calls -- yes, an already wrapped program can be wrapped again. I think. I'd presume the effects are cumulative, not sure though. Why? Keeping ‘propagated-inputs’ minimal reduces profile pollution, so the profile contains less, so generating the profile takes less time. This also reduces the chance of version conflicts. (E.g., guile and stalin cannot be installed in the same profile because they propagate different versions of libgc.) Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 04 Jul 2021 14:42:01 GMT) Full text and rfc822 format available.Message #89 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: 49123 <at> debbugs.gnu.org, Maxime Devos <maximedevos <at> telenet.be> Subject: Re: [bug#49123] [PATCH 02/24] gnu: libolm: Add python bindings output. Date: Sun, 04 Jul 2021 11:41:20 -0300
[Message part 1 (text/plain, inline)]
Hi, Sorry for late reply, thanks for your report. On Mon, 2021-06-21 at 17:44 +0200, Maxime Devos wrote: > > (replace 'check > > (lambda* (#:key tests? #:allow-other-keys) > > (with-directory-excursion "tests" > > (when tests? > > - (invoke "ctest" ".") > > + (invoke "ctest" "."))))) > > That way, "guix build libolm --without-tests=libolm" should work. I hope my changes are fine. Sincerely, slg
[0001-gnu-libolm-Make-tests-conditional.patch (text/x-patch, attachment)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 04 Jul 2021 16:46:01 GMT) Full text and rfc822 format available.Message #92 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: slg <0x2d <at> disroot.org> To: Maxime Devos <maximedevos <at> telenet.be>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 20/24] gnu: Add python-plyer. Date: Sun, 04 Jul 2021 13:45:30 -0300
[Message part 1 (text/plain, inline)]
On Mon, 2021-06-21 at 17:53 +0200, Maxime Devos wrote: > > You can try to work-around the cycle > by defining two python-plyer packages, like this > (fill in the ...): > > (define-public python-plyer > (package > (name ...) > (version ...) > (build-system ...) > ;; do not add (arguments ...) here! > ;; (This comment should not go into the revised patch) > (native-inputs > ;; Add a comment on why this is necessary > `(("python-plyer" ,python-plyer-for-tests))) > (home-page ...) > (synopsis ...) > (description ...))) > > (define python-plyer-for-tests > (package/hidden > (inherit python-plyer) > (native-inputs '()))) > > That way, first a python-plyer without tests will be built, > and then the real python-plyer will be built with tests. I tried the attached patch, but it still fails with same errors when trying to run tests. At this point I don't know if python-plyer-for- tests is being built before or not. Sincerely, slg
[plyer-tests.patch (text/x-patch, attachment)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Tue, 06 Jul 2021 10:29:01 GMT) Full text and rfc822 format available.Message #95 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 20/24] gnu: Add python-plyer. Date: Tue, 06 Jul 2021 12:28:17 +0200
[Message part 1 (text/plain, inline)]
Hi, I'll test this patch series (checking licenses, reproducibility, linter output, looking at the source code for anything ‘fishy’ ...) more extensively, but that will take some time to complete. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Thu, 15 Jul 2021 12:09:01 GMT) Full text and rfc822 format available.Message #98 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 22/24] gnu: Add python-redbaron. Date: Thu, 15 Jul 2021 12:13:09 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]:+ > +(define-public python-redbaron > + (package > + (name "python-redbaron") > + (version "0.9.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "redbaron" version)) > + (sha256 > + (base32 > + "0bqkq0wn20cc3qrcd1ifq74p4m570j345bkq4axl08kbr8whfba7")))) > "redbaron-0.9.2.tar.gz" contains some compiled code and built documentation. Could you add (untested) (snippet #~(begin (for-each delete-file (find-files "." (lambda (x) (string-suffix? ".pyc" x)))) (delete-file-recursively "docs/_build")))) or something like that to remove it? > + (license license:lgpl3))) The license is LGPLv3+, according to 'setup.py': [...] setup(name='redbaron', [...] license='lgplv3+', Ideally, the Sphinx documentation would be installed as well, but there isn't good support for that yet in Guix. Otherwise, the package definition LGTM and the source code of redbaron doesn't seem to have an equivalent of "curl http://evil.sh | sh -c". (Except possibly the synopsis and description. I'd need to check what the guidelines are.) Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Thu, 15 Jul 2021 13:32:01 GMT) Full text and rfc822 format available.Message #101 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 23/24] gnu: Add python-hsluv. Date: Thu, 15 Jul 2021 15:31:15 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > +(define-public python-hsluv > + (package > + (name "python-hsluv") > + (version "5.0.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "hsluv" version)) > + (sha256 > + (base32 > + "1yi76w24rr7d8vva01jq6s4zv28w945l1vbf56j2azbakjr9ispz")))) > + (build-system python-build-system) > + (home-page "https://www.hsluv.org/") > + (synopsis "Human-friendly HSL") HSLuv isn't HSL, so HSLuv isn't human-friendly HSL? I think (synopsis "Convert between HSLuv and RGB colour coordinates") would be more descriptive and more correct, in particular for people who haven't ever heard of "HSL" or humans, and ‘human-friendly’ is rather subjective. > + (description "HSLuv is a human-friendly alternative to HSL.") ‘16.4.4 Synopses and Descriptions’ in the manual has some guidelines on synopses and descriptions. > + (license license:x11))) LICENSE.txt is not the X11 license, as the following is missing: Except as contained in this notice, the name of the X Consortium shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from the X Consortium. X Window System is a trademark of X Consortium, Inc. Instead, it appears to be the expat license. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sun, 18 Jul 2021 18:45:01 GMT) Full text and rfc822 format available.Message #104 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 10/24] gnu: python-h2: Update to 4.0.0. Date: Sun, 18 Jul 2021 18:15:29 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/python-web.scm (python-h2): Update to 4.0.0. > * gnu/packages/python-web.scm (python-h2): Update home-page > --- > gnu/packages/python-web.scm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm > index 1a391a5060..4ef8d71f45 100644 > --- a/gnu/packages/python-web.scm > +++ b/gnu/packages/python-web.scm > @@ -919,13 +919,13 @@ and that could be anything you want.") > (define-public python-h2 > (package > (name "python-h2") > - (version "3.2.0") > + (version "4.0.0") > (source > (origin > (method url-fetch) > (uri (pypi-uri "h2" version)) > (sha256 > - (base32 "051gg30aca26rdxsmr9svwqm06pdz9bv21ch4n0lgi7jsvml2pw7")))) > + (base32 "0gar809k91d04ky3fqjidfxgbcdnj9hmm09csmz8aynnkl4wfymv")))) > (build-system python-build-system) > (arguments > `(#:phases > @@ -939,7 +939,7 @@ and that could be anything you want.") > (propagated-inputs > `(("python-hpack" ,python-hpack) > ("python-hyperframe" ,python-hyperframe))) > - (home-page "https://github.com/python-hyper/hyper-h2") > + (home-page "https://github.com/python-hyper/h2") > (synopsis "HTTP/2 State-Machine based protocol implementation") > (description > "This module contains a pure-Python implementation of a HTTP/2 protocol I verified the dependencies still build and reproducibility (using --check). I also opened the tarball and there doesn't appear to be malware inside. The diff between 3.2.0 and 4.0.0 doesn't seem suspicious, but I am not familiar with how the HTTP/2 protocol works. The new home page appears correct: the old home page redirects to the new. This patch LGTM. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Mon, 19 Jul 2021 12:06:01 GMT) Full text and rfc822 format available.Message #107 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 01/24] gnu: Add pyotherside. Date: Mon, 19 Jul 2021 14:05:45 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/qt.scm (pyotherside): New variable. > --- > gnu/packages/qt.scm | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm > index 19fcc2f37e..3e91a82a46 100644 > --- a/gnu/packages/qt.scm > +++ b/gnu/packages/qt.scm > @@ -3044,3 +3044,36 @@ being fully customizable and easy to extend.") > also compatible with SGI and TGS Open Inventor, and the API is based on the API > of the InventorXt GUI component toolkit.") > (license license:bsd-3)))) > + > +(define-public pyotherside > + (let ((commit-ref "8f7e67980f7ceb2d0fc40a9568d3b10c640a8d74") > + (revision "1")) > + (package > + (inherit qtsvg) Why are you inheriting from 'qtsvg'? 'pyotherside' isn't a variant of 'qtsvg'. > + (name "pyotherside") > + (version (git-version "1.5.9" revision commit-ref)) > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/thp/pyotherside") > + (commit commit-ref))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1kq8v2inwx4j9idsdxwkjas4nqyfwzwfwiiwpjqr8ggcx1z9gvi3")))) The source code seems ok. > + ((#:tests? _ #f) #f))) ;; Plugin must be installed before testing You could move the 'check' phase after the 'install' phase, then #:tests? #f might not be required. > + (license license:isc)))) This license seems correct. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Mon, 19 Jul 2021 12:19:02 GMT) Full text and rfc822 format available.Message #110 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 06/24] gnu: Add python-logbook. Date: Mon, 19 Jul 2021 14:18:16 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/python-xyz.scm (python-logbook): New variable. > --- > gnu/packages/python-xyz.scm | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) > > diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm > index 6831e2365b..bb3997501b 100644 > --- a/gnu/packages/python-xyz.scm > +++ b/gnu/packages/python-xyz.scm > @@ -26034,3 +26034,33 @@ HTML cleaner in lxml to make the result both valid and safe.") > and MIME type checking the magic numbers signature of a file or buffer. This > is a Python port from filetype Go package.") > (license license:x11))) > + > +(define-public python-logbook > + (package > + (name "python-logbook") > + (version "1.5.3") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "Logbook" version)) > + (sha256 > + (base32 > + "1s1gyfw621vid7qqvhddq6c3z2895ci4lq3g0r1swvpml2nm9x36")))) > + (build-system python-build-system) ;; TODO: fix native extension build > + ;; Fails with gcc trying to compile unexistent file 'logbook/_speedups.c'. > + ;; Apparently it is generated from logbook/_speedups.pyx, I do not know if > + ;; an extra build phase is needed to generate this file. > + (arguments > + `(#:tests? #f)) ;; Needs native extension, which for some reason will > + ;; not be compiled. It apparently is a file to be be processed by 'cython'. See, e.g., python-cytoolz and python-pyclipper for how to use 'cython'. > + (propagated-inputs > + `(("python-jinja2" ,python-jinja2) > + ("python-sqlalchemy" ,python-sqlalchemy) > + ("python-redis" ,python-redis) > + ("python-pyzmq" ,python-pyzmq) > + ("python-execnet" ,python-execnet) > + ("python-brotli" ,python-brotli))) > + (home-page "https://logbook.readthedocs.io/en/stable") > + (synopsis "Python logging library") > + (description "An awesome logging implementation that is fun to use.") From (guix)Synopses and descriptions: ‘Please avoid marketing phrases such as “world-leading”, “industrial-strength”, and “next-generation”, and avoid superlatives like “the most advanced”—they are not helpful to users looking for a package and may even sound suspicious. Instead, try to be factual, mentioning use cases and features.’ 'awesome' and 'is fun to use' is marketing, and not very informative. > + (license license:bsd-1))) The file LICENSE isn't the 1-clause BSD. Rather, it appears to be the 3-clause BSD, with ‘the name of the copyright holder’ removed. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Tue, 20 Jul 2021 13:12:01 GMT) Full text and rfc822 format available.Message #113 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 14/24] gnu: python-aiohttp-socks: Update to 0.6.0. Date: Tue, 20 Jul 2021 15:11:14 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/python-web.scm (python-aiohttp-socks): Update to 0.6.0. > --- > 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 cf4bdc2dab..d4a959aacf 100644 > --- a/gnu/packages/python-web.scm > +++ b/gnu/packages/python-web.scm > @@ -238,14 +238,14 @@ Callback Hell. > (define-public python-aiohttp-socks > (package > (name "python-aiohttp-socks") > - (version "0.5.5") > + (version "0.6.0") > (source > (origin > (method url-fetch) > (uri (pypi-uri "aiohttp_socks" version)) > (sha256 > (base32 > - "0jmhb0l1w8k1nishij3awd9zv8zbyb5l35a2pdalrqxxasbhbcif")))) > + "04w010bvi719ifpc3sshav95k10hf9nq8czn9yglkj206yxcypdr")))) The source code of the new version seems ok (no malware). The diff between 0.5.5 and 0.6.0 also seems ok. The package build reproducibly (using --check & --rounds). This update LGTM. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Wed, 21 Jul 2021 13:46:02 GMT) Full text and rfc822 format available.Message #116 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 15/24] gnu: Add python-aioresponses. Date: Wed, 21 Jul 2021 15:44:47 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/python-web.scm (python-aioresponses): New variable. > --- > gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) > > diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm > index d4a959aacf..3a01a8c33c 100644 > --- a/gnu/packages/python-web.scm > +++ b/gnu/packages/python-web.scm > @@ -6054,3 +6054,31 @@ your code non-blocking and speedy.") > "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling) > functionality.") > (license license:asl2.0))) > + > +(define-public python-aioresponses > + (package > + (name "python-aioresponses") > + (version "0.7.2") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "aioresponses" version)) > + (sha256 > + (base32 > + "16p8mdyfirddrsay62ji7rwcrqmmzxzf2isdbfm9cj5p338rbr42")))) It build successfully and the source code doesn't appear to contain malware (*) or anything pre-built. (*) includes propietary software > + (build-system python-build-system) > + (arguments > + `(#:tests? #f)) ;; Tests make http requests > + (propagated-inputs > + `(("python-aiohttp" ,python-aiohttp))) > + (native-inputs > + `(("python-pbr" ,python-pbr))) > + (home-page "https://github.com/pnuckowski/aioresponses") > + (synopsis "Mock out requests made by ClientSession from aiohttp package") Either drop the 'package", or make this "... from the aiohttp package". > + (description "Aioresponses is a helper to mock/fake web requests in python > +aiohttp package. For requests module there are a lot of packages that help us ‘in python aiohttp package’ --> maybe ‘with aiohttp’. You can drop the "us" in "that help is" > +with testing (eg. httpretty, responses, requests-mock). When it comes to it's e.g., not eg. > +testing asynchronous HTTP requests it is a bit harder (at least at the beginning). ‘(at least in the beginning)’ doesn't really inform people searching for which package they can use. I'd suggest dropping it. > +The purpose of this package is to provide an easy way to test asynchronous HTTP > +requests.") This sentence seems rather informative, clear and to the point. I'd move it to the beginning of the description. > + (license license:x11))) It's the expat license not the x11 license. Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sat, 24 Jul 2021 15:23:01 GMT) Full text and rfc822 format available.Message #119 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 09/24] gnu: python-hyperframe: Update to 6.0.1. Date: Sat, 24 Jul 2021 17:22:30 +0200
[Message part 1 (text/plain, inline)]
slg via Guix-patches via schreef op za 19-06-2021 om 22:07 [-0300]: > * gnu/packages/python-web.scm (python-hyperframe): Update to 6.0.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 86a732fa1b..1a391a5060 100644 > --- a/gnu/packages/python-web.scm > +++ b/gnu/packages/python-web.scm > @@ -829,13 +829,13 @@ follow links and submit forms. It doesn’t do JavaScript.") > (define-public python-hyperframe > (package > (name "python-hyperframe") > - (version "5.2.0") > + (version "6.0.1") > (source > (origin > (method url-fetch) > (uri (pypi-uri "hyperframe" version)) > (sha256 > - (base32 "07xlf44l1cw0ghxx46sbmkgzil8vqv8kxwy42ywikiy35izw3xd9")))) > + (base32 "055951gyhnjqpa2al52rj34g8yrls9inyn56n7nfkj0x4d300ldf")))) The package builds reproducibly, and looking at the diff of the tarball for 5.2.0 and 6.0.1, no malware appears to have been introduced. The dependency 'python-hypercorn' now fails to compile (*). Aside from that, this patch LGTM. This build failure seems to be caused by the update of python-h11 (and not python-hyperframe), however. Greetings, Maxime. (*): Relevant part of the build log: starting phase `check' ============================= test session starts ============================== platform linux -- Python 3.8.2, pytest-5.3.5, py-1.8.1, pluggy-0.13.1 -- /gnu/store/f8s95qc6dfhl0r45m70hczw5zip0xjxq-python-wrapper-3.8.2/bin/python cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/tmp/guix-build-python-hypercorn-0.10.2.drv-0/Hypercorn-0.10.2/.hypothesis/examples') rootdir: /tmp/guix-build-python-hypercorn-0.10.2.drv-0/Hypercorn-0.10.2, inifile: setup.cfg, testpaths: tests plugins: hypothesis-5.4.1, asyncio-0.10.0, cov-2.8.1, trio-0.6.0 collecting ... collected 170 items [...] tests/middleware/test_wsgi.py::test_build_environ_encoding PASSED [ 44%] tests/protocol/test_h11.py::test_protocol_send_response Task was destroyed but it is pending! task: <Task pending name='Task-42' coro=<TCPServer.run() running at /gnu/store/4abyp273l559v0adf65grkvsz3s1d9bc-python-hypercorn-0.10.2/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py:79> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ffff58a4610>()]>> Exception ignored in: <coroutine object TCPServer._read_data at 0x7ffff57f0340> Traceback (most recent call last): File "/gnu/store/4abyp273l559v0adf65grkvsz3s1d9bc-python-hypercorn-0.10.2/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py", line 103, in _read_data data = await self.reader.read(MAX_RECV) File "/tmp/guix-build-python-hypercorn-0.10.2.drv-0/Hypercorn-0.10.2/tests/asyncio/helpers.py", line 21, in read return await self.data.get() File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/asyncio/queues.py", line 165, in get getter.cancel() # Just in case getter is not done yet. File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/asyncio/base_events.py", line 719, in call_soon self._check_closed() File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Task was destroyed but it is pending! task: <Task pending name='Task-45' coro=<_call_later() running at /gnu/store/4abyp273l559v0adf65grkvsz3s1d9bc-python-hypercorn-0.10.2/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py:149> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ffff58a4670>()]>> Task was destroyed but it is pending! task: <Task pending name='Task-53' coro=<TCPServer.run() running at /gnu/store/4abyp273l559v0adf65grkvsz3s1d9bc-python-hypercorn-0.10.2/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py:79> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ffff58848e0>()]>> Exception ignored in: <coroutine object TCPServer._read_data at 0x7ffff57b0940> Traceback (most recent call last): File "/gnu/store/4abyp273l559v0adf65grkvsz3s1d9bc-python-hypercorn-0.10.2/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py", line 103, in _read_data data = await self.reader.read(MAX_RECV) File "/tmp/guix-build-python-hypercorn-0.10.2.drv-0/Hypercorn-0.10.2/tests/asyncio/helpers.py", line 21, in read return await self.data.get() File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/asyncio/queues.py", line 165, in get getter.cancel() # Just in case getter is not done yet. File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/asyncio/base_events.py", line 719, in call_soon self._check_closed() File "/gnu/store/9w9jvy3bgjg4qaqmrij01nbppiccqr7c-python-3.8.2/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed Task was destroyed but it is pending! task: <Task pending name='Task-55' coro=<H2Protocol.send_task() running at /gnu/store/4abyp273l559v0adf65grkvsz3s1d9bc-python-hypercorn-0.10.2/lib/python3.8/site-packages/hypercorn/protocol/h2.py:144> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ffff58fc790>()]>> Task was destroyed but it is pending! task: <Task pending name='Task-60' coro=<_call_later() running at /gnu/store/4abyp273l559v0adf65grkvsz3s1d9bc-python-hypercorn-0.10.2/lib/python3.8/site-packages/hypercorn/asyncio/tcp_server.py:149> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7ffff589b220>()]>> FAILED [ 45%] tests/protocol/test_h11.py::test_protocol_send_data PASSED [ 45%] tests/protocol/test_h11.py::test_protocol_send_body FAILED [ 46%] tests/protocol/test_h11.py::test_protocol_send_stream_closed[True-expected0] PASSED [ 47%] tests/protocol/test_h11.py::test_protocol_send_stream_closed[False-expected1] PASSED [ 47%] tests/protocol/test_h11.py::test_protocol_instant_recycle PASSED [ 48%] tests/protocol/test_h11.py::test_protocol_send_end_data PASSED [ 48%] tests/protocol/test_h11.py::test_protocol_handle_closed PASSED [ 49%] tests/protocol/test_h11.py::test_protocol_handle_request PASSED [ 50%] tests/protocol/test_h11.py::test_protocol_handle_protocol_error PASSED [ 50%] tests/protocol/test_h11.py::test_protocol_handle_send_client_error PASSED [ 51%] tests/protocol/test_h11.py::test_protocol_handle_pipelining PASSED [ 51%] tests/protocol/test_h11.py::test_protocol_handle_continue_request PASSED [ 52%] tests/protocol/test_h11.py::test_protocol_handle_max_incomplete PASSED [ 52%] tests/protocol/test_h11.py::test_protocol_handle_h2c_upgrade PASSED [ 53%] tests/protocol/test_h11.py::test_protocol_handle_h2_prior PASSED [ 54%] tests/protocol/test_h11.py::test_protocol_handle_data_post_response PASSED [ 54%] tests/protocol/test_h11.py::test_protocol_handle_data_post_end PASSED [ 55%] tests/protocol/test_h11.py::test_protocol_handle_data_post_close PASSED [ 55%] tests/protocol/test_h2.py::test_stream_buffer_push_and_pop PASSED [ 56%] tests/protocol/test_h2.py::test_stream_buffer_drain PASSED [ 57%] tests/protocol/test_h2.py::test_stream_buffer_closed PASSED [ 57%] tests/protocol/test_h2.py::test_stream_buffer_complete PASSED [ 58%] tests/protocol/test_h2.py::test_protocol_handle_protocol_error PASSED [ 58%] tests/protocol/test_http_stream.py::test_handle_request_http_1[1.0] PASSED [ 59%] tests/protocol/test_http_stream.py::test_handle_request_http_1[1.1] PASSED [ 60%] tests/protocol/test_http_stream.py::test_handle_request_http_2 PASSED [ 60%] tests/protocol/test_http_stream.py::test_handle_body PASSED [ 61%] tests/protocol/test_http_stream.py::test_handle_end_body PASSED [ 61%] tests/protocol/test_http_stream.py::test_handle_closed PASSED [ 62%] tests/protocol/test_http_stream.py::test_send_response PASSED [ 62%] tests/protocol/test_http_stream.py::test_invalid_server_name PASSED [ 63%] tests/protocol/test_http_stream.py::test_send_push PASSED [ 64%] tests/protocol/test_http_stream.py::test_send_app_error PASSED [ 64%] tests/protocol/test_http_stream.py::test_send_invalid_message_given_state[ASGIHTTPState.REQUEST-not_a_real_type] PASSED [ 65%] tests/protocol/test_http_stream.py::test_send_invalid_message_given_state[ASGIHTTPState.RESPONSE-http.response.start] PASSED [ 65%] tests/protocol/test_http_stream.py::test_send_invalid_message_given_state[ASGIHTTPState.CLOSED-http.response.start] PASSED [ 66%] tests/protocol/test_http_stream.py::test_send_invalid_message_given_state[ASGIHTTPState.CLOSED-http.response.body] PASSED [ 67%] tests/protocol/test_http_stream.py::test_send_invalid_message[201 NO CONTENT-headers0-] PASSED [ 67%] tests/protocol/test_http_stream.py::test_send_invalid_message[200-headers1-] PASSED [ 68%] tests/protocol/test_http_stream.py::test_send_invalid_message[200-headers2-Body] PASSED [ 68%] tests/protocol/test_http_stream.py::test_stream_idle PASSED [ 69%] tests/protocol/test_http_stream.py::test_closure PASSED [ 70%] tests/protocol/test_http_stream.py::test_closed_app_send_noop PASSED [ 70%] tests/protocol/test_ws_stream.py::test_buffer PASSED [ 71%] tests/protocol/test_ws_stream.py::test_buffer_frame_too_large PASSED [ 71%] tests/protocol/test_ws_stream.py::test_buffer_mixed_types[data0] PASSED [ 72%] tests/protocol/test_ws_stream.py::test_buffer_mixed_types[data1] PASSED [ 72%] tests/protocol/test_ws_stream.py::test_handshake_validity[headers0-1.0-False] PASSED [ 73%] tests/protocol/test_ws_stream.py::test_handshake_validity[headers1-1.1-True] PASSED [ 74%] tests/protocol/test_ws_stream.py::test_handshake_validity[headers2-1.1-False] PASSED [ 74%] tests/protocol/test_ws_stream.py::test_handshake_validity[headers3-1.1-False] PASSED [ 75%] tests/protocol/test_ws_stream.py::test_handshake_validity[headers4-2-True] PASSED [ 75%] tests/protocol/test_ws_stream.py::test_handshake_validity[headers5-2-False] PASSED [ 76%] tests/protocol/test_ws_stream.py::test_handshake_accept_http1 PASSED [ 77%] tests/protocol/test_ws_stream.py::test_handshake_accept_http2 PASSED [ 77%] tests/protocol/test_ws_stream.py::test_handle_request PASSED [ 78%] tests/protocol/test_ws_stream.py::test_handle_connection PASSED [ 78%] tests/protocol/test_ws_stream.py::test_handle_closed PASSED [ 79%] tests/protocol/test_ws_stream.py::test_send_accept PASSED [ 80%] tests/protocol/test_ws_stream.py::test_send_reject PASSED [ 80%] tests/protocol/test_ws_stream.py::test_invalid_server_name PASSED [ 81%] tests/protocol/test_ws_stream.py::test_send_app_error_handshake PASSED [ 81%] tests/protocol/test_ws_stream.py::test_send_app_error_connected PASSED [ 82%] tests/protocol/test_ws_stream.py::test_send_connection PASSED [ 82%] tests/protocol/test_ws_stream.py::test_pings PASSED [ 83%] tests/protocol/test_ws_stream.py::test_send_invalid_message_given_state[ASGIWebsocketState.HANDSHAKE-websocket.send] PASSED [ 84%] tests/protocol/test_ws_stream.py::test_send_invalid_message_given_state[ASGIWebsocketState.RESPONSE-websocket.accept] PASSED [ 84%] tests/protocol/test_ws_stream.py::test_send_invalid_message_given_state[ASGIWebsocketState.RESPONSE-websocket.send] PASSED [ 85%] tests/protocol/test_ws_stream.py::test_send_invalid_message_given_state[ASGIWebsocketState.CONNECTED-websocket.http.response.start] PASSED [ 85%] tests/protocol/test_ws_stream.py::test_send_invalid_message_given_state[ASGIWebsocketState.CONNECTED-websocket.http.response.body] PASSED [ 86%] tests/protocol/test_ws_stream.py::test_send_invalid_message_given_state[ASGIWebsocketState.CLOSED-websocket.send] PASSED [ 87%] tests/protocol/test_ws_stream.py::test_send_invalid_message_given_state[ASGIWebsocketState.CLOSED-websocket.http.response.start] PASSED [ 87%] tests/protocol/test_ws_stream.py::test_send_invalid_message_given_state[ASGIWebsocketState.CLOSED-websocket.http.response.body] PASSED [ 88%] tests/protocol/test_ws_stream.py::test_send_invalid_http_message[201 NO CONTENT-headers0-] PASSED [ 88%] tests/protocol/test_ws_stream.py::test_send_invalid_http_message[200-headers1-] PASSED [ 89%] tests/protocol/test_ws_stream.py::test_send_invalid_http_message[200-headers2-Body] PASSED [ 90%] tests/protocol/test_ws_stream.py::test_stream_idle[ASGIWebsocketState.HANDSHAKE-False] PASSED [ 90%] tests/protocol/test_ws_stream.py::test_stream_idle[ASGIWebsocketState.CONNECTED-False] PASSED [ 91%] tests/protocol/test_ws_stream.py::test_stream_idle[ASGIWebsocketState.RESPONSE-False] PASSED [ 91%] tests/protocol/test_ws_stream.py::test_stream_idle[ASGIWebsocketState.CLOSED-True] PASSED [ 92%] tests/protocol/test_ws_stream.py::test_stream_idle[ASGIWebsocketState.HTTPCLOSED-True] PASSED [ 92%] tests/protocol/test_ws_stream.py::test_closure PASSED [ 93%] tests/protocol/test_ws_stream.py::test_closed_app_send_noop PASSED [ 94%] tests/trio/test_keep_alive.py::test_http1_keep_alive_pre_request PASSED [ 94%] tests/trio/test_keep_alive.py::test_http1_keep_alive_during PASSED [ 95%] tests/trio/test_keep_alive.py::test_http1_keep_alive PASSED [ 95%] tests/trio/test_keep_alive.py::test_http1_keep_alive_pipelining PASSED [ 96%] tests/trio/test_lifespan.py::test_startup_timeout_error PASSED [ 97%] tests/trio/test_lifespan.py::test_startup_failure PASSED [ 97%] tests/trio/test_sanity.py::test_http1_request PASSED [ 98%] tests/trio/test_sanity.py::test_http1_websocket PASSED [ 98%] tests/trio/test_sanity.py::test_http2_request PASSED [ 99%] tests/trio/test_sanity.py::test_http2_websocket PASSED [100%] =================================== FAILURES =================================== _________________________ test_protocol_send_response __________________________ protocol = <hypercorn.protocol.h11.H11Protocol object at 0x7ffff5802730> @pytest.mark.asyncio async def test_protocol_send_response(protocol: H11Protocol) -> None: await protocol.stream_send(Response(stream_id=1, status_code=201, headers=[])) protocol.send.assert_called() > assert protocol.send.call_args_list == [ call( RawData( data=( b"HTTP/1.1 201 \r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\n" b"server: hypercorn-h11\r\nconnection: close\r\n\r\n" ) ) ) ] E AssertionError: assert [call(RawData(data=b'HTTP/1.1 201 \r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nConnection: close\r\n\r\n', address=None))] == [call(RawData(data=b'HTTP/1.1 201 \r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nconnection: close\r\n\r\n', address=None))] E At index 0 diff: call(RawData(data=b'HTTP/1.1 201 \r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nConnection: close\r\n\r\n', address=None)) != call(RawData(data=b'HTTP/1.1 201 \r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nconnection: close\r\n\r\n', address=None)) E Full diff: E - [call(RawData(data=b'HTTP/1.1 201 \r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nConnection: close\r\n\r\n', address=None))] E ? ^ E + [call(RawData(data=b'HTTP/1.1 201 \r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nconnection: close\r\n\r\n', address=None))] E ? ^ protocol = <hypercorn.protocol.h11.H11Protocol object at 0x7ffff5802730> tests/protocol/test_h11.py:42: AssertionError ___________________________ test_protocol_send_body ____________________________ protocol = <hypercorn.protocol.h11.H11Protocol object at 0x7ffff4661ee0> @pytest.mark.asyncio async def test_protocol_send_body(protocol: H11Protocol) -> None: await protocol.handle( RawData(data=b"GET / HTTP/1.1\r\nHost: hypercorn\r\nConnection: close\r\n\r\n") ) await protocol.stream_send( Response(stream_id=1, status_code=200, headers=[(b"content-length", b"5")]) ) await protocol.stream_send(Body(stream_id=1, data=b"hello")) protocol.send.assert_called() > assert protocol.send.call_args_list == [ call( RawData( data=b"HTTP/1.1 200 \r\ncontent-length: 5\r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nconnection: close\r\n\r\n" # noqa: E501 ) ), call(RawData(data=b"hello")), ] E AssertionError: assert [call(RawData(data=b'HTTP/1.1 200 \r\ncontent-length: 5\r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nConnection: close\r\n\r\n', address=None)),\n call(RawData(data=b'hello', address=None))] == [call(RawData(data=b'HTTP/1.1 200 \r\ncontent-length: 5\r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nconnection: close\r\n\r\n', address=None)),\n call(RawData(data=b'hello', address=None))] E At index 0 diff: call(RawData(data=b'HTTP/1.1 200 \r\ncontent-length: 5\r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nConnection: close\r\n\r\n', address=None)) != call(RawData(data=b'HTTP/1.1 200 \r\ncontent-length: 5\r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nconnection: close\r\n\r\n', address=None)) E Full diff: E [ E - call(RawData(data=b'HTTP/1.1 200 \r\ncontent-length: 5\r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nConnection: close\r\n\r\n', address=None)), E ? ^ E + call(RawData(data=b'HTTP/1.1 200 \r\ncontent-length: 5\r\ndate: Thu, 01 Jan 1970 01:23:20 GMT\r\nserver: hypercorn-h11\r\nconnection: close\r\n\r\n', address=None)), E ? ^ E call(RawData(data=b'hello', address=None)), E ] protocol = <hypercorn.protocol.h11.H11Protocol object at 0x7ffff4661ee0> tests/protocol/test_h11.py:71: AssertionError =============================== warnings summary =============================== tests/protocol/test_h2.py::test_protocol_handle_protocol_error /gnu/store/436410968f8mpdlsn1pw456mpgwmbh4m-python-pytest-5.3.5/lib/python3.8/site-packages/_pytest/runner.py:105: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited item.funcargs = None -- Docs: https://docs.pytest.org/en/latest/warnings.html =================== 2 failed, 168 passed, 1 warning in 2.69s =================== command "pytest" "-vv" failed with status 1 builder for `/gnu/store/wbp6s3l9wspmi6lbkhzhx5m93lqrfdm2-python-hypercorn-0.10.2.drv' failed with exit code 1 build of /gnu/store/wbp6s3l9wspmi6lbkhzhx5m93lqrfdm2-python-hypercorn-0.10.2.drv failed View build log at '/var/log/guix/drvs/wb/p6s3l9wspmi6lbkhzhx5m93lqrfdm2-python-hypercorn-0.10.2.drv.bz2'. guix build: error: build of `/gnu/store/wbp6s3l9wspmi6lbkhzhx5m93lqrfdm2-python-hypercorn-0.10.2.drv' failed sylviidae <at> butterfly ~/guix/git/guix [env]$
[signature.asc (application/pgp-signature, inline)]
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sat, 24 Jul 2021 18:31:02 GMT) Full text and rfc822 format available.Message #122 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Vinicius Monego <monego <at> posteo.net> To: Maxime Devos <maximedevos <at> telenet.be>, slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 09/24] gnu: python-hyperframe: Update to 6.0.1. Date: Sat, 24 Jul 2021 18:30:27 +0000
Em sáb, 2021-07-24 às 17:22 +0200, Maxime Devos escreveu: > The > dependency 'python-hypercorn' now fails to compile (*). Aside from > that, this > patch LGTM. This build failure seems to be caused by the update of > python-h11 > (and not python-hyperframe), however. That is true (see [1]). python-hypercorn will build again if updated to the latest version. About the patch, it seems that the convention is to name the matrix client "matrix-mirage", because "mirage" is registered to an older GTK image viewer [2, 3]. [1] http://issues.guix.gnu.org/48263 [2] https://repology.org/projects/?search=mirage [3] https://gitlab.com/thomasross/mirage
guix-patches <at> gnu.org
:bug#49123
; Package guix-patches
.
(Sat, 24 Jul 2021 18:43:02 GMT) Full text and rfc822 format available.Message #125 received at 49123 <at> debbugs.gnu.org (full text, mbox):
From: Maxime Devos <maximedevos <at> telenet.be> To: Vinicius Monego <monego <at> posteo.net>, slg <0x2d <at> disroot.org>, 49123 <at> debbugs.gnu.org, 48263 <at> debbugs.gnu.org Subject: Re: [bug#49123] [PATCH 09/24] gnu: python-hyperframe: Update to 6.0.1. Date: Sat, 24 Jul 2021 20:42:44 +0200
[Message part 1 (text/plain, inline)]
Vinicius Monego schreef op za 24-07-2021 om 18:30 [+0000]: > Em sáb, 2021-07-24 às 17:22 +0200, Maxime Devos escreveu: > > > The > > dependency 'python-hypercorn' now fails to compile (*). Aside from > > that, this > > patch LGTM. This build failure seems to be caused by the update of > > python-h11 > > (and not python-hyperframe), however. > > That is true (see [1]). python-hypercorn will build again if updated to > the latest version. Ok, we'll have to apply the '48263' patch before the '49123' patch series then. FWIW, the '48263' patch looks good to me, but I only looked at the patch itself and didn't do any other checks. A comment about the commit message though: > * gnu/packages/python-web.scm (hypercorn): Update to 0.11.2. > (python-h11): Update to 0.12.0. > [arguments]: Add 'test-target' keyword. Do not replace check phase. > [native-inputs]: Add python-pytest-runner. > --- > Both packages have to updated at the same time > or the hypercorn tests will fail (if either is updated first). I > rebuilt the h11 dependents succesfully. Why not include this rationale in the commit message itself? > [1] http://issues.guix.gnu.org/48263 Greetings, Maxime.
[signature.asc (application/pgp-signature, inline)]
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.