diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-06-01 15:46:07 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-08 23:02:11 +0100 |
| commit | b5679b15c3f804c33d7e54fc2cf45e8bddc7cd3d (patch) | |
| tree | c52a877c1f38388755dda872100d71c850b54a0a /gnu/packages/python-check.scm | |
| parent | 3fcb6470a48fe57a012a788b5f57ef701535b6ed (diff) | |
gnu: python-pytest-httpx: Update to 0.36.2.
* gnu/packages/python-check.scm (python-pytest-httpx): Update to 0.36.2.
[phases]{relax-requirements}: New phase.
[native-inputs]: Remove python-pytest-8, python-pytest-asyncio, and
python-wheel; add python-pytest-bootstrap.
Change-Id: Iada6791f3dd4d34ddf7f76168cc6b1467772e597
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 90e960b2b0f..d8f747a7b0d 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm | |||
| @@ -3367,27 +3367,32 @@ import them in their actual tests to use them.") | |||
| 3367 | (define-public python-pytest-httpx | 3367 | (define-public python-pytest-httpx |
| 3368 | (package | 3368 | (package |
| 3369 | (name "python-pytest-httpx") | 3369 | (name "python-pytest-httpx") |
| 3370 | (version "0.35.0") | 3370 | (version "0.36.2") |
| 3371 | (source | 3371 | (source |
| 3372 | (origin | 3372 | (origin |
| 3373 | ;; pypi package doesn't include the tests | ||
| 3374 | (method git-fetch) | 3373 | (method git-fetch) |
| 3375 | (uri (git-reference | 3374 | (uri (git-reference |
| 3376 | (url "https://github.com/Colin-b/pytest_httpx") | 3375 | (url "https://github.com/Colin-b/pytest_httpx") |
| 3377 | (commit (string-append "v" version)))) | 3376 | (commit version))) |
| 3378 | (file-name (git-file-name name version)) | 3377 | (file-name (git-file-name name version)) |
| 3379 | (sha256 | 3378 | (sha256 |
| 3380 | (base32 "1w8qwhcaq1l63kfj4ncsi3355ln37ws6066mxr0b9646g68wp69v")))) | 3379 | (base32 "1g3xlaldc3hrkjv627qlmlmp8njr8jh5jspv5b00845fw9i1pyl0")))) |
| 3381 | (build-system pyproject-build-system) | 3380 | (build-system pyproject-build-system) |
| 3382 | (arguments | 3381 | (arguments |
| 3383 | (list | 3382 | (list |
| 3384 | ;; XXX: 261 failed, 170 errors | 3383 | ;; XXX: 284 failed, 14 passed, 175 errors |
| 3385 | #:tests? #f)) | 3384 | ;; The following responses are mocked but not requested <...> |
| 3385 | #:tests? #f | ||
| 3386 | #:phases | ||
| 3387 | #~(modify-phases %standard-phases | ||
| 3388 | (add-after 'unpack 'relax-requirements | ||
| 3389 | (lambda _ | ||
| 3390 | (substitute* "pyproject.toml" | ||
| 3391 | ;; See: <https://github.com/Colin-b/pytest_httpx/issues/201>. | ||
| 3392 | (("httpx==0\\.28.\\*") "httpx>=0.28.0") | ||
| 3393 | (("pytest==9\\.\\*") "pytest>=9.0.0"))))))) | ||
| 3386 | (native-inputs | 3394 | (native-inputs |
| 3387 | (list python-pytest-8 | 3395 | (list python-pytest-bootstrap python-setuptools)) |
| 3388 | python-pytest-asyncio | ||
| 3389 | python-setuptools | ||
| 3390 | python-wheel)) | ||
| 3391 | (propagated-inputs (list python-httpx)) | 3396 | (propagated-inputs (list python-httpx)) |
| 3392 | (home-page "https://colin-b.github.io/pytest_httpx/") | 3397 | (home-page "https://colin-b.github.io/pytest_httpx/") |
| 3393 | (synopsis "Pytest plugin to mock httpx") | 3398 | (synopsis "Pytest plugin to mock httpx") |
