[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
136/166: gnu: python-httpx: Update to 0.22.0.
From: |
guix-commits |
Subject: |
136/166: gnu: python-httpx: Update to 0.22.0. |
Date: |
Tue, 19 Apr 2022 09:18:10 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 818cbc5ec08194d93fbddc5b32a31cf5da2ee0e1
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 563595e16d..0f3ebca673 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5318,7 +5318,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.
@@ -5328,7 +5328,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
@@ -5336,7 +5336,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"
@@ -5346,26 +5347,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
- 117/166: gnu: python-notebook: Update to 6.4.10., (continued)
- 117/166: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/19
- 121/166: gnu: Add python-pep621., guix-commits, 2022/04/19
- 122/166: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/04/19
- 123/166: gnu: Add python-sphinx-sitemap., guix-commits, 2022/04/19
- 124/166: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/19
- 125/166: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/19
- 126/166: gnu: python-ipython-documentation: Also build info and pdf targets., guix-commits, 2022/04/19
- 129/166: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/19
- 134/166: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/19
- 133/166: gnu: python-httpcore: Update to 0.14.7 and enable tests., guix-commits, 2022/04/19
- 136/166: gnu: python-httpx: Update to 0.22.0.,
guix-commits <=
- 137/166: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/04/19
- 138/166: gnu: Add python-socksio., guix-commits, 2022/04/19
- 140/166: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/19
- 141/166: gnu: Add python-pecan., guix-commits, 2022/04/19
- 142/166: gnu: Add python-aioredis., guix-commits, 2022/04/19
- 143/166: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/04/19
- 144/166: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/04/19
- 145/166: gnu: Add python-dictpath., guix-commits, 2022/04/19
- 146/166: gnu: Add python-openapi-core., guix-commits, 2022/04/19
- 149/166: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/04/19