File: reportlab3.5.patch

package info (click to toggle)
python-biopython 1.73%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 57,852 kB
  • sloc: python: 169,977; xml: 97,539; ansic: 15,653; sql: 1,208; makefile: 159; sh: 63
file content (19 lines) | stat: -rw-r--r-- 738 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix compatibility with ReportLab 3.5
Bug: https://github.com/biopython/biopython/issues/1737
Bug-Debian: https://bugs.debian.org/913064
Origin: upstream, https://github.com/biopython/biopython/commit/c7b909e842139f82d87639f3080bc45ff9613cca
Origin: upstream, https://github.com/biopython/biopython/commit/a5fe524925f42370349ceb50aa57aa1129d384d8
Author: Peter Cock <p.j.a.cock@googlemail.com>
Last-Update: 2018-08-13

--- a/Tests/test_GenomeDiagram.py
+++ b/Tests/test_GenomeDiagram.py
@@ -50,6 +50,8 @@ from Bio.Graphics.GenomeDiagram._Colors
 from reportlab import rl_config
 rl_config.invariant = True
 
+from reportlab import rl_config
+rl_config.invariant = True
 
 def fill_and_border(base_color, alpha=0.5):
     try: