From 59a714057f8d44ecf93e960d3b1400b00531c889 Mon Sep 17 00:00:00 2001 From: Felix Lechner Date: Wed, 21 Dec 2022 06:48:21 -0800 Subject: gnu: Add python-pysimplesoap. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-web.scm (python-pysimplesoap): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python-web.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7daa1b636c..ac0fb6f8a7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7987,6 +7987,27 @@ (define-public python-zeep @end itemize") (license license:expat))) +(define-public python-pysimplesoap + (package + (name "python-pysimplesoap") + (version "1.16.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "PySimpleSOAP" version)) + (sha256 + (base32 + "1qb7dn8m1cjwzql7vqj9i1hsscb7nyhimmlp45jrpzxds38g9fxi")))) + (build-system python-build-system) + (arguments + (list #:tests? #f)) ;tests fail due to attempted web access + (home-page "https://github.com/pysimplesoap/pysimplesoap") + (synopsis "Simple and lightweight SOAP library for Python") + (description + "This package provides a simple and lightweight Python SOAP library for +client and server webservices interfaces, aimed to be as small and easy as +possible, supporting most common functionality.") + (license license:lgpl3+))) + (define-public python-http-client (package (name "python-http-client") -- cgit v1.2.3 From 962ba701090f0dd3da67c353bb917eb0742602a7 Mon Sep 17 00:00:00 2001 From: jgart Date: Thu, 13 Oct 2022 01:12:32 -0500 Subject: gnu: python-responses: Update to 0.22.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-web.scm (python-responses): Update to 0.22.0. [arguments]: Enable tests. [native-inputs]: Add python-pytest, python-pytest-asyncio, and python-pytest-httpserver. [inputs]: Add python-types-toml. Signed-off-by: 宋文武 --- gnu/packages/python-web.scm | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index ac0fb6f8a7..20e57db980 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -3571,22 +3571,31 @@ (define-public python-cookies (define-public python-responses (package (name "python-responses") - (version "0.10.6") + (version "0.22.0") (source (origin (method url-fetch) (uri (pypi-uri "responses" version)) (sha256 (base32 - "147pacwkkqy3qf3hr33fnl1xbzgw0zsm3qppvvy9qhq8h069qbah")))) + "0bhhffwl0zqin4xc89nc97ynzr7l3j4b8rjqk9w9flnj2cmcnsir")))) (build-system python-build-system) (arguments - `(;; Test suite is not distributed: - ;; https://github.com/getsentry/responses/issues/38 - #:tests? #f)) + '(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-v"))))))) (native-inputs - (list python-mock)) + (list python-mock + python-pytest + python-pytest-asyncio + python-pytest-httpserver)) (propagated-inputs - (list python-requests python-cookies python-six)) + (list python-requests + python-cookies + python-six + python-types-toml)) (home-page "https://github.com/getsentry/responses") (synopsis "Utility for mocking out the `requests` Python library") (description "A utility library for mocking out the `requests` Python -- cgit v1.2.3 From b9e6e31877cdb96cceba4d1ec6268f86b824dec4 Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Sat, 21 Jan 2023 15:39:03 +0000 Subject: gnu: python-scrapy: Update to 2.7.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-web.scm (python-scrapy): Update to 2.7.1. Signed-off-by: 宋文武 --- gnu/packages/python-web.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 20e57db980..e7134677a9 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7740,13 +7740,13 @@ (define-public python-parsel (define-public python-scrapy (package (name "python-scrapy") - (version "2.6.1") + (version "2.7.1") (source (origin (method url-fetch) (uri (pypi-uri "Scrapy" version)) (sha256 - (base32 "09rqalbwcz9ix8h0992mzjs50sssxsmmh8w9abkrqchgknjmbzan")))) + (base32 "0kpi3hg2ycs6s8cg41r2zc1axd0rpnps8bnzg7wisjyjaf1l1yih")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3 From c76393f851017ded4c077eac14ddba0328fc709e Mon Sep 17 00:00:00 2001 From: Skylar Chan Date: Sat, 28 Jan 2023 19:05:15 -0500 Subject: gnu: whoogle-search: Update to 0.8.1. * gnu/packages/python-web.scm (whoogle-search): Update to 0.8.1. Signed-off-by: Christopher Baines --- gnu/packages/python-web.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e7134677a9..765a07a20c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4832,14 +4832,14 @@ (define-public python-google-api-client (define-public whoogle-search (package (name "whoogle-search") - (version "0.8.0") + (version "0.8.1") (source (origin (method url-fetch) (uri (pypi-uri "whoogle-search" version)) (sha256 (base32 - "0h8cl9bkd3vx17kbvcnmc8cy6pc29lxr0drxm84kj37ka788cj2g")))) - (build-system python-build-system) + "1kqkb23wb9a4a8zdky2066887vgv7ywhivhxi5nipkx07mf8v01k")))) + (build-system pyproject-build-system) (arguments (list ;; The tests need network access -- cgit v1.2.3 From add37404d9ef23018df059ae0de76bd62d0a443a Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Sat, 5 Nov 2022 12:25:04 -0300 Subject: gnu: hypercorn: Update to 0.14.3. * gnu/packages/python-web.scm (hypercorn): Update to 0.14.3. [source]: Fetch from GitHub. [build-system]: Switch to pyproject-build-system. [arguments]: Don't override the 'check phase. [native-inputs]: Add python-poetry-core. --- gnu/packages/python-web.scm | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 765a07a20c..758cd9124c 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -37,7 +37,7 @@ ;;; Copyright © 2020 Holger Peters ;;; Copyright © 2020 Noisytoot ;;; Copyright © 2020 Edouard Klein -;;; Copyright © 2020, 2021, 2022 Vinicius Monego +;;; Copyright © 2020, 2021, 2022, 2023 Vinicius Monego ;;; Copyright © 2020 Konrad Hinsen ;;; Copyright © 2020, 2022 Giacomo Leidi ;;; Copyright © 2021 Ekaitz Zarraga @@ -2059,22 +2059,17 @@ (define-public python-wsproto (define-public hypercorn (package (name "hypercorn") - (version "0.11.2") - (source - (origin - (method url-fetch) - (uri (pypi-uri "Hypercorn" version)) - (sha256 - (base32 "16kai5d12f05jr89mj611zslxqri4cd7ixcgd6yhl211qlcyg8av")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest"))))))) + (version "0.14.3") + (source (origin + (method git-fetch) ;PyPI does not have tests + (uri (git-reference + (url "https://github.com/pgjones/hypercorn") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hkph0sdr94hxmrq1grnh842snm561sw4az5q6a3ba9hqnrl890h")))) + (build-system pyproject-build-system) ;; Propagate because Hypercorn also exposes functionality over a module. (propagated-inputs (list python-h11 @@ -2086,6 +2081,7 @@ (define-public hypercorn (native-inputs (list python-hypothesis python-mock + python-poetry-core python-pytest python-pytest-asyncio python-pytest-cov @@ -2096,8 +2092,8 @@ (define-public hypercorn (description "Hypercorn is an ASGI web server based on the sans-io hyper, h11, h2, and wsproto libraries and inspired by Gunicorn. It supports HTTP/1, HTTP/2, -WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. It can -utilise asyncio, uvloop, or trio worker types.") +WebSockets (over HTTP/1 and HTTP/2), ASGI/2, and ASGI/3 specifications. It +can utilise asyncio, uvloop, or trio worker types.") (license license:expat))) (define-public python-hypercorn -- cgit v1.2.3