#1147292 pgxnclient: please patch-out trivial usage of python3-mock

#1147292#5
Date:
2026-09-10 13:24:42 UTC
From:
To:
Dear Maintainer,


python3-mock is an obsolete package.
"mock" has been merge in the Python Standard Library a long time ago,
around the times of Python3.7

Please consider this trivial pseudo-patch that would help remove
the few remaining usage of this library from Debian.

There is no defined timeline yet that says wether this should happen
before of after Forky is released.

Greetings

Alexandre




/tmp/pgxnclient$ git diff
diff --git a/debian/control b/debian/control
index b11fdb5..2d3a048 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,6 @@ Build-Depends:
  help2man,
  libpq-dev,
  python3-all,
- python3-mock,
  python3-pytest,
  python3-pytest-runner,
  python3-setuptools,
diff --git a/tests/test_commands.py b/tests/test_commands.py
index 9c344a7..9058bfd 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -3,7 +3,7 @@ import shutil
 import tempfile
 import unittest