From: peter@polidoro.io
To: 55831@debbugs.gnu.org
Cc: Peter Polidoro <peter@polidoro.io>
Subject: [bug#55831] [PATCH 4/8] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0
Date: Wed, 8 Jun 2022 16:55:33 -0400 [thread overview]
Message-ID: <94f4b1482a4976400edbddc3bd0d5a32f4fda3ee.1654720996.git.peter@polidoro.io> (raw)
In-Reply-To: <cover.1654720996.git.peter@polidoro.io>
From: Peter Polidoro <peter@polidoro.io>
These packages seem to have cyclic dependencies on each other so they may need
to be updated together.
* gnu/packages/python-web.scm (python-httpcore): Update to 0.15.0.
---
gnu/packages/python-web.scm | 27 ++++++++++++++++++++-------
1 file changed, 20 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 58bdac622a..22c09af1ed 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5317,7 +5317,7 @@ (define-public python-vf-1
(define-public python-httpcore
(package
(name "python-httpcore")
- (version "0.14.7")
+ (version "0.15.0")
(source
(origin
;; PyPI tarball does not contain tests.
@@ -5327,15 +5327,20 @@ (define-public python-httpcore
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "0wdr28vf03l6yxhk8nrvhh7y7x18rqdcfzv1sb6jgzk9zmycrvc7"))))
+ (base32 "0skj8f85l52gl6x449wzaixcwsyayvn59iwn0df4b7ixlz6xhp8l"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-requirements
+ (lambda _
+ (substitute* "setup.py"
+ (("h11>=0\\.11,<0\\.13") "h11"))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "pytest" "-vv" "tests")))))))
+ (invoke "pytest" "-vv" "tests"
+ "-o""asyncio_mode=auto")))))))
(native-inputs
(list python-pytest
python-pytest-asyncio
@@ -5376,13 +5381,17 @@ (define-public python-httpcore-bootstrap
(hidden-package
(package/inherit python-httpcore
(name "python-httpcore-bootstrap")
- (arguments (list #:tests? #f))
+ (arguments
+ '(#:tests? #f
+ ;; sanity check fails when arguments overridden
+ #:phases (modify-phases %standard-phases
+ (delete 'sanity-check))))
(native-inputs '()))))
(define-public python-httpx
(package
(name "python-httpx")
- (version "0.22.0")
+ (version "0.23.0")
(source
(origin
;; PyPI tarball does not contain tests.
@@ -5392,7 +5401,7 @@ (define-public python-httpx
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1awr56488b66zyl3cx1f03lq2n07xdg5kb4l46vnsm59s6hr02c5"))))
+ (base32 "0bihm7ylq9ajxz8qyba0xp9qkwm7n06hk01ywkq2vpz65ix5hpdk"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -5478,7 +5487,11 @@ (define-public python-httpx-bootstrap
(hidden-package
(package/inherit python-httpx
(name "python-httpx-bootstrap")
- (arguments (list #:tests? #f))
+ (arguments
+ '(#:tests? #f
+ ;; sanity check fails when arguments overridden
+ #:phases (modify-phases %standard-phases
+ (delete 'sanity-check))))
(native-inputs '())
(propagated-inputs
(modify-inputs (package-propagated-inputs python-httpx)
--
2.36.1
next prev parent reply other threads:[~2022-06-08 20:57 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 14:27 [bug#55831] Add python-platformio and dependencies Peter Polidoro
2022-06-07 14:35 ` [bug#55831] [PATCH] gnu: Add python-starlette peter
2022-06-07 16:45 ` [bug#55831] [PATCH] Add extra dependencies to python-starlette peter
2022-06-07 17:08 ` [bug#55831] [PATCH] gnu: python-h11: Update to 0.13.0 peter
2022-06-07 17:13 ` [bug#55831] [PATCH] gnu: python-wsproto: Update to 1.1.0 peter
2022-06-07 20:09 ` [bug#55831] [PATCH] gnu: python-httpcore and python-httpx: Update to 0.15.0 and 0.23.0 peter
2022-06-07 20:26 ` [bug#55831] [PATCH] gnu: python-sanic-testing: Update requirements peter
2022-06-07 20:35 ` [bug#55831] [PATCH] gnu: python-aiofiles: Update to 0.8.0 peter
2022-06-07 21:02 ` [bug#55831] [PATCH] gnu: python-semantic-version: Update to 2.10.0 peter
2022-06-08 0:43 ` [bug#55831] [PATCH] gnu: Add python-platformio peter
2022-06-08 18:18 ` [bug#55831] [PATCH] Rename python-platformio to platformio peter
2022-06-08 18:56 ` Liliana Marie Prikler
2022-06-08 20:55 ` [bug#55831] [PATCH 0/8] Add platformio and dependencies peter
2022-06-08 20:55 ` [bug#55831] [PATCH 1/8] gnu: Add python-starlette peter
2022-06-08 20:55 ` [bug#55831] [PATCH 2/8] gnu: python-h11: Update to 0.13.0 peter
2022-06-08 20:55 ` [bug#55831] [PATCH 3/8] gnu: python-wsproto: Update to 1.1.0 peter
2022-06-08 20:55 ` peter [this message]
2022-06-08 20:55 ` [bug#55831] [PATCH 5/8] gnu: python-sanic-testing: Update requirements peter
2022-06-08 20:55 ` [bug#55831] [PATCH 6/8] gnu: python-aiofiles: Update to 0.8.0 peter
2022-06-08 20:55 ` [bug#55831] [PATCH 7/8] gnu: python-semantic-version: Update to 2.10.0 peter
2022-06-08 20:55 ` [bug#55831] [PATCH 8/8] gnu: Add platformio peter
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=94f4b1482a4976400edbddc3bd0d5a32f4fda3ee.1654720996.git.peter@polidoro.io \
--to=peter@polidoro.io \
--cc=55831@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.