From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 73203@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#73203] [PATCH 1/3] gnu: python-azure-core: Update to 1.28.0.
Date: Thu, 12 Sep 2024 19:21:22 +0200 [thread overview]
Message-ID: <20240912172133.3611-1-ngraves@ngraves.fr> (raw)
In-Reply-To: <20240912170817.27867-1-ngraves@ngraves.fr>
* gnu/packages/python-web.scm (python-azure-core): Update to 1.28.0.
[build-system]: Move to pyproject-build-system.
[arguments]<#:test-flags>: Use it.
<#:phases>: Move from check phase replacement to a lighter
'add-test-pythonpath pre-check phase.
[propagated-inputs]: Remove python-trio.
[native-inputs]: Remove python-msrest.
Change-Id: Ie4656ddaa1919144cc75a81feecb9ec774c9436f
---
gnu/packages/python-web.scm | 66 +++++++++++++++----------------------
1 file changed, 26 insertions(+), 40 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index e94d0c44b9..5b75fd06ea 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8069,59 +8069,45 @@ (define-public python-azure-common
(define-public python-azure-core
(package
(name "python-azure-core")
- (version "1.24.0")
+ (version "1.28.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "azure-core" version ".zip"))
(sha256
- (base32 "1r8bpn3zz02mj00qbaks5qq49wqd3mznkm90bchd1mxa3w21nnrl"))))
- (build-system python-build-system)
+ (base32 "1g9nv5pcjkskv37vsjgsm7am81y629flwkghnvd5dphzzikgrvp9"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
- (when tests?
- ;; This fails because devtools_testutils doesn't exist.
- (delete-file "tests/test_connection_string_parsing.py")
- ;; Needs network.
- (for-each delete-file
- '("tests/async_tests/test_streaming_async.py"
- "tests/test_streaming.py"))
- (add-installed-pythonpath inputs outputs)
- (setenv "PYTHONPATH"
- (string-append (getcwd) "/tests/testserver_tests/coretestserver:"
- (getenv "GUIX_PYTHONPATH")))
- (invoke "pytest"
- ;; Most of these need network access.
- "-m" "not asyncio and not live_test_only"
- "-k"
- ;; These need network access.
- (string-append
- "not test_example_raw_response_hook"
- " and not test_example_headers_policy"
- " and not test_example_request_id_policy"
- " and not test_example_user_agent_policy"
- " and not test_example_requests"
- " and not test_example_pipeline"
- " and not test_example_pipeline_client"
- " and not test_example_redirect_policy"
- " and not test_example_no_redirects"
- " and not test_example_retry_policy"
- " and not test_example_no_retries"
- " and not test_decompress_plain_no_header"
- " and not test_compress_plain_no_header"
- " and not test_decompress_compressed_no_header"))))))))
+ (list
+ #:test-flags
+ `(list ;; This fails because devtools_testutils doesn't exist.
+ "--ignore=tests/test_connection_string_parsing.py"
+ ;; These all need network access.
+ "--ignore=samples"
+ "--ignore=tests/async_tests/test_streaming_async.py"
+ "--ignore=tests/test_streaming.py"
+ "-m" "not asyncio and not live_test_only"
+ "-k" ,(string-append
+ "not test_decompress_plain_no_header"
+ " and not test_compress_plain_no_header"
+ " and not test_decompress_compressed_no_header"
+ " and not test_requests_socket_timeout"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'add-test-pythonpath
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (setenv "PYTHONPATH"
+ (string-append
+ (getcwd) "/tests/testserver_tests/coretestserver:"
+ (getenv "GUIX_PYTHONPATH")))))))))
(propagated-inputs
(list python-aiohttp
python-requests
python-six
- python-trio
python-typing-extensions))
(native-inputs
(list python-flask
- python-msrest
python-pytest
python-pytest-aiohttp
python-pytest-asyncio
--
2.46.0
next prev parent reply other threads:[~2024-09-12 17:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-12 17:06 [bug#73203] [PATCH 0/3] Fix python-azure packages Nicolas Graves via Guix-patches via
2024-09-12 17:21 ` Nicolas Graves via Guix-patches via [this message]
2024-09-12 17:21 ` [bug#73203] [PATCH 2/3] gnu: python-azure-storage-blob: Update to 12.22.0 Nicolas Graves via Guix-patches via
2024-09-12 17:21 ` [bug#73203] [PATCH 3/3] gnu: Remove python-msrest Nicolas Graves via Guix-patches via
2024-09-13 10:45 ` [bug#73203] QA review for 73203 Lars Bilke
2024-09-15 15:13 ` bug#73203: " Christopher Baines
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=20240912172133.3611-1-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=73203@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 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.