[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
133/204: gnu: python-httpcore: Update to 0.14.7 and enable tests.
From: |
guix-commits |
Subject: |
133/204: gnu: python-httpcore: Update to 0.14.7 and enable tests. |
Date: |
Wed, 20 Apr 2022 02:03:33 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 2b33b1a670a4d919d30d0c0e8752eebf65772b23
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")
- 96/204: gnu: Add python-pydevd., (continued)
- 96/204: gnu: Add python-pydevd., guix-commits, 2022/04/20
- 100/204: gnu: python-pytest-xdist-next: Update to 2.5.0., guix-commits, 2022/04/20
- 102/204: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/20
- 116/204: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/04/20
- 97/204: gnu: Add python-debugpy., guix-commits, 2022/04/20
- 120/204: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/20
- 123/204: gnu: Add python-sphinx-sitemap., guix-commits, 2022/04/20
- 124/204: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/20
- 132/204: gnu: Add python-cbor2., guix-commits, 2022/04/20
- 139/204: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/20
- 133/204: gnu: python-httpcore: Update to 0.14.7 and enable tests.,
guix-commits <=
- 156/204: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/04/20
- 176/204: gnu: python-bitstruct: Update to 8.14.0., guix-commits, 2022/04/20
- 188/204: gnu: Remove python2-jmespath., guix-commits, 2022/04/20
- 189/204: gnu: python-croniter: Update to 1.3.4., guix-commits, 2022/04/20
- 195/204: gnu: markets: Add python-wrapper to fix build., guix-commits, 2022/04/20
- 70/204: gnu: python-pytest-shutil: Adjust to use python-path., guix-commits, 2022/04/20
- 90/204: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/20
- 108/204: gnu: python-anyio: Update to 3.5.0., guix-commits, 2022/04/20
- 143/204: gnu: python-fakeredis: Update to 1.7.1., guix-commits, 2022/04/20
- 145/204: gnu: Add python-dictpath., guix-commits, 2022/04/20