[Debian-med-packaging] Bug#913064: ReportLab 3.5 breaking Biopython tests
Peter Cock
p.j.a.cock at googlemail.com
Tue Nov 6 23:56:05 GMT 2018
Cross reference upstream Biopython issue:
https://github.com/biopython/biopython/issues/1737
I think the following would suffice as a minimal patch, turning on the
reportlab invariant mode.
Regards,
Peter
--
diff --git a/Tests/test_GenomeDiagram.py b/Tests/test_GenomeDiagram.py
index 457ca932df..a43f56a0a6 100755
--- a/Tests/test_GenomeDiagram.py
+++ b/Tests/test_GenomeDiagram.py
@@ -47,6 +47,9 @@
from Bio.Graphics.GenomeDiagram._Graph import GraphData
from Bio.Graphics.GenomeDiagram._Colors import ColorTranslator
+from reportlab import rl_config
+rl_config.invariant = True
+
def fill_and_border(base_color, alpha=0.5):
try:
More information about the Debian-med-packaging
mailing list