diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-02 21:16:58 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-05-24 10:15:00 +0100 |
| commit | dfec51260af3f4ada1ddabe7b5e181a733a63f98 (patch) | |
| tree | 15e8f4a66195282fb6108edf5cd2eca01ac48496 /gnu/packages | |
| parent | f5639a39b541037df47f3506f71e0f14adc64a8d (diff) | |
gnu: python-hawkauthlib: Fix tests on Python@3.12.
* gnu/packages/python-web.scm (python-hawkauthlib)
[arguments]<#:phases>: Add phase 'fix-python-incompatibilities.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/python-web.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c861eb74212..463eb567a12 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -9358,7 +9358,15 @@ search engine replacement on both desktop and mobile.") | |||
| 9358 | (sha256 | 9358 | (sha256 |
| 9359 | (base32 "0pdpk3fp87ngfsyp4lm2z7z8b203jxsmvbz59q6r6xgg9sp4cl3l")))) | 9359 | (base32 "0pdpk3fp87ngfsyp4lm2z7z8b203jxsmvbz59q6r6xgg9sp4cl3l")))) |
| 9360 | (build-system pyproject-build-system) | 9360 | (build-system pyproject-build-system) |
| 9361 | (arguments (list #:test-backend #~'unittest)) | 9361 | (arguments |
| 9362 | (list | ||
| 9363 | #:test-backend #~'unittest | ||
| 9364 | #:phases | ||
| 9365 | #~(modify-phases %standard-phases | ||
| 9366 | (add-after 'unpack 'fix-python-incompatibilities | ||
| 9367 | (lambda _ | ||
| 9368 | (substitute* (find-files "hawkauthlib/tests" "\\.py$") | ||
| 9369 | (("assertEquals") "assertEqual"))))))) | ||
| 9362 | (native-inputs (list python-setuptools)) | 9370 | (native-inputs (list python-setuptools)) |
| 9363 | (propagated-inputs (list python-requests python-webob)) | 9371 | (propagated-inputs (list python-requests python-webob)) |
| 9364 | (home-page "https://github.com/mozilla-services/hawkauthlib") | 9372 | (home-page "https://github.com/mozilla-services/hawkauthlib") |
