[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
139/232: gnu: python-httpcore: Update to 0.14.7 and enable tests.
From: |
guix-commits |
Subject: |
139/232: gnu: python-httpcore: Update to 0.14.7 and enable tests. |
Date: |
Sun, 24 Apr 2022 23:59:02 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit e4388b3767d9a17ff6100456cdcc092f7fc9d827
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 90f9842253..c00640ef9b 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")
- 206/232: gnu: Remove python2-keyring., (continued)
- 206/232: gnu: Remove python2-keyring., guix-commits, 2022/04/24
- 188/232: gnu: python-ghp-import: Update to 2.0.2., guix-commits, 2022/04/24
- 207/232: gnu: python-pingouin: Update to 0.5.1., guix-commits, 2022/04/24
- 212/232: gnu: dynaconf: Fix build following python-click upgrade., guix-commits, 2022/04/24
- 215/232: gnu: python-pydata-sphinx-theme: Update to 0.7.2., guix-commits, 2022/04/24
- 68/232: gnu: python-setuptools: Update to 62.0.0., guix-commits, 2022/04/24
- 69/232: gnu: python-pathpy: Deprecate by python-path., guix-commits, 2022/04/24
- 91/232: gnu: python-flask: Update to 2.1.1., guix-commits, 2022/04/24
- 96/232: gnu: Add python-pydevd., guix-commits, 2022/04/24
- 138/232: gnu: Add python-cbor2., guix-commits, 2022/04/24
- 139/232: gnu: python-httpcore: Update to 0.14.7 and enable tests.,
guix-commits <=
- 140/232: gnu: Add python-httpcore-bootstrap., guix-commits, 2022/04/24
- 155/232: gnu: python-numpy: Update to 1.21.6 and parallelize build/tests., guix-commits, 2022/04/24
- 157/232: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/04/24
- 161/232: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/24
- 168/232: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/04/24
- 174/232: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/04/24
- 179/232: gnu: python-kombu: Update to 5.2.4., guix-commits, 2022/04/24
- 182/232: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/04/24
- 187/232: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/04/24
- 197/232: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/04/24