Nilesh Patra pushed to branch master at Debian Med / cyvcf2
Commits: 842efd6f by Nilesh Patra at 2021-01-26T23:36:36+05:30 Attempt fixing i386 FTBFS with skipping a test that ends up with NaN values - - - - - 96df1e64 by Nilesh Patra at 2021-01-26T23:37:33+05:30 Update changelog - - - - - 3 changed files: - debian/changelog - + debian/patches/i386.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +cyvcf2 (0.30.4-3) unstable; urgency=medium + + * Attempt fixing i386 FTBFS with skipping + a test that ends up with NaN values + + -- Nilesh Patra <[email protected]> Tue, 26 Jan 2021 23:36:46 +0530 + cyvcf2 (0.30.4-2) unstable; urgency=medium * Pull Upstream PR to fix ppc64el build ===================================== debian/patches/i386.patch ===================================== @@ -0,0 +1,23 @@ +Description: Skip test on i386 because the file ends up with a few NaN values due to exceeding ranges, hence skipping +Author: Nilesh Patra <[email protected]> +Last-Update: 2021-01-26 +--- a/cyvcf2/tests/test_reader.py ++++ b/cyvcf2/tests/test_reader.py +@@ -12,6 +12,8 @@ + except ImportError: + from pathlib2 import Path # python 2 backport + ++import platform ++import unittest + + HERE = os.path.dirname(__file__) + VCF_PATH = os.path.join(HERE, "test.vcf.gz") +@@ -1131,6 +1133,8 @@ + vcf.seqlens + assert isinstance(ae.exception, AttributeError) + [email protected]((platform.uname().machine == 'i386' or platform.uname().machine == 'x86_64') and platform.architecture()[0] == '32bit', \ ++ reason="The file ends up with a few NaN values on i386 due to exceeding ranges, hence skipping") + def test_set_unknown_format(): + vcf = VCF(VCF_PATH) + vcf.add_format_to_header({'ID':'NEW', 'Type':'Float', 'Number':1, 'Description':'...'}) ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ add_htslib_link_dependency.patch #spelling 188.patch +i386.patch View it on GitLab: https://salsa.debian.org/med-team/cyvcf2/-/compare/461002ec20796a52081bd5a4e3aa717e4dbf0d8a...96df1e642ef950049cbdd1b826fac86cf2a4bfee -- View it on GitLab: https://salsa.debian.org/med-team/cyvcf2/-/compare/461002ec20796a52081bd5a4e3aa717e4dbf0d8a...96df1e642ef950049cbdd1b826fac86cf2a4bfee You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
