[med-svn] [Git][med-team/biomaj3][master] remove dependecy on python3-mock
Alexandre Detiste (@detiste-guest)
gitlab at salsa.debian.org
Sat Dec 14 19:23:28 GMT 2024
Alexandre Detiste pushed to branch master at Debian Med / biomaj3
Commits:
5e92efd8 by Alexandre Detiste at 2024-12-14T20:17:50+01:00
remove dependecy on python3-mock
A more complete PR has been merged upstream
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/remove_mock.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+biomaj3 (3.1.24-2) unstable; urgency=medium
+
+ * Team upload.
+ * Remove dependenct on python3-mock
+
+ -- Alexandre Detiste <tchet at debian.org> Sat, 14 Dec 2024 20:17:35 +0100
+
biomaj3 (3.1.24-1) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -9,7 +9,6 @@ Build-Depends: debhelper-compat (= 13),
dh-sequence-python3,
python3-all,
python3-bcrypt,
- python3-mock,
python3-pytest,
python3-pymongo,
python3-redis,
=====================================
debian/patches/remove_mock.patch
=====================================
@@ -0,0 +1,22 @@
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -15,7 +15,7 @@
+ import sys
+ import os
+
+-from mock import Mock as MagicMock
++from unittest.mock import Mock as MagicMock
+
+ class Mock(MagicMock):
+ @classmethod
+--- a/tests/biomaj_tests.py
++++ b/tests/biomaj_tests.py
+@@ -8,7 +8,7 @@
+ import time
+ import pytest
+
+-from mock import patch
++from unittest.mock import patch
+
+ from optparse import OptionParser
+
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
# fix_remove_influxdb.patch
fix_remove_drmaa.patch
+remove_mock.patch
View it on GitLab: https://salsa.debian.org/med-team/biomaj3/-/commit/5e92efd8167a98f1ae96f12fb9392212ca93494a
--
View it on GitLab: https://salsa.debian.org/med-team/biomaj3/-/commit/5e92efd8167a98f1ae96f12fb9392212ca93494a
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/1186f4c8/attachment-0001.htm>
More information about the debian-med-commit
mailing list