From: Vinicius Monego <monego@posteo.net>
To: 53179@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#53179] [PATCH 2/3] gnu: python-httpx: Update to 0.19.0.
Date: Tue, 11 Jan 2022 05:24:28 +0000 [thread overview]
Message-ID: <20220111052429.34592-2-monego@posteo.net> (raw)
In-Reply-To: <20220111052429.34592-1-monego@posteo.net>
* gnu/packages/python-web.scm (python-httpx): Update to 0.19.0.
[arguments]: Adjust skipped tests in the custom 'check phase.
[propagated-inputs]: Add python-async-generator,
python-charset-normalizer. Remove python-chardet.
---
gnu/packages/python-web.scm | 24 +++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ccce679933..c41860f4c9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5089,17 +5089,16 @@ Some things HTTP Core does do:
(define-public python-httpx
(package
(name "python-httpx")
- (version "0.16.1")
+ (version "0.19.0")
(source
(origin
- ;; PyPI tarball does not contain tests.
- (method git-fetch)
+ (method git-fetch) ; no tests in PyPI
(uri (git-reference
(url "https://github.com/encode/httpx")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "00gmq45fckcqkj910bvd7pyqz1mvgsdvz4s0k7dzbnc5czzq1f4a"))))
+ (base32 "1w2wk6f07s6liyhsrq0qjj9vm2khp40kv85x91k70f1a8rwp2k3d"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -5107,16 +5106,10 @@ Some things HTTP Core does do:
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "pytest" "-vv" "-k"
- ;; These tests try to open an outgoing connection.
+ (invoke "python" "-m" "pytest" "-k"
(string-append
- "not test_connect_timeout"
- " and not test_that_send_cause_async_client_to_be_not_"
- "closed"
- " and not test_that_async_client_caused_warning_when_"
- "being_deleted"
- " and not test_that_send_cause_client_to_be_not_closed"
- " and not test_async_proxy_close"
+ ;; These tests open outgoing connections.
+ "not test_async_proxy_close"
" and not test_sync_proxy_close"))))))))
(native-inputs
(list python-autoflake
@@ -5136,9 +5129,10 @@ Some things HTTP Core does do:
python-trustme
python-uvicorn))
(propagated-inputs
- (list python-brotli
+ (list python-async-generator
+ python-brotli
python-certifi
- python-chardet
+ python-charset-normalizer
python-httpcore
python-idna
python-rfc3986
--
2.30.2
next prev parent reply other threads:[~2022-01-11 5:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-11 5:20 [bug#53179] [PATCH 0/3] Update httpx and add pytest-httpx Vinicius Monego
2022-01-11 5:24 ` [bug#53179] [PATCH 1/3] gnu: python-httpcore: Update to 0.13.7 Vinicius Monego
2022-01-11 5:24 ` Vinicius Monego [this message]
2022-01-11 5:24 ` [bug#53179] [PATCH 3/3] gnu: Add python-pytest-httpx Vinicius Monego
2022-01-14 21:08 ` [bug#53179] [PATCH v2 1/3] gnu: python-httpcore: Update to 0.13.7 Vinicius Monego
2022-01-14 21:08 ` [bug#53179] [PATCH v2 2/3] gnu: python-httpx: Update to 0.19.0 Vinicius Monego
2022-01-14 21:08 ` [bug#53179] [PATCH v2 3/3] gnu: Add python-pytest-httpx Vinicius Monego
2022-06-22 16:11 ` bug#53179: [PATCH 0/3] Update httpx and add pytest-httpx Hartmut Goebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220111052429.34592-2-monego@posteo.net \
--to=monego@posteo.net \
--cc=53179@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.