[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
406/474: gnu: python-a2wsgi: Update to 1.10.7.
From: |
guix-commits |
Subject: |
406/474: gnu: python-a2wsgi: Update to 1.10.7. |
Date: |
Sat, 30 Nov 2024 18:21:04 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit f12a07802d6919ce4423dcf419d1740b4b7572e9
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Tue Nov 26 18:16:58 2024 +0000
gnu: python-a2wsgi: Update to 1.10.7.
* gnu/packages/python-web.scm (python-a2wsgi): Update to 1.10.7.
[arguments]<tests>: Enable most of them.
<test-flags>: Exclude test which introduce cycle.
[native-inputs]: Add python-pytest, python-httpx-bootstrap, and
python-pytest-asyncio.
Change-Id: Id171de02323e0db99c86fb7297be424a5ddc1d3b
---
gnu/packages/python-web.scm | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 66cdec4ad2..e680a40517 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -835,20 +835,32 @@ ASGI server.")
(define-public python-a2wsgi
(package
(name "python-a2wsgi")
- (version "1.7.0")
+ (version "1.10.7")
(source (origin
(method url-fetch)
(uri (pypi-uri "a2wsgi" version))
(sha256
(base32
- "1cmsbgfg0vp8pwqz8nmkbmdi0axis1yl34qb280h5ssh08ngc1m9"))))
+ "13ikyfmkx7hlrbg5rpcdm6kw4wcsy00giil3f72hpb6sw7vjyinf"))))
(build-system pyproject-build-system)
(arguments
- (list #:build-backend "pdm.backend"
- ;; Tests have a circular dependency on uvicorn.
- #:tests? #f))
- (native-inputs
- (list python-pdm-backend))
+ (list
+ #:test-flags
+ #~(list "-k" (string-join
+ (list "not test_starlette_stream_response"
+ "test_starlette_base_http_middleware"
+ "test_baize_stream_response")
+ " and not "))
+ #:build-backend "pdm.backend"))
+ (native-inputs
+ (list python-pdm-backend
+ python-pytest
+ ;; python-baize ; not packed yet
+ python-httpx-bootstrap
+ ;; Cycle: python-a2wsgi->python-uvicorn->
+ ;; python-httpx->python-starlette->python-a2wsgi
+ ;; python-starlette
+ python-pytest-asyncio))
(home-page "https://github.com/abersheeran/a2wsgi")
(synopsis "Convert WSGI to ASGI or vice versa")
(description
- 385/474: gnu: python-trio: Update to 0.27.0., (continued)
- 385/474: gnu: python-trio: Update to 0.27.0., guix-commits, 2024/11/30
- 386/474: gnu: python-pytest-trio: Update to 0.8.0., guix-commits, 2024/11/30
- 391/474: gnu: python-pytest-mypy-plugins: Update to 3.1.2., guix-commits, 2024/11/30
- 392/474: gnu: python-loguru: Update to 0.7.2., guix-commits, 2024/11/30
- 389/474: gnu: python-tornado-6: Update to 6.4.2., guix-commits, 2024/11/30
- 390/474: gnu: python-tenacity: Update to 9.0.0., guix-commits, 2024/11/30
- 395/474: gnu: python-ecdsa: Update to 0.19.0., guix-commits, 2024/11/30
- 402/474: gnu: python-aiofiles: Fix indentation., guix-commits, 2024/11/30
- 400/474: gnu: python-redis: Fix build., guix-commits, 2024/11/30
- 404/474: gnu: python-anyio: Update to 4.6.2., guix-commits, 2024/11/30
- 406/474: gnu: python-a2wsgi: Update to 1.10.7.,
guix-commits <=
- 408/474: gnu: python-starlette: Update to 0.41.3., guix-commits, 2024/11/30
- 410/474: gnu: python-betamax: Update to 0.9.0., guix-commits, 2024/11/30
- 409/474: gnu: Add python-installer., guix-commits, 2024/11/30
- 418/474: gnu: python-slotscheck: Update to 0.19.0., guix-commits, 2024/11/30
- 419/474: gnu: python-quart: Update to 0.19.9., guix-commits, 2024/11/30
- 421/474: gnu: python-jsonschema-specifications: Update to 2024.10.1., guix-commits, 2024/11/30
- 422/474: gnu: python-green: Adjust inputs., guix-commits, 2024/11/30
- 429/474: gnu: python-pyflakes: Update to 3.0.1., guix-commits, 2024/11/30
- 431/474: gnu: python-prawcore: Update to 2.4.0., guix-commits, 2024/11/30
- 424/474: gnu: python-openapi-spec-validator: Delete sanity check., guix-commits, 2024/11/30