[med-svn] [Git][med-team/biomaj3-process][master] remove python3-mock

Alexandre Detiste (@detiste-guest) gitlab at salsa.debian.org
Sat Dec 14 18:09:55 GMT 2024



Alexandre Detiste pushed to branch master at Debian Med / biomaj3-process


Commits:
1872a71b by Alexandre Detiste at 2024-12-14T19:08:20+01:00
remove python3-mock

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/pr3.patch
- + debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+biomaj3-process (3.0.19-2) unstable; urgency=medium
+
+  * Team upload.
+  * Remove usage of python3-mock
+
+ -- Alexandre Detiste <tchet at debian.org>  Sat, 14 Dec 2024 19:07:56 +0100
+
 biomaj3-process (3.0.19-1) unstable; urgency=medium
 
   * New upstream release, replace nose by pytest (Closes: #1018321). 


=====================================
debian/control
=====================================
@@ -5,14 +5,13 @@ Section: python
 Testsuite: autopkgtest-pkg-python
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                protobuf-compiler,
                python3-all,
                python3-bcrypt,
                python3-consul,
                python3-flask,
-               python3-mock,
-               python3-pytest,
+               python3-pytest <!nocheck>,
                python3-pika,
                python3-prometheus-client,
                python3-protobuf,


=====================================
debian/patches/pr3.patch
=====================================
@@ -0,0 +1,17 @@
+From 60898cfe040e7ebd7367bc84100e70b2ed6dce94 Mon Sep 17 00:00:00 2001
+From: Alexandre Detiste <alexandre.detiste at gmail.com>
+Date: Wed, 5 Jun 2024 16:45:39 +0200
+Subject: [PATCH] remove dependency on ancient mock
+
+--- a/tests/biomaj_tests.py
++++ b/tests/biomaj_tests.py
+@@ -6,8 +6,7 @@
+ import copy
+ import stat
+ import time
+-
+-from mock import patch
++from unittest.mock import patch
+ 
+ from biomaj_process.message import procmessage_pb2
+ from biomaj_process.process_service import ProcessService


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+pr3.patch


=====================================
debian/rules
=====================================
@@ -3,8 +3,9 @@
 export DEB_BUILD_OPTIONS=nocheck
 
 export PYBUILD_NAME=biomaj-process
+
 %:
-	dh $@ --with python3 --buildsystem=pybuild
+	dh $@ --buildsystem=pybuild
 
 override_dh_auto_build:
 	cd biomaj_process/message && protoc --python_out=. procmessage.proto



View it on GitLab: https://salsa.debian.org/med-team/biomaj3-process/-/commit/1872a71bd5c51ee0f8cccdb87842776f149f3873

-- 
View it on GitLab: https://salsa.debian.org/med-team/biomaj3-process/-/commit/1872a71bd5c51ee0f8cccdb87842776f149f3873
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20241214/8ac5e59e/attachment-0001.htm>


More information about the debian-med-commit mailing list