summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm52
1 files changed, 24 insertions, 28 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e5358ec5b27..4088bd3398d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -37,7 +37,7 @@
37;;; Copyright © 2020 Holger Peters <holger.peters@posteo.de> 37;;; Copyright © 2020 Holger Peters <holger.peters@posteo.de>
38;;; Copyright © 2020 Noisytoot <noisytoot@gmail.com> 38;;; Copyright © 2020 Noisytoot <noisytoot@gmail.com>
39;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com> 39;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
40;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net> 40;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego <monego@posteo.net>
41;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net> 41;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
42;;; Copyright © 2020, 2022 Giacomo Leidi <goodoldpaul@autistici.org> 42;;; Copyright © 2020, 2022 Giacomo Leidi <goodoldpaul@autistici.org>
43;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech> 43;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
@@ -1855,7 +1855,7 @@ for clients and servers.")
1855 (list unzip)) ; for unpacking the source 1855 (list unzip)) ; for unpacking the source
1856 (arguments 1856 (arguments
1857 `(#:tests? #f)) ; tests require python-pbr < 1.7.0 1857 `(#:tests? #f)) ; tests require python-pbr < 1.7.0
1858 (home-page "http://cthedot.de/cssutils/") 1858 (home-page "https://cthedot.de/cssutils/")
1859 (synopsis 1859 (synopsis
1860 "CSS Cascading Style Sheets library for Python") 1860 "CSS Cascading Style Sheets library for Python")
1861 (description 1861 (description
@@ -2059,22 +2059,17 @@ RFC6455, regardless of your programming paradigm.")
2059(define-public hypercorn 2059(define-public hypercorn
2060 (package 2060 (package
2061 (name "hypercorn") 2061 (name "hypercorn")
2062 (version "0.11.2") 2062 (version "0.14.3")
2063 (source 2063 (source (origin
2064 (origin 2064 (method git-fetch) ;PyPI does not have tests
2065 (method url-fetch) 2065 (uri (git-reference
2066 (uri (pypi-uri "Hypercorn" version)) 2066 (url "https://github.com/pgjones/hypercorn")
2067 (sha256 2067 (commit version)))
2068 (base32 "16kai5d12f05jr89mj611zslxqri4cd7ixcgd6yhl211qlcyg8av")))) 2068 (file-name (git-file-name name version))
2069 (build-system python-build-system) 2069 (sha256
2070 (arguments 2070 (base32
2071 `(#:phases 2071 "1hkph0sdr94hxmrq1grnh842snm561sw4az5q6a3ba9hqnrl890h"))))
2072 (modify-phases %standard-phases 2072 (build-system pyproject-build-system)
2073 (replace 'check
2074 (lambda* (#:key inputs outputs tests? #:allow-other-keys)
2075 (when tests?
2076 (add-installed-pythonpath inputs outputs)
2077 (invoke "python" "-m" "pytest")))))))
2078 ;; Propagate because Hypercorn also exposes functionality over a module. 2073 ;; Propagate because Hypercorn also exposes functionality over a module.
2079 (propagated-inputs 2074 (propagated-inputs
2080 (list python-h11 2075 (list python-h11
@@ -2086,6 +2081,7 @@ RFC6455, regardless of your programming paradigm.")
2086 (native-inputs 2081 (native-inputs
2087 (list python-hypothesis 2082 (list python-hypothesis
2088 python-mock 2083 python-mock
2084 python-poetry-core
2089 python-pytest 2085 python-pytest
2090 python-pytest-asyncio 2086 python-pytest-asyncio
2091 python-pytest-cov 2087 python-pytest-cov
@@ -2096,8 +2092,8 @@ RFC6455, regardless of your programming paradigm.")
2096 (description 2092 (description
2097 "Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and 2093 "Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and
2098wsproto libraries and inspired by Gunicorn. It supports HTTP/1, HTTP/2, 2094wsproto libraries and inspired by Gunicorn. It supports HTTP/1, HTTP/2,
2099WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. It can 2095WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. It
2100utilise asyncio, uvloop, or trio worker types.") 2096can utilise asyncio, uvloop, or trio worker types.")
2101 (license license:expat))) 2097 (license license:expat)))
2102 2098
2103(define-public python-hypercorn 2099(define-public python-hypercorn
@@ -4603,23 +4599,23 @@ available in Django, but is a standalone package.")
4603(define-public python-paste 4599(define-public python-paste
4604 (package 4600 (package
4605 (name "python-paste") 4601 (name "python-paste")
4606 (version "3.0.6") 4602 (version "3.5.2")
4607 (source 4603 (source
4608 (origin 4604 (origin
4609 (method url-fetch) 4605 (method url-fetch)
4610 (uri (pypi-uri "Paste" version)) 4606 (uri (pypi-uri "Paste" version))
4611 (sha256 4607 (sha256
4612 (base32 4608 (base32
4613 "14lbi9asn5agsdf7r97prkjpz7amgmp529lbvfhf0nv881xczah6")) 4609 "1xjakxrdvy4kgfy170gb9bl8zp9hqjjwh1h1vlik1pxw606399ym"))
4614 (patches (search-patches "python-paste-remove-timing-test.patch")) 4610 (patches (search-patches "python-paste-remove-timing-test.patch"))
4615 (modules '((guix build utils))) 4611 (modules '((guix build utils)))
4616 (snippet 4612 (snippet
4617 '(begin 4613 '(begin
4618 ;; This test calls out to the internet. 4614 ;; This test calls out to the internet.
4619 (delete-file "tests/test_proxy.py") #t)))) 4615 (delete-file "tests/test_proxy.py") #t))))
4620 (build-system python-build-system) 4616 (build-system pyproject-build-system)
4621 (native-inputs 4617 (native-inputs
4622 (list python-pytest python-pytest-runner python-nose)) 4618 (list python-pytest python-nose))
4623 (propagated-inputs 4619 (propagated-inputs
4624 (list python-six)) 4620 (list python-six))
4625 (home-page "https://pythonpaste.readthedocs.io/") 4621 (home-page "https://pythonpaste.readthedocs.io/")
@@ -4832,14 +4828,14 @@ Google search engine. Its module is called @code{googlesearch}.")
4832(define-public whoogle-search 4828(define-public whoogle-search
4833 (package 4829 (package
4834 (name "whoogle-search") 4830 (name "whoogle-search")
4835 (version "0.8.0") 4831 (version "0.8.1")
4836 (source (origin 4832 (source (origin
4837 (method url-fetch) 4833 (method url-fetch)
4838 (uri (pypi-uri "whoogle-search" version)) 4834 (uri (pypi-uri "whoogle-search" version))
4839 (sha256 4835 (sha256
4840 (base32 4836 (base32
4841 "0h8cl9bkd3vx17kbvcnmc8cy6pc29lxr0drxm84kj37ka788cj2g")))) 4837 "1kqkb23wb9a4a8zdky2066887vgv7ywhivhxi5nipkx07mf8v01k"))))
4842 (build-system python-build-system) 4838 (build-system pyproject-build-system)
4843 (arguments 4839 (arguments
4844 (list 4840 (list
4845 ;; The tests need network access 4841 ;; The tests need network access
@@ -6111,7 +6107,7 @@ displaying warnings when usaged in application code.")
6111 (base32 6107 (base32
6112 "0bdpcnd9pv0131dl08h4zbcwmgc45lyvq3pa224xwan5b3x4rr2f")))) 6108 "0bdpcnd9pv0131dl08h4zbcwmgc45lyvq3pa224xwan5b3x4rr2f"))))
6113 (build-system python-build-system) 6109 (build-system python-build-system)
6114 (home-page "http://docs.pylonsproject.org/projects/translationstring") 6110 (home-page "https://docs.pylonsproject.org/projects/translationstring")
6115 (synopsis "Internationalization tooling for the Pylons project") 6111 (synopsis "Internationalization tooling for the Pylons project")
6116 (description "This package provides a library used by various Pylons 6112 (description "This package provides a library used by various Pylons
6117project packages for internationalization (i18n) duties related to 6113project packages for internationalization (i18n) duties related to