Package: src:python-wsme
Version: 0.12.1-9
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important
Hi!
While rebuilding the python related packages against the Python 3.15rc2
version we found that python-wsme fails to build from source [1].
One of the failures is caused by a bug in python-pecan, which I've
already reported in #1147120.
Additionally, in order to get python-wsme to build successfully, I
needed to apply upstream commit c430488 [2]: replace undeclared use of
old external "mock" module.
I've applied the upstream fix in the sandbox [3] to verify that it
builds successfully, please consider applying the patch to support the
upcoming 3.15 version.
Setting the severity to important for now. Once Python 3.15 is released,
it will be added to python3-defaults and this bug will become release
critical.
Happy hacking,
[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4524706/
[2]: https://opendev.org/x/wsme/commit/c430488a2578341e1481ae0fbe4dda8575f5c3e6
[3]: https://debusine.debian.net/debian/r-python-python3.15/
--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
Description: replace undeclared use of old external "mock" module
Author: Alexandre Detiste <[email protected]>
Origin: upstream, https://opendev.org/x/wsme/commit/c430488a2578341e1481ae0fbe4dda8575f5c3e6
---
Index: python-wsme/tests/rest/test_args.py
===================================================================
--- python-wsme.orig/tests/rest/test_args.py
+++ python-wsme/tests/rest/test_args.py
@@ -1,4 +1,4 @@
-import mock
+from unittest import mock
import unittest
from wsme import exc