[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
142/242: gnu: python-httpx: Update to 0.22.0.
From: |
guix-commits |
Subject: |
142/242: gnu: python-httpx: Update to 0.22.0. |
Date: |
Thu, 12 May 2022 14:14:21 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit b4c4c2f82e91736bfc623df2b3f61335ec702231
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 00:10:52 2022 -0400
gnu: python-httpx: Update to 0.22.0.
* gnu/packages/python-web.scm (python-httpx): Update to 0.22.0.
[phases]{check}: Add 'asyncio_mode=auto' pytest-asyncio option. Skip the
'test_main' test.
[native-inputs]: Delete python-autoflake, python-black, python-cryptography,
python-flake8, python-flake8-bugbear, python-flake8-pie, python-isort,
python-mypy and python-pytest-cov.
[propagated-inputs]: Add python-charset-normalizer.
---
gnu/packages/python-web.scm | 26 ++++++++++++--------------
1 file changed, 12 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 1aa5342e8d..3e024b4fae 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5319,7 +5319,7 @@ Some things HTTP Core does do:
(define-public python-httpx
(package
(name "python-httpx")
- (version "0.16.1")
+ (version "0.22.0")
(source
(origin
;; PyPI tarball does not contain tests.
@@ -5329,7 +5329,7 @@ Some things HTTP Core does do:
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "00gmq45fckcqkj910bvd7pyqz1mvgsdvz4s0k7dzbnc5czzq1f4a"))))
+ (base32 "1awr56488b66zyl3cx1f03lq2n07xdg5kb4l46vnsm59s6hr02c5"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -5337,7 +5337,8 @@ Some things HTTP Core does do:
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "pytest" "-vv" "-k"
+ (invoke "pytest" "-vv" "-o" "asyncio_mode=auto"
+ "-k"
;; These tests try to open an outgoing connection.
(string-append
"not test_connect_timeout"
@@ -5347,26 +5348,23 @@ Some things HTTP Core does do:
"being_deleted"
" and not test_that_send_cause_client_to_be_not_closed"
" and not test_async_proxy_close"
- " and not test_sync_proxy_close"))))))))
+ " and not test_sync_proxy_close"
+ ;; This test is apparently incompatible with
+ ;; python-click 8, fails with " AttributeError:
+ ;; 'function' object has no attribute 'name'".
+ " and not test_main"))))))))
(native-inputs
- (list python-autoflake
- python-black
- python-cryptography
- python-flake8
- python-flake8-bugbear
- python-flake8-pie
- python-isort
- python-mypy
+ (list python-cryptography
python-pytest
python-pytest-asyncio
python-pytest-trio
- python-pytest-cov
python-trio
python-trio-typing
python-trustme
python-uvicorn))
(propagated-inputs
- (list python-brotli
+ (list python-charset-normalizer
+ python-brotli
python-certifi
python-chardet
python-httpcore
- 81/242: gnu: Add python-skia-pathops., (continued)
- 81/242: gnu: Add python-skia-pathops., guix-commits, 2022/05/12
- 92/242: gnu: Add python-untangle., guix-commits, 2022/05/12
- 107/242: gnu: python-ipyparallel: Update to 8.2.1., guix-commits, 2022/05/12
- 84/242: gnu: Add python-ufo2ft., guix-commits, 2022/05/12
- 80/242: gnu: Add skia., guix-commits, 2022/05/12
- 99/242: gnu: Add python-pytest-forked-next., guix-commits, 2022/05/12
- 119/242: gnu: Add python-docrepr., guix-commits, 2022/05/12
- 128/242: download: Add a mirror for CTAN., guix-commits, 2022/05/12
- 136/242: gnu: Add python-openapi-schema-validator., guix-commits, 2022/05/12
- 237/242: gnu: python-pytest-sanic: Update to 1.9.1., guix-commits, 2022/05/12
- 142/242: gnu: python-httpx: Update to 0.22.0.,
guix-commits <=
- 144/242: gnu: Add python-socksio., guix-commits, 2022/05/12
- 148/242: gnu: Add python-aioredis., guix-commits, 2022/05/12
- 157/242: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/05/12
- 168/242: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/05/12
- 201/242: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/05/12
- 192/242: gnu: python-cantools: Update to 37.0.7., guix-commits, 2022/05/12
- 214/242: gnu: python-sphinx: Update to 4.5.0., guix-commits, 2022/05/12
- 205/242: gnu: python-keyring: Fix test suite., guix-commits, 2022/05/12
- 218/242: gnu: python-sphinxcontrib-websupport: Update to 1.2.4., guix-commits, 2022/05/12
- 236/242: gnu: python-matplotlib: Update to 3.5.2., guix-commits, 2022/05/12