[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: |
Wed, 11 May 2022 18:03:18 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit baa6d8b2ce9ed201a387690c553689afafe963ca
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
- 121/242: gnu: Add python-pep621., (continued)
- 121/242: gnu: Add python-pep621., guix-commits, 2022/05/11
- 122/242: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/05/11
- 123/242: gnu: Add python-sphinx-sitemap., guix-commits, 2022/05/11
- 124/242: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/05/11
- 130/242: gnu: Add texlive-cm-lgc., guix-commits, 2022/05/11
- 131/242: gnu: Add texlive-xindy., guix-commits, 2022/05/11
- 135/242: gnu: Add python-rfc3339-validator., guix-commits, 2022/05/11
- 133/242: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/05/11
- 139/242: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/05/11
- 153/242: gnu: Add python-jupyterlab-server., guix-commits, 2022/05/11
- 142/242: gnu: python-httpx: Update to 0.22.0.,
guix-commits <=
- 151/242: gnu: Add python-dictpath., guix-commits, 2022/05/11
- 143/242: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/05/11
- 154/242: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/05/11
- 155/242: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/05/11
- 148/242: gnu: Add python-aioredis., guix-commits, 2022/05/11
- 156/242: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/05/11
- 160/242: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/05/11
- 159/242: gnu: python-pandas: Update to 1.4.2., guix-commits, 2022/05/11
- 161/242: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/05/11
- 163/242: gnu: python-jupyter-server: Update to 1.16.0., guix-commits, 2022/05/11