#1064262 python3-certbot-dns-standalone: please remove runtime dependency on python3-mock

#1064262#5
Date:
2024-02-19 07:05:20 UTC
From:
To:
Hi,

python3-certbot-dns-standalone declares a runtime dependency on
(deprecated) python3-mock, which is kind weird and unsettling.

Please apply this patch to avoid generating such
runtime dep.

Greetings,


https://patch-diff.githubusercontent.com/raw/siilike/certbot-dns-standalone/pull/25.patch
--- a/certbot_dns_standalone/dns_standalone_test.py
+++ b/certbot_dns_standalone/dns_standalone_test.py
@@ -2,8 +2,7 @@

 import os
 import unittest
-
-import mock
+from unittest import mock

 from certbot import errors
 from certbot.plugins import dns_test_common
diff --git a/setup.py b/setup.py
index 652bfb7..7d311fb 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,6 @@
     'acme>=0.21.1',
     'certbot>=2.1.0',
     'dnslib>=0.9.0',
-    'mock',
     'setuptools',
 ]

#1064262#12
Date:
2024-02-22 03:20:55 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
python-certbot-dns-standalone, 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 1064262@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Linus Vanas <linus@vanas.fi> (supplier of updated python-certbot-dns-standalone 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 20 Feb 2024 14:13:47 +0200
Source: python-certbot-dns-standalone
Architecture: source
Version: 1.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Let's Encrypt <team+letsencrypt@tracker.debian.org>
Changed-By: Linus Vanas <linus@vanas.fi>
Closes: 1064262
Changes:
 python-certbot-dns-standalone (1.1-2) unstable; urgency=medium
 .
   * Remove dependency on python3-mock (Closes: #1064262)
   * Bump Standards-Version to 4.6.2 (no changes)
Checksums-Sha1:
 83b7c2b0e28db1092b9f00875dbda95e5796078c 2387 python-certbot-dns-standalone_1.1-2.dsc
 b24fa563e966eb6d883ffeee2ed32ea7b4241368 2560 python-certbot-dns-standalone_1.1-2.debian.tar.xz
 94aef5fc650d98a0c9b4f61bf99e7c96fc66460a 7060 python-certbot-dns-standalone_1.1-2_source.buildinfo
Checksums-Sha256:
 3a0c4fe49df6781c34d9a34ff0f5dd8fd814eb52d78d8c612f56a507919b5ca7 2387 python-certbot-dns-standalone_1.1-2.dsc
 7d441615a86e145e4aab75b7add353fe505b5187ce9c82693274611efe6c2fd2 2560 python-certbot-dns-standalone_1.1-2.debian.tar.xz
 cf73e823bfb38233964263ebbce1e8f37479209ba881f4a6a865a80bfd55c110 7060 python-certbot-dns-standalone_1.1-2_source.buildinfo
Files:
 649fcee09a0abcd82fcf92a8297df2d6 2387 python optional python-certbot-dns-standalone_1.1-2.dsc
 f20bbbf72e5edc09fb13002d2a09a8d5 2560 python optional python-certbot-dns-standalone_1.1-2.debian.tar.xz
 00ee3dbd114df443eb0a6aee36b1666e 7060 python optional python-certbot-dns-standalone_1.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQKqBAEBCgCUFiEE9zr8PqWxFLiOwkJPHjOjduLt8U4FAmXWpKZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY3
M0FGQzNFQTVCMTE0Qjg4RUMyNDI0RjFFMzNBMzc2RTJFREYxNEUWHGhsaWViZXJt
YW5AZGViaWFuLm9yZwAKCRAeM6N24u3xTjTcD/973NM/illOtMInxY4YkmdG+dQ9
5omWgA5aT7bnjVBYwdSOrjIh8yNL/PtIoOA/LpUaYnfwTfNWsh7qcOexA3oVxFb2
teyXU1d99tAGZH/F0u98seeT4yWOdlezHp8UU40l6M5MK+Bt9OdPZ2u3VZ4tKG9z
TCfplPOH3nf/U6y7762aYHTQwfYlT2sD7GoRPJrrSDkIAa+/msWTrtdfRyyHs7VD
J6xLQDQ5zb1L7tZdzwp7CQtj55JiOvU3d+SDpBCZhibqk46uHdjXO0Rh34eVtf0S
welTl1OYWTyughQjKuJf38djipx6gUVPweq7cdCzDZK6SPM6RnEInyV76B+TIzRe
s9JiQRZrHhlt7GT81ClNSjowEoWNczYbTWQAOmeXarqauxYPIgMGNFapNvJodnY6
cvxrreguzI8Byc32k9o4CTBWcmLiEzDG5Yk1j8cc/Cy1t1sevy4eYglH0Nrx5k/9
TLNMIWIZs0j6boKswM/yIVu59uW/vkeSUjf3VTWPkLaloRQVRmiGXRhyMWV1dH8e
uL+tEOIzncDwLbmgztv9co5EekwTmHPPpXFsiJpi36SWk4u4ae0GmJiIx2EYopk7
53l4+zEWmVqVs+Vvd/lrFsq+eL4ZfKDaSF9yszrDUlFoYQ2G5WSHOl98riawqQUa
2AsmjPmCWPhTURFgzw==
=qxiR
-----END PGP SIGNATURE-----