[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
139/242: gnu: python-httpcore: Update to 0.14.7 and enable tests.
From: |
guix-commits |
Subject: |
139/242: gnu: python-httpcore: Update to 0.14.7 and enable tests. |
Date: |
Thu, 12 May 2022 14:14:21 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit f17611f3bef3ee28a88b53a74e6e84bcfdbed966
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 36d7fb03f9..d658985520 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5254,7 +5254,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.
@@ -5264,34 +5264,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")
- 106/242: gnu: Add python-pytest-tornado., (continued)
- 106/242: gnu: Add python-pytest-tornado., guix-commits, 2022/05/12
- 91/242: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/05/12
- 120/242: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/05/12
- 116/242: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/05/12
- 122/242: gnu: Add python-sphinx-theme-builder., guix-commits, 2022/05/12
- 126/242: gnu: Add texlive-cbfonts-fd., guix-commits, 2022/05/12
- 135/242: gnu: Add python-rfc3339-validator., guix-commits, 2022/05/12
- 125/242: gnu: texlive-polyglossia: Rename and fix package., guix-commits, 2022/05/12
- 130/242: gnu: Add texlive-cm-lgc., guix-commits, 2022/05/12
- 137/242: gnu: Add python-openapi-spec-validator., guix-commits, 2022/05/12
- 139/242: gnu: python-httpcore: Update to 0.14.7 and enable tests.,
guix-commits <=
- 140/242: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/05/12
- 141/242: gnu: Add python-httpx-bootstrap., guix-commits, 2022/05/12
- 143/242: gnu: python-uvicorn: Update to 0.17.6., guix-commits, 2022/05/12
- 145/242: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/05/12
- 146/242: gnu: python-sqlalchemy: Update to 1.4.35., guix-commits, 2022/05/12
- 150/242: gnu: python-falcon: Update to 3.1.0., guix-commits, 2022/05/12
- 156/242: gnu: python-llvmlite: Update to 0.38.0., guix-commits, 2022/05/12
- 160/242: gnu: python-scikit-learn: Parallelize build and test suite., guix-commits, 2022/05/12
- 162/242: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/05/12
- 167/242: gnu: python-jupyter-protocol: Update to 0.2.0., guix-commits, 2022/05/12