Control: tags -1 patch Hi,
In Ubuntu, the attached patch was applied to achieve the following: * d/p/python-3.9.2.patch: Use "&" instead of ";" as query string separator in test-archive.t to fix FTBFS with Python 3.9.2, which changed its urllib.parse.parse_qsl() behavior to only accept "&" as a separator by default. Thanks for considering the patch. Logan
diff -Nru mercurial-5.6.1/debian/patches/python-3.9.2.patch mercurial-5.6.1/debian/patches/python-3.9.2.patch --- mercurial-5.6.1/debian/patches/python-3.9.2.patch 1969-12-31 19:00:00.000000000 -0500 +++ mercurial-5.6.1/debian/patches/python-3.9.2.patch 2021-03-02 23:00:32.000000000 -0500 @@ -0,0 +1,15 @@ +--- a/tests/test-archive.t ++++ b/tests/test-archive.t +@@ -334,10 +334,10 @@ + > pass + > if len(sys.argv) <= 3: + > node, archive = sys.argv[1:] +- > requeststr = 'cmd=archive;node=%s;type=%s' % (node, archive) ++ > requeststr = 'cmd=archive&node=%s&type=%s' % (node, archive) + > else: + > node, archive, file = sys.argv[1:] +- > requeststr = 'cmd=archive;node=%s;type=%s;file=%s' % (node, archive, file) ++ > requeststr = 'cmd=archive&node=%s&type=%s&file=%s' % (node, archive, file) + > try: + > stdout = sys.stdout.buffer + > except AttributeError: diff -Nru mercurial-5.6.1/debian/patches/series mercurial-5.6.1/debian/patches/series --- mercurial-5.6.1/debian/patches/series 2021-02-01 11:46:24.000000000 -0500 +++ mercurial-5.6.1/debian/patches/series 2021-03-02 23:00:01.000000000 -0500 @@ -4,3 +4,4 @@ deb_specific__optional-dependencies deb_specific__disable_libdir_replacement.patch 0005-Tolerate-SIGINT-getting-the-kill-in-test-stdio.py.patch +python-3.9.2.patch