[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
133/166: gnu: python-httpcore: Update to 0.14.7 and enable tests.
From: |
guix-commits |
Subject: |
133/166: gnu: python-httpcore: Update to 0.14.7 and enable tests. |
Date: |
Tue, 19 Apr 2022 09:12:31 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit d3b27b1a2d4898e4a1adfdb1fe5f73f9dc938271
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 18 00:07:48 2022 -0400
gnu: python-httpcore: Update to 0.14.7 and enable tests.
* gnu/packages/python-web.scm (python-httpcore): Update to 0.14.7.
[tests?]: Delete argument.
[phases]{check}: Streamline and delete coverage related pytest options.
Strip trailing #t.
[native-inputs]: Delete python-autoflake, python-flake8,
python-flake8-bugbear, python-flake8-pie and python-mypy. Add
python-pytest-httpbin.
[propagated-inputs]: Add python-anyio, python-certifi and python-socksio.
---
gnu/packages/python-web.scm | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index a86a5a9add..8618cbd4f9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5253,7 +5253,7 @@ and serve updated contents upon changes to the
directory.")
(define-public python-httpcore
(package
(name "python-httpcore")
- (version "0.12.2")
+ (version "0.14.7")
(source
(origin
;; PyPI tarball does not contain tests.
@@ -5263,34 +5263,31 @@ and serve updated contents upon changes to the
directory.")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1nrwwfdqjfc2a1k3j41cdwkprwvplf95fwmypdl2aq2qgp3209q0"))))
+ (base32 "0wdr28vf03l6yxhk8nrvhh7y7x18rqdcfzv1sb6jgzk9zmycrvc7"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ; Tests hang at 98%
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "pytest" "-vv" "--cov=httpcore"
- "--cov=tests" "tests"))
- #t)))))
+ (invoke "pytest" "-vv" "tests")))))))
(native-inputs
- (list python-autoflake
- python-flake8
- python-flake8-bugbear
- python-flake8-pie
- python-isort
- python-mypy
- python-pytest
+ (list python-pytest
python-pytest-asyncio
python-pytest-cov
+ python-pytest-httpbin
python-pytest-trio
python-uvicorn
python-trustme))
(propagated-inputs
- (list python-h11 python-h2 python-sniffio python-trio
+ (list python-anyio
+ python-certifi
+ python-h11
+ python-h2
+ python-sniffio
+ python-socksio
+ python-trio
python-trio-typing))
(home-page "https://github.com/encode/httpcore")
(synopsis "Minimal, low-level HTTP client")
- 109/166: gnu: python-nbclient: Update to 0.6.0., (continued)
- 109/166: gnu: python-nbclient: Update to 0.6.0., guix-commits, 2022/04/19
- 101/166: gnu: Add python-ipyparallel-bootstrap., guix-commits, 2022/04/19
- 125/166: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/04/19
- 131/166: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/19
- 136/166: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/04/19
- 123/166: gnu: Add python-sphinx-sitemap., guix-commits, 2022/04/19
- 119/166: gnu: Add python-docrepr., guix-commits, 2022/04/19
- 102/166: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/19
- 129/166: gnu: Add python-rfc3339-validator., guix-commits, 2022/04/19
- 132/166: gnu: Add python-cbor2., guix-commits, 2022/04/19
- 133/166: gnu: python-httpcore: Update to 0.14.7 and enable tests.,
guix-commits <=
- 140/166: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/04/19
- 162/166: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/04/19
- 98/166: gnu: python-greenlet: Update to 1.1.2., guix-commits, 2022/04/19
- 95/166: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/04/19
- 112/166: gnu: Add texlive-lm-math., guix-commits, 2022/04/19
- 103/166: gnu: python-jupyter-core: Update to 4.10.0., guix-commits, 2022/04/19
- 120/166: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/19
- 114/166: gnu: Add python-jupyter-server-mathjax., guix-commits, 2022/04/19
- 111/166: gnu: Add texlive-unicode-math., guix-commits, 2022/04/19
- 117/166: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/19