From: Étienne Mollier Date: Sun, 11 Jun 2023 12:47:21 +0000 (+0200) Subject: disable-tests-python3.11.patch removed X-Git-Tag: archive/raspbian/0.22.0+ds-1+rpi1^2^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9a9432a5a869276cd08edc6fd0448b23d5e77fd1;p=python-pysam.git disable-tests-python3.11.patch removed The patch has been applied upstream. --- diff --git a/debian/patches/disable-tests-python3.11.patch b/debian/patches/disable-tests-python3.11.patch deleted file mode 100644 index ecc9936..0000000 --- a/debian/patches/disable-tests-python3.11.patch +++ /dev/null @@ -1,28 +0,0 @@ -Description: skip tests bound to fail past python3.11. - Thanks John Marshall and Graham Inggs for the independent suggestion. -Author: Étienne Mollier -Bug: https://github.com/pysam-developers/pysam/issues/1151 -Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024425 -Last-Update: 2022-12-27 ---- -This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ ---- python-pysam.orig/tests/AlignmentFilePileup_test.py -+++ python-pysam/tests/AlignmentFilePileup_test.py -@@ -1,5 +1,6 @@ - """Benchmarking module for AlignmentFile functionality""" - import os -+import sys - import pysam - import unittest - from TestUtils import make_data_files, BAM_DATADIR, IS_PYTHON3, force_str, flatten_nested_list -@@ -206,6 +207,10 @@ - def tearDown(self): - self.samfile.close() - -+ @unittest.skipIf((sys.version_info.major == 3 -+ and sys.version_info.minor >= 11) -+ or sys.version_info.major >= 4, -+ "Test known to fail past python3.11.") - def testIteratorOutOfScope(self): - '''test if exception is raised if pileup col is accessed after - iterator is exhausted.''' diff --git a/debian/patches/series b/debian/patches/series index 973b469..d5d6853 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,5 +1,4 @@ skip_test_remote.patch clean_less skip-test-on-32-bit.patch -disable-tests-python3.11.patch python3.11.patch