[Git][debian-gis-team/pycsw][master] Apply patch by Alexandre Detiste to move away from python3-mock. (closes: #1147286)

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Sep 10 13:53:15 BST 2026



Bas Couwenberg pushed to branch master at Debian GIS Project / pycsw


Commits:
f173e15f by Bas Couwenberg at 2026-09-10T14:53:04+02:00
Apply patch by Alexandre Detiste to move away from python3-mock. (closes: #1147286)

- - - - -


4 changed files:

- debian/changelog
- debian/control
- + debian/patches/mock.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+pycsw (2.6.2+dfsg-5) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Apply patch by Alexandre Detiste to move away from python3-mock.
+    (closes: #1147286)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 10 Sep 2026 14:50:09 +0200
+
 pycsw (2.6.2+dfsg-4) unstable; urgency=medium
 
   * Team upload.


=====================================
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,


=====================================
debian/patches/mock.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Patch-out trivial usage of python3-mock.
+Author: Alexandre Detiste <alexandre.detiste at gmail.com>
+Forwarded: https://github.com/geopython/pycsw/pull/967
+Applied-Upstream: https://github.com/geopython/pycsw/commit/8fb5f0210c4839ca38fc696c3c210be1f53468c8
+
+--- a/tests/unittests/test_wsgi.py
++++ b/tests/unittests/test_wsgi.py
+@@ -28,9 +28,9 @@
+ # =================================================================
+ """Unit tests for pycsw.wsgi"""
+ 
++from unittest import mock
+ from wsgiref.util import setup_testing_defaults
+ 
+-import mock
+ import pytest
+ 
+ from pycsw import wsgi


=====================================
debian/patches/series
=====================================
@@ -8,3 +8,4 @@ apipkg.patch
 legacy-cgi.patch
 importlib.patch
 pep517.patch
+mock.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/f173e15f8bd813f13b81811e3fb73635c2976336

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/commit/f173e15f8bd813f13b81811e3fb73635c2976336
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260910/c1fce522/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list