[med-svn] [Git][med-team/python-gffutils][master] 3 commits: d/patches: add pytest 8.x compatability. Closes: #1063974
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Wed Mar 6 09:00:32 GMT 2024
Michael R. Crusoe pushed to branch master at Debian Med / python-gffutils
Commits:
f3483d0a by Michael R. Crusoe at 2024-03-06T09:42:18+01:00
d/patches: add pytest 8.x compatability. Closes: #1063974
- - - - -
7d682023 by Michael R. Crusoe at 2024-03-06T09:53:57+01:00
routine-update: Build-Depends: s/dh-python/dh-sequence-python3/
- - - - -
55f2ffe3 by Michael R. Crusoe at 2024-03-06T09:54:18+01:00
routine-update: Ready to upload to unstable
- - - - -
5 changed files:
- debian/changelog
- debian/control
- + debian/patches/pytest8
- debian/patches/series
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+python-gffutils (0.12-3) unstable; urgency=medium
+
+ * d/patches: add pytest 8.x compatability. Closes: #1063974
+ * Build-Depends: s/dh-python/dh-sequence-python3/ (routine-update)
+
+ -- Michael R. Crusoe <crusoe at debian.org> Wed, 06 Mar 2024 09:54:18 +0100
+
python-gffutils (0.12-2) unstable; urgency=medium
* Team Upload.
=====================================
debian/control
=====================================
@@ -6,7 +6,7 @@ Uploaders: Michael R. Crusoe <crusoe at debian.org>,
Section: science
Priority: optional
Build-Depends: debhelper-compat (= 13),
- dh-python,
+ dh-sequence-python3,
bedtools,
python3-all,
python3-setuptools,
=====================================
debian/patches/pytest8
=====================================
@@ -0,0 +1,30 @@
+From: Michael R. Crusoe <crusoe at debian.org>
+Subject: Add pytest 8.x compat
+
+Works with Pytest 7.x+
+--- python-gffutils.orig/gffutils/test/feature_test.py
++++ python-gffutils/gffutils/test/feature_test.py
+@@ -152,10 +152,10 @@
+ namespace or something? Anyway, these setup/teardowns do the trick.
+ """
+
+- def setup(self):
++ def setup_method(self):
+ constants.always_return_list = False
+
+- def teardown(self):
++ def teardown_method(self):
+ constants.always_return_list = True
+
+ def test_feature_single_item(self):
+--- python-gffutils.orig/gffutils/test/test_1.py
++++ python-gffutils/gffutils/test/test_1.py
+@@ -193,7 +193,7 @@
+
+ orig_fn = None
+
+- def setup(self):
++ def setup_method(self):
+ def gff_id_func(f):
+ if "ID" in f.attributes:
+ return f.attributes["ID"][0]
=====================================
debian/patches/series
=====================================
@@ -1,3 +1,4 @@
+pytest8
newer_bedtools
python3
fix-version.patch
=====================================
debian/rules
=====================================
@@ -11,7 +11,7 @@ export PYBUILD_TEST_PYTEST=true
export PYBUILD_AFTER_TEST=find . -name tmp.db -delete
%:
- dh $@ --with python3 --buildsystem=pybuild
+ dh $@ --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
View it on GitLab: https://salsa.debian.org/med-team/python-gffutils/-/compare/d2aee323e1e8a70f01252abbf1a2141a08c94d05...55f2ffe3a5f4c3466362748ae3d79c078231064c
--
View it on GitLab: https://salsa.debian.org/med-team/python-gffutils/-/compare/d2aee323e1e8a70f01252abbf1a2141a08c94d05...55f2ffe3a5f4c3466362748ae3d79c078231064c
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/20240306/4447fa91/attachment-0001.htm>
More information about the debian-med-commit
mailing list