summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-05-11 00:05:33 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-18 14:37:06 +0100
commit1ba50f6444e833da53c613972a6a70d1abf016c1 (patch)
tree232d332e8a53f97edbbe410eeaf78739056f8e63
parent0ba2d0c02f7597d99b585265f8b66635d9dffaee (diff)
gnu: python-pybrowserid: Fix build with Python@3.12.
* gnu/packages/python-web.scm (python-pybrowserid)[arguments] <#:phases>: Add phase python-3.12-compatibility. Change-Id: I982edec65aa2fd5822bd45c7db7f9faef54ae31e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-web.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 68500dd610..4b44d549bf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -9401,7 +9401,15 @@ Authentication, a simple HTTP request-signing scheme.")
(sha256
(base32 "0in0sbj56wrz5mlrj6wkd3h7rrp7714c5rkxvkfwp60s2hr6ynj6"))))
(build-system pyproject-build-system)
- (arguments (list #:test-backend #~'unittest))
+ (arguments
+ (list
+ #:test-backend #~'unittest
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'python-3.12-compatibility
+ (lambda _
+ (substitute* (find-files "browserid/tests" "\\.py")
+ (("assertEquals") "assertEqual")))))))
(propagated-inputs (list python-requests))
(native-inputs (list python-mock python-setuptools))
(home-page "https://github.com/mozilla/PyBrowserID")