Andreas Tille pushed to branch master at Debian Med / libbio-procedural-perl


Commits:
3ce102b0 by Andreas Tille at 2025-02-16T10:44:06+01:00
Ignore errors accessing remote hosts Closes: #1078626

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/no_remote_tests.patch
- + debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -2,8 +2,10 @@ libbio-procedural-perl (1.7.4-3) UNRELEASED; urgency=medium
 
   * Team upload.
   * Fix maintainer address
+  * Ignore errors accessing remote hosts
+    Closes: #1078626
 
- -- Andreas Tille <ti...@debian.org>  Tue, 23 Feb 2021 10:54:01 +0100
+ -- Andreas Tille <ti...@debian.org>  Sun, 16 Feb 2025 10:40:09 +0100
 
 libbio-procedural-perl (1.7.4-2) unstable; urgency=medium
 


=====================================
debian/patches/no_remote_tests.patch
=====================================
@@ -0,0 +1,38 @@
+Description: Ignore errors accessing remote hosts
+ Remark: This bug can be probably ignored since its checking certificates
+         of hosts three years in future which are possibly invalid at the
+         time of checking but will most probably valid once the real time
+         has reached that date.
+Bug-Debian: https://bugs.debian.org/1078626
+Author: Andreas Tille <ti...@debian.org>
+Last-Update: 2025-02-16
+
+--- a/t/Perl.t
++++ b/t/Perl.t
+@@ -96,7 +96,7 @@ SKIP: {
+         eval {
+             $seq_object = get_sequence('genbank',"AI129902");
+         };
+-        if ($@) {
++        if ($@ || !defined $seq_object) {
+             skip("problem connecting to GenBank:$@",2);
+         } else {
+             ok $seq_object;
+@@ -122,7 +122,7 @@ SKIP: {
+         eval {
+             $seq_object = get_sequence('genpept',"AAC06201");
+         };
+-        if ($@) {
++        if ($@ || !defined $seq_object) {
+             skip("problem connecting to RefSeq:$@",2);
+         } else {
+             ok $seq_object;
+@@ -135,7 +135,7 @@ SKIP: {
+         eval {
+             $blast_report = blast_sequence($seq_object, 0);
+         };
+-        if ($@) {
++        if ($@ || !defined $blast_report) {
+             skip("problem connecting to NCBI BLAST:$@",2);
+         } else {
+             ok $blast_report;


=====================================
debian/patches/series
=====================================
@@ -0,0 +1 @@
+no_remote_tests.patch



View it on GitLab: 
https://salsa.debian.org/med-team/libbio-procedural-perl/-/commit/3ce102b000946c664bfb4ddffe47d5d934954aaa

-- 
View it on GitLab: 
https://salsa.debian.org/med-team/libbio-procedural-perl/-/commit/3ce102b000946c664bfb4ddffe47d5d934954aaa
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
debian-med-commit mailing list
debian-med-com...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to