diff options
| author | Marius Bakke <marius@gnu.org> | 2022-01-19 00:09:22 +0100 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2022-01-19 10:05:30 +0100 |
| commit | b8d00c6b96d9aba42346a1ca1337a837c185fed0 (patch) | |
| tree | e3b0474ccba904644355ad66f5169b12b0810cf9 /gnu/packages/python-web.scm | |
| parent | 7cbbf492009b7e345884647f052de16b85bf7921 (diff) | |
gnu: python-geventhttpclient: Update to 1.5.3.
* gnu/packages/python-web.scm (python-geventhttpclient): Update to 1.5.3.
[arguments]: Respect TESTS? in chech phase. Remove obsolete workarounds.
[propagated-inputs]: Add PYTHON-BROTLI.
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 8d554c85174..253781cd170 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -3170,13 +3170,13 @@ for the basic TCP/IP protocols.") | |||
| 3170 | (define-public python-geventhttpclient | 3170 | (define-public python-geventhttpclient |
| 3171 | (package | 3171 | (package |
| 3172 | (name "python-geventhttpclient") | 3172 | (name "python-geventhttpclient") |
| 3173 | (version "1.4.4") | 3173 | (version "1.5.3") |
| 3174 | (source (origin | 3174 | (source (origin |
| 3175 | (method url-fetch) | 3175 | (method url-fetch) |
| 3176 | (uri (pypi-uri "geventhttpclient" version)) | 3176 | (uri (pypi-uri "geventhttpclient" version)) |
| 3177 | (sha256 | 3177 | (sha256 |
| 3178 | (base32 | 3178 | (base32 |
| 3179 | "1hy4qm9d3r69n5199i7qjji1v7718n7cxbj8ggi0njify99m37pm")) | 3179 | "104p14p67xa5gch8dy2zqmzmjra31fflk1c1alrry8dp8bzwj3nq")) |
| 3180 | (modules '((guix build utils))) | 3180 | (modules '((guix build utils))) |
| 3181 | (snippet | 3181 | (snippet |
| 3182 | '(begin | 3182 | '(begin |
| @@ -3197,19 +3197,16 @@ for the basic TCP/IP protocols.") | |||
| 3197 | ((".*sock.last_seen_sni = None.*") | 3197 | ((".*sock.last_seen_sni = None.*") |
| 3198 | "")))) | 3198 | "")))) |
| 3199 | (replace 'check | 3199 | (replace 'check |
| 3200 | (lambda* (#:key inputs outputs #:allow-other-keys) | 3200 | (lambda* (#:key tests? #:allow-other-keys) |
| 3201 | (add-installed-pythonpath inputs outputs) | 3201 | (when tests? |
| 3202 | (invoke "py.test" "src/geventhttpclient/tests" "-v" | 3202 | (invoke "pytest" "src/geventhttpclient/tests" "-v" |
| 3203 | ;; Append the test modules to sys.path to avoid | 3203 | ;; Append the test modules to sys.path to avoid |
| 3204 | ;; namespace conflict which breaks SSL tests. | 3204 | ;; namespace conflict which breaks SSL tests. |
| 3205 | "--import-mode=append" | 3205 | "--import-mode=append"))))))) |
| 3206 | ;; XXX: This test fails with Python 3.8: | ||
| 3207 | ;; https://github.com/gwik/geventhttpclient/issues/119 | ||
| 3208 | "-k" "not test_cookielib_compatibility")))))) | ||
| 3209 | (native-inputs | 3206 | (native-inputs |
| 3210 | (list python-dpkt python-pytest)) | 3207 | (list python-dpkt python-pytest)) |
| 3211 | (propagated-inputs | 3208 | (propagated-inputs |
| 3212 | (list python-certifi python-gevent python-six)) | 3209 | (list python-brotli python-certifi python-gevent python-six)) |
| 3213 | (home-page "https://github.com/gwik/geventhttpclient") | 3210 | (home-page "https://github.com/gwik/geventhttpclient") |
| 3214 | (synopsis "HTTP client library for gevent") | 3211 | (synopsis "HTTP client library for gevent") |
| 3215 | (description "@code{python-geventhttpclient} is a high performance, | 3212 | (description "@code{python-geventhttpclient} is a high performance, |
