[med-svn] [Git][med-team/python-datacache][master] 3 commits: Remove usage of old python3-mock (Thanks for the patch to Alexandre Detiste)

Andreas Tille (@tille) gitlab at salsa.debian.org
Sat Jan 6 08:12:50 GMT 2024



Andreas Tille pushed to branch master at Debian Med / python-datacache


Commits:
482490fc by Andreas Tille at 2024-01-06T09:00:43+01:00
Remove usage of old python3-mock (Thanks for the patch to Alexandre Detiste)

- - - - -
7d6c962b by Andreas Tille at 2024-01-06T09:01:14+01:00
routine-update: Build-Depends: s/dh-python/dh-sequence-python3/

- - - - -
1de2f2ea by Andreas Tille at 2024-01-06T09:02:29+01:00
routine-update: Ready to upload to unstable

- - - - -


5 changed files:

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


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+python-datacache (1.2.1-2) unstable; urgency=medium
+
+  * Team upload.
+  * Remove usage of old python3-mock (Thanks for the patch to Alexandre Detiste)
+    Closes: #1060092
+  * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
+
+ -- Andreas Tille <tille at debian.org>  Sat, 06 Jan 2024 09:01:23 +0100
+
 python-datacache (1.2.1-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -4,15 +4,14 @@ Priority: optional
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Steffen Moeller <moeller at debian.org>
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                python3-setuptools,
                python3-all,
                python3-requests,
                python3-pandas,
                python3-appdirs,
                python3-biopython <!nocheck>,
-               python3-typechecks <!nocheck>,
-               python3-mock <!nocheck>,
+               python3-typechecks <!nocheck>
 Standards-Version: 4.6.2
 Homepage: https://github.com/openvax/datacache
 Vcs-Browser: https://salsa.debian.org/med-team/python-datacache


=====================================
debian/patches/remove-mock.patch
=====================================
@@ -0,0 +1,32 @@
+Author: Alexandre Detiste <alexandre.detiste at gmail.com>
+Last-Update: Fri, 05 Jan 2024 21:11:16 +0100
+Bug-Debian: https://bugs.debian.org/1060092
+Description: remove usage of old python3-mock
+
+--- a/datacache.egg-info/requires.txt
++++ b/datacache.egg-info/requires.txt
+@@ -3,4 +3,3 @@ appdirs>=1.4.0
+ progressbar33>=2.4
+ requests>=2.5.1
+ typechecks>=0.0.2
+-mock
+--- a/setup.py
++++ b/setup.py
+@@ -58,7 +58,6 @@ if __name__ == "__main__":
+             "progressbar33>=2.4",
+             "requests>=2.5.1",
+             "typechecks>=0.0.2",
+-            "mock",
+         ],
+         long_description=readme_markdown,
+         long_description_content_type='text/markdown',
+--- a/test/test_cache_object.py
++++ b/test/test_cache_object.py
+@@ -1,6 +1,6 @@
+ from os import remove
+ from os.path import exists
+-from mock import patch
++from unittest.mock import patch
+ 
+ from datacache import Cache
+ 


=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
 noInternetAccessForDownloads.patch
 python3.10.patch
 switch-to-pytest.patch
+remove-mock.patch


=====================================
debian/rules
=====================================
@@ -3,4 +3,4 @@ export DH_VERBOSE = 1
 export PYBUILD_NAME=datacache
 
 %:
-	dh $@ --with python3 --buildsystem=pybuild
+	dh $@ --buildsystem=pybuild



View it on GitLab: https://salsa.debian.org/med-team/python-datacache/-/compare/32bd7956745a9dd40933322403a55affcd7ea7cd...1de2f2ea6ac07b26842996deb4bb425d0453f91e

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-datacache/-/compare/32bd7956745a9dd40933322403a55affcd7ea7cd...1de2f2ea6ac07b26842996deb4bb425d0453f91e
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/20240106/7001e8fe/attachment-0001.htm>


More information about the debian-med-commit mailing list