Bas Couwenberg pushed to branch master at Debian GIS Project / python-stetl


Commits:
8531e508 by Bas Couwenberg at 2026-09-10T15:09:19+02:00
Apply patch by Alexandre Detiste to move away from python3-mock. (closes: 
#1147287)

- - - - -


4 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -7,6 +7,8 @@ python-stetl (2.1-3) UNRELEASED; urgency=medium
   * Annotate build dependencies with nocheck & nodoc.
   * Drop Priority: optional, default since dpkg 1.22.13.
   * Use pybuild-plugin-pyproject instead of python3-setuptools.
+  * Apply patch by Alexandre Detiste to move away from python3-mock.
+    (closes: #1147287)
 
  -- Bas Couwenberg <[email protected]>  Sun, 28 Jul 2024 20:00:16 +0200
 


=====================================
debian/control
=====================================
@@ -13,7 +13,6 @@ Build-Depends: debhelper-compat (= 13),
                python3-gdal,
                python3-jinja2,
                python3-lxml,
-               python3-mock <!nocheck>,
                python3-nose2 <!nocheck>,
                python3-psycopg2,
                python3-setuptools,


=====================================
debian/patches/mock.patch
=====================================
@@ -0,0 +1,69 @@
+Description: Patch-out trivial usage of python3-mock.
+Author: Alexandre Detiste <[email protected]>
+Forwarded: https://github.com/geopython/stetl/pull/129
+Applied-Upstream: 
https://github.com/geopython/stetl/commit/332e4b9cbd2bffb987a1199c169a8b56dd5f1a2a
+
+--- a/tests/filters/test_vsi_file_extractor.py
++++ b/tests/filters/test_vsi_file_extractor.py
+@@ -1,4 +1,4 @@
+-import mock
++from unittest import mock
+ import os
+ 
+ from stetl.etl import ETL
+--- a/tests/filters/test_vsifilter.py
++++ b/tests/filters/test_vsifilter.py
+@@ -1,4 +1,4 @@
+-import mock
++from unittest import mock
+ import os
+ import shutil
+ import sys
+--- a/tests/filters/test_zip_archive_expander.py
++++ b/tests/filters/test_zip_archive_expander.py
+@@ -1,4 +1,4 @@
+-import mock
++from unittest import mock
+ import os
+ 
+ from stetl.etl import ETL
+--- a/tests/filters/test_zip_file_extractor.py
++++ b/tests/filters/test_zip_file_extractor.py
+@@ -1,4 +1,4 @@
+-import mock
++from unittest import mock
+ import os
+ 
+ from stetl.etl import ETL
+--- a/tests/outputs/test_command_exec_output.py
++++ b/tests/outputs/test_command_exec_output.py
+@@ -1,4 +1,4 @@
+-import mock
++from unittest import mock
+ import os
+ import sys
+ 
+--- a/tests/outputs/test_ogr2ogr_exec_output.py
++++ b/tests/outputs/test_ogr2ogr_exec_output.py
+@@ -1,4 +1,4 @@
+-import mock
++from unittest import mock
+ import os
+ import shutil
+ import sys
+--- a/tests/outputs/test_ogr2ogr_exec_output_lco.py
++++ b/tests/outputs/test_ogr2ogr_exec_output_lco.py
+@@ -1,4 +1,4 @@
+-import mock
++from unittest import mock
+ import os
+ import shutil
+ import sys
+--- a/tests/outputs/test_postgres_db_output.py
++++ b/tests/outputs/test_postgres_db_output.py
+@@ -1,4 +1,4 @@
+-import mock
++from unittest import mock
+ import os
+ import sys
+ 


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 configparser.patch
 pep517.patch
+mock.patch



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/python-stetl/-/commit/8531e508a279587727b3b52671ac7ec80541a40b

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/python-stetl/-/commit/8531e508a279587727b3b52671ac7ec80541a40b
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


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

Reply via email to