#1147286 pycsw: please patch-out trivial usage of python3-mock

#1147286#5
Date:
2026-09-10 12:36:52 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


diff --git a/debian/control b/debian/control
index 28663c0..965c393 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,6 @@ Build-Depends: apache2-dev,
                python3-geolinks,
                python3-legacy-cgi,
                python3-lxml,
-               python3-mock <!nocheck>,
                python3-owslib,
                python3-psycopg2 <!nocheck>,
                python3-pyproj,
diff --git a/tests/unittests/test_wsgi.py b/tests/unittests/test_wsgi.py
index 66aecbf..2bc75a4 100644
--- a/tests/unittests/test_wsgi.py
+++ b/tests/unittests/test_wsgi.py
@@ -30,7 +30,7 @@

 from wsgiref.util import setup_testing_defaults

#1147286#12
Date:
2026-09-10 13:03:15 UTC
From:
To:
Thank you very much

Le jeu. 10 sept. 2026 à 14:53, Sebastiaan Couwenberg
<sebastic@xs4all.nl> a écrit :

#1147286#17
Date:
2026-09-10 12:53:44 UTC
From:
To:
Thanks for the patch and fixing the issue upstream, the patch is applied in git.

Kind Regards,

Bas