Your message dated Mon, 23 Nov 2026 10:20:53 +0000
with message-id <[email protected]>
and subject line Bug#1154377: fixed in python-pykmip 0.10.0-12
has caused the Debian Bug report #1154377,
regarding python-pykmip: please drop usage of python3-mock using provided patch
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1154377: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154377
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-pykmip
Version: 0.10.0-11
Severity: normal
Hi Thomas,
This should be the very last package to patch for this.
Greetings
Alexandre
--- a/kmip/tests/unit/core/objects/test_credentials.py
+++ b/kmip/tests/unit/core/objects/test_credentials.py
@@ -14,7 +14,7 @@
# under the License.
import enum
-import mock
+from unittest import mock
import testtools
from kmip import enums
--- a/kmip/tests/unit/core/test_config_helper.py
+++ b/kmip/tests/unit/core/test_config_helper.py
@@ -19,8 +19,8 @@
import ConfigParser as configparser
from testtools import TestCase
-from mock import MagicMock
-from mock import Mock
+from unittest.mock import MagicMock
+from unittest.mock import Mock
from kmip.core.config_helper import ConfigHelper
--- a/kmip/tests/unit/pie/test_client.py
+++ b/kmip/tests/unit/pie/test_client.py
@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
+from unittest import mock
import six
import ssl
import testtools
--- a/kmip/tests/unit/services/server/auth/test_slugs.py
+++ b/kmip/tests/unit/services/server/auth/test_slugs.py
@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
+from unittest import mock
import requests
import testtools
--- a/kmip/tests/unit/services/server/auth/test_utils.py
+++ b/kmip/tests/unit/services/server/auth/test_utils.py
@@ -19,7 +19,7 @@
from cryptography.hazmat.primitives.asymmetric import rsa
import datetime
-import mock
+from unittest import mock
import ssl
import testtools
--- a/kmip/tests/unit/services/server/crypto/test_engine.py
+++ b/kmip/tests/unit/services/server/crypto/test_engine.py
@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-import mock
+from unittest import mock
import pytest
import testtools
--- a/kmip/tests/unit/services/server/test_config.py
+++ b/kmip/tests/unit/services/server/test_config.py
@@ -14,7 +14,7 @@
# under the License.
import logging
-import mock
+from unittest import mock
import six
from six.moves import configparser
--- a/kmip/tests/unit/services/server/test_engine.py
+++ b/kmip/tests/unit/services/server/test_engine.py
@@ -14,7 +14,7 @@
# under the License.
import six
-import mock
+from unittest import mock
import shutil
import sqlalchemy
--- a/kmip/tests/unit/services/server/test_monitor.py
+++ b/kmip/tests/unit/services/server/test_monitor.py
@@ -14,7 +14,7 @@
# under the License.
import logging
-import mock
+from unittest import mock
import multiprocessing
import os
import shutil
--- a/kmip/tests/unit/services/server/test_session.py
+++ b/kmip/tests/unit/services/server/test_session.py
@@ -20,7 +20,7 @@
import datetime
-import mock
+from unittest import mock
import socket
import testtools
import time
--- a/kmip/tests/unit/services/test_kmip_client.py
+++ b/kmip/tests/unit/services/test_kmip_client.py
@@ -66,7 +66,7 @@
from kmip.services.results import QueryResult
from kmip.services.results import RekeyKeyPairResult
-import mock
+from unittest import mock
import os
import socket
import ssl
--- a/kmip/tests/unit/services/test_kmip_protocol.py
+++ b/kmip/tests/unit/services/test_kmip_protocol.py
@@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
-from mock import call, MagicMock
+from unittest.mock import call, MagicMock
from testtools import TestCase
import binascii
--- End Message ---
--- Begin Message ---
Source: python-pykmip
Source-Version: 0.10.0-12
Done: Thomas Goirand <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-pykmip, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Thomas Goirand <[email protected]> (supplier of updated python-pykmip package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 23 Nov 2026 10:52:09 +0100
Source: python-pykmip
Architecture: source
Version: 0.10.0-12
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenStack <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Closes: 1154377
Changes:
python-pykmip (0.10.0-12) unstable; urgency=medium
.
* Dropped python3-mock build-dependency (Closes: #1154377):
- drop_python3-mock.patch
Checksums-Sha1:
bf708cac413b5c27e5fe4d04b61307c173826687 2299 python-pykmip_0.10.0-12.dsc
7cc44f4c30dfd4e353ab7f778967326f23de5652 11880
python-pykmip_0.10.0-12.debian.tar.xz
6a52b56aa9e3c387a18bfb97cfeecaf4ad88a34a 8199
python-pykmip_0.10.0-12_amd64.buildinfo
Checksums-Sha256:
f86e6fe8a1bb9336ea1848c827ad1a4a4e5cbbc36e4c4d7edfeab19c13483212 2299
python-pykmip_0.10.0-12.dsc
c5f2c0fad3911571947a62403243da2472ace37f60f94b27629ae93dadfb48cf 11880
python-pykmip_0.10.0-12.debian.tar.xz
7467f7e8b946e954854df738182ea07faeca9b3f21742543baeb31073eaad4c9 8199
python-pykmip_0.10.0-12_amd64.buildinfo
Files:
521248665044c100f17f012d763a85cc 2299 python optional
python-pykmip_0.10.0-12.dsc
748cd43e3259923cc58f4e212a0c32c6 11880 python optional
python-pykmip_0.10.0-12.debian.tar.xz
1450f5e826f22ce7a3cfbd2bd2b83f8a 8199 python optional
python-pykmip_0.10.0-12_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIyBAEBCgAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmsEEGkACgkQ1BatFaxr
Q/6wEw/4q7vh5sdhiBK/MXE40Lj2OGQUNEV3cDvb1Vl7gXiUfwi3KD994rJX5qOj
6lmxvKvPm6V4W8Ulv6LmzVYIQU9548NRFqOI49aCPcKUUOtsQ+JBd7W1YtJ20sHX
ksTDUWrDSMlXvW6bhJF/2jFy7bUprmxSKk0qMWwzQUsqMvrKCYJ7lQXFLhqmLXY4
rPzcz9y9YqL0+aLLP+/CsYtS66IPIwwB1fDFq2sigKvOTG2oxipmrQSsQKSl4+xW
3of29M+U2HgbQ6ulWCaTa+OZ+h/979teFi83TYKez/+VSRZuUdA8JNneQU5SpYu0
W6NBVLx07XO6XLyU0JXfr7fI/QyGZ9FKKBy2jrh5w8/1zoGWg691Iq9lo80Pfcpq
qr6opB3qflchyDAOCvQi/tnW+DgOf+gSOMW+fzzONRK/LvPLsog5a2rjTy8EsbDo
NAXcdbsvb2oE7tTHpqSVeXCJcB5ZL/DfPY+xFnLkup8YNncYIIHi3nOKyO7jSbHb
mL6Pg0C9AEFFTeAm5NMy6GhHjSu0W4hmIR3Qmx667UUdCFvN/7OuMbm1tBqPqLCq
uPljmg0Trt81PrloVfd/vah0wLUDiN1i2XJfgdd0FGHyW8bXL3VQSAUiIZjjW98n
xejuZWgMc1YdPBBMFetfJIDRwQ1VRfe0211CA12WpzS8wNZ4Cw==
=r0rT
-----END PGP SIGNATURE-----
pgplWkHjPPkrG.pgp
Description: PGP signature
--- End Message ---