Source: pycsw
Version: 2.6.2+dfsg-4
Severity: important

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
 
-import mock
+from unittest import mock
 import pytest
 
 from pycsw import wsgi

_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to