unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 74580@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>
Subject: [bug#74580] [PATCH 12/14] gnu: python-httpcore: Update to 1.0.7.
Date: Thu, 28 Nov 2024 08:52:24 +0100	[thread overview]
Message-ID: <20241128075235.20929-12-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241128075235.20929-1-ngraves@ngraves.fr>

* gnu/packages/python-web.scm (python-httpcore): Update to 1.0.7.
[arguments]<#:test-flags>: Remove uneeded field.
[native-inputs]: Remove python-setuptools and python-wheel. Add
python-hatch-fancy-pypi-readme, and python-hatchling.
---
 gnu/packages/python-web.scm | 33 +++++++--------------------------
 1 file changed, 7 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4a409f535a..350ecad848 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6860,7 +6860,7 @@ (define-public python-vf-1
 (define-public python-httpcore
   (package
     (name "python-httpcore")
-    (version "0.17.0")
+    (version "1.0.7")
     (source
      (origin
        ;; PyPI tarball does not contain tests.
@@ -6870,39 +6870,19 @@ (define-public python-httpcore
              (commit  version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0qf2w6sgn51jd41a4k230jincrk6rchgc0k1bclxhyyzv44q4q8c"))))
+        (base32 "1wz54snks59m1mz2mv0i4p37zz2rrzd99gpg8sh3qkpck5h8lhc4"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:test-flags
-      '(list "--override-ini=asyncio_mode=auto"
-             "-k"
-             (string-join '("not test_ssl_request"
-                            ;; PytestUnraisableExceptionWarning
-                            "test_authenticated_socks5_request"
-                            "test_socks5_request"
-                            "test_socks5_request_connect_failed"
-                            "test_socks5_request_failed_to_provide_auth"
-                            "test_socks5_request_incorrect_auth"
-                            ;; marked with @pytest.mark.asyncio but it is not an async function
-                            "test_connection_pool_concurrency"
-                            "test_connection_pool_concurrency_same_domain_keepalive"
-                            "test_response_async_read"
-                            "test_response_async_streaming"
-                            ;; SSL connection has been closed
-                            "test_extra_info")
-                          " and not "))))
     (native-inputs
      (list nss-certs-for-test
+           python-hatch-fancy-pypi-readme
+           python-hatchling
            python-pytest
            python-pytest-asyncio
            python-pytest-cov
            python-pytest-httpbin
            python-pytest-trio
            python-uvicorn
-           python-setuptools
-           python-trustme
-           python-wheel))
+           python-trustme))
     (propagated-inputs
      (list python-anyio
            python-certifi
@@ -6936,7 +6916,8 @@ (define-public python-httpcore-bootstrap
    (package/inherit python-httpcore
      (name "python-httpcore-bootstrap")
      (arguments (list #:tests? #f))
-     (native-inputs (list python-setuptools python-wheel)))))
+     (native-inputs (list python-hatchling
+                          python-hatch-fancy-pypi-readme)))))
 
 (define-public python-httpx
   (package
-- 
2.46.0





  parent reply	other threads:[~2024-11-28  7:54 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-28  7:44 [bug#74580] [PATCH 00/14] [python-team] Nicolas Graves via Guix-patches via
2024-11-28  7:52 ` [bug#74580] [PATCH 01/14] gnu: python-prawcore: Update to 2.4.0 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 02/14] gnu: python-praw: Update to 7.8.1 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 03/14] gnu: giara: Update to 1.1.0 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 04/14] gnu: cpplint: Add missing native inputs Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 05/14] gnu: python-ads: Add missing native-inputs Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 06/14] gnu: python-tqdm: Update to 4.67.1 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 07/14] gnu: python-fsspec: Update to 2024.10.0 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 08/14] gnu: python-coverage: Update to 7.6.8 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 09/14] gnu: python-websockets: Update to 13.1 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 10/14] gnu: python-pytest-httpx: Update to 0.34.0 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 11/14] gnu: python-coveralls: Update to 4.0.1 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` Nicolas Graves via Guix-patches via [this message]
2024-11-28  7:52   ` [bug#74580] [PATCH 13/14] gnu: python-httpx: Update to 0.27.2 Nicolas Graves via Guix-patches via
2024-11-28  7:52   ` [bug#74580] [PATCH 14/14] gnu: python-joblib: Update to 1.4.2 Nicolas Graves via Guix-patches via
2024-11-28 16:01 ` [bug#74580] [PATCH 00/14] [python-team] Sharlatan Hellseher
2024-11-28 18:23 ` Sharlatan Hellseher

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241128075235.20929-12-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=74580@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).