Loading debian/patches/python3.patch 0 → 100644 +47 −0 Original line number Diff line number Diff line Author: Andreas Tille <tille@debian.org> Last-Update: Sat, 07 Dec 2019 21:44:15 +0100 Description: Force Python3 in some scripts --- a/bin/extract-readme-snippets.py +++ b/bin/extract-readme-snippets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 """ Pandoc filter to exact python code blocks and write each snippet out. --- a/pbcommand/create_bundle_manifest.py +++ b/pbcommand/create_bundle_manifest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # Tool to generate the manifest.xml will the correct datetime of bundle # creation as well as add git sha and bamboo build metadata --- a/pbcommand/services/resolver.py +++ b/pbcommand/services/resolver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 """ Utility to obtain paths to important analysis files from SMRT Link jobs, --- a/pbcommand/testkit/nunit.py +++ b/pbcommand/testkit/nunit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 """ Generate an NUnit XML test report annotated with test issue keys, suitable --- a/tests/test_testkit_xunit.py +++ b/tests/test_testkit_xunit.py @@ -101,7 +101,7 @@ class TestXunitOutput: def test_merge_junit_files_cmdline(self): x1, x2 = self._get_junit_files() x_merged = tempfile.NamedTemporaryFile(suffix=".xml").name - args = ["python", "-m" "pbcommand.testkit.merge_junit_files", + args = ["python3", "-m" "pbcommand.testkit.merge_junit_files", "-o", x_merged, x1, x2, "--quiet"] assert subprocess.call(args) == 0 x = ElementTree.ElementTree(file=x_merged) debian/patches/series 0 → 100644 +1 −0 Original line number Diff line number Diff line python3.patch Loading
debian/patches/python3.patch 0 → 100644 +47 −0 Original line number Diff line number Diff line Author: Andreas Tille <tille@debian.org> Last-Update: Sat, 07 Dec 2019 21:44:15 +0100 Description: Force Python3 in some scripts --- a/bin/extract-readme-snippets.py +++ b/bin/extract-readme-snippets.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 """ Pandoc filter to exact python code blocks and write each snippet out. --- a/pbcommand/create_bundle_manifest.py +++ b/pbcommand/create_bundle_manifest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # Tool to generate the manifest.xml will the correct datetime of bundle # creation as well as add git sha and bamboo build metadata --- a/pbcommand/services/resolver.py +++ b/pbcommand/services/resolver.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 """ Utility to obtain paths to important analysis files from SMRT Link jobs, --- a/pbcommand/testkit/nunit.py +++ b/pbcommand/testkit/nunit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 """ Generate an NUnit XML test report annotated with test issue keys, suitable --- a/tests/test_testkit_xunit.py +++ b/tests/test_testkit_xunit.py @@ -101,7 +101,7 @@ class TestXunitOutput: def test_merge_junit_files_cmdline(self): x1, x2 = self._get_junit_files() x_merged = tempfile.NamedTemporaryFile(suffix=".xml").name - args = ["python", "-m" "pbcommand.testkit.merge_junit_files", + args = ["python3", "-m" "pbcommand.testkit.merge_junit_files", "-o", x_merged, x1, x2, "--quiet"] assert subprocess.call(args) == 0 x = ElementTree.ElementTree(file=x_merged)