Loading debian/changelog +4 −0 Original line number Diff line number Diff line python-biopython (1.72+dfsg-2) UNRELEASED; urgency=medium [ Andreas Tille ] * Remove unneeded comment about samtools - which is not found by biopython anyway [ Graham Inggs ] * Fix compatibility with ReportLab 3.5 (Closes: #913064) -- Andreas Tille <tille@debian.org> Sat, 28 Jul 2018 05:06:54 +0200 python-biopython (1.72+dfsg-1) unstable; urgency=medium Loading debian/patches/reportlab3.5.patch 0 → 100644 +30 −0 Original line number Diff line number Diff line 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 @@ -47,6 +47,8 @@ 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: @@ -765,9 +767,7 @@ gdd.write(output_filename, 'PDF') # Also check the write_to_string (bytes string) method matches, - # (Note the possible confusion over new lines on Windows) - assert open(output_filename, "rb").read().replace(b"\r\n", b"\n") \ - == gdd.write_to_string('PDF').replace(b"\r\n", b"\n") + assert open(output_filename, "rb").read() == gdd.write_to_string('PDF') output_filename = os.path.join('Graphics', 'GD_region_linear.svg') gdd.write(output_filename, 'SVG') debian/patches/series +1 −0 Original line number Diff line number Diff line remove_mathml-qname.patch privacy_breach.patch reportlab3.5.patch Loading
debian/changelog +4 −0 Original line number Diff line number Diff line python-biopython (1.72+dfsg-2) UNRELEASED; urgency=medium [ Andreas Tille ] * Remove unneeded comment about samtools - which is not found by biopython anyway [ Graham Inggs ] * Fix compatibility with ReportLab 3.5 (Closes: #913064) -- Andreas Tille <tille@debian.org> Sat, 28 Jul 2018 05:06:54 +0200 python-biopython (1.72+dfsg-1) unstable; urgency=medium Loading
debian/patches/reportlab3.5.patch 0 → 100644 +30 −0 Original line number Diff line number Diff line 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 @@ -47,6 +47,8 @@ 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: @@ -765,9 +767,7 @@ gdd.write(output_filename, 'PDF') # Also check the write_to_string (bytes string) method matches, - # (Note the possible confusion over new lines on Windows) - assert open(output_filename, "rb").read().replace(b"\r\n", b"\n") \ - == gdd.write_to_string('PDF').replace(b"\r\n", b"\n") + assert open(output_filename, "rb").read() == gdd.write_to_string('PDF') output_filename = os.path.join('Graphics', 'GD_region_linear.svg') gdd.write(output_filename, 'SVG')
debian/patches/series +1 −0 Original line number Diff line number Diff line remove_mathml-qname.patch privacy_breach.patch reportlab3.5.patch