[Git][debian-gis-team/pycsw][master] 2 commits: Update mock.patch with upstream changes.

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Wed Nov 18 19:21:36 GMT 2026



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


Commits:
702ac37b by Bas Couwenberg at 2026-11-18T20:14:19+01:00
Update mock.patch with upstream changes.

- - - - -
f5a97755 by Bas Couwenberg at 2026-11-18T20:14:19+01:00
Set distribution to unstable.

- - - - -


2 changed files:

- debian/changelog
- debian/patches/mock.patch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-pycsw (2.6.2+dfsg-5) UNRELEASED; urgency=medium
+pycsw (2.6.2+dfsg-5) unstable; urgency=medium
 
   * Team upload.
   * Apply patch by Alexandre Detiste to move away from python3-mock.
@@ -6,7 +6,7 @@ pycsw (2.6.2+dfsg-5) UNRELEASED; urgency=medium
   * Drop unused pytz (build) dependency.
     (closes: #1149829)
 
- -- Bas Couwenberg <sebastic at debian.org>  Thu, 10 Sep 2026 14:50:09 +0200
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 18 Nov 2026 19:58:42 +0100
 
 pycsw (2.6.2+dfsg-4) unstable; urgency=medium
 


=====================================
debian/patches/mock.patch
=====================================
@@ -3,6 +3,51 @@ 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/docs/conf.py
++++ b/docs/conf.py
+@@ -40,11 +40,7 @@
+ # serve to show the default.
+ 
+ import sys, os
+-
+-try:
+-    from unittest.mock import MagicMock
+-except ImportError:
+-    from mock import Mock as MagicMock
++from unittest.mock import MagicMock
+ 
+ # If extensions (or modules to document with autodoc) are in another directory,
+ # add these directories to sys.path here. If the directory is relative to the
+--- a/docs/requirements-mocked.txt
++++ b/docs/requirements-mocked.txt
+@@ -1,5 +1,4 @@
+ # This file holds some fake requirements to fool the readthedocs service into
+ # building the documentation. For more information, see
+ # https://github.com/geopython/pycsw/issues/521
+-mock
+ sphinx
+--- a/requirements-dev.txt
++++ b/requirements-dev.txt
+@@ -1,7 +1,6 @@
+ -r requirements.txt
+ -r requirements-standalone.txt
+ 
+-mock>=2.0.0
+ Paver>=1.2.4
+ pytest>=3.0.3
+ pytest-cov>=2.4.0
+--- a/tests/unittests/test_util.py
++++ b/tests/unittests/test_util.py
+@@ -31,8 +31,8 @@
+ import datetime as dt
+ import os
+ import time
++from unittest import mock
+ 
+-import mock
+ import pytest
+ from shapely.wkt import loads
+ 
 --- a/tests/unittests/test_wsgi.py
 +++ b/tests/unittests/test_wsgi.py
 @@ -28,9 +28,9 @@



View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/compare/8df927faceaaa571d48140ad6782121a949611bc...f5a97755d79a4371434c56bf5eb72c55928a2de1

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pycsw/-/compare/8df927faceaaa571d48140ad6782121a949611bc...f5a97755d79a4371434c56bf5eb72c55928a2de1
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/20261118/daf75561/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list