Source: python-publicsuffix2 Version: 2.20191221-5 Followup-For: Bug #1123293
Dear maintainer, this FTBFS is triggered by my recent upload of publicsuffix[0] which contains an upstream commit changing the handling of .bd domains[1]. The autopkgtest are also affected, preventing publicsuffix to migrate to testing for the time being[2]. The attached patch simply removes the now-failing tests, allowing the package to build again and its autopkgtest to succeed. Not tagging this bug with "patch" as most probably a better patch would be preferred. Cheers, Flo [0] https://tracker.debian.org/news/1697533/accepted-publicsuffix-202512040750-01-source-into-unstable/ [1] https://github.com/publicsuffix/list/commit/30f4f4244cfef423c0150cfab53a5d89bc734f65 or https://salsa.debian.org/debian/publicsuffix/-/commit/30f4f4244cfef423c0150cfab53a5d89bc734f65 [2] https://qa.debian.org/excuses.php?package=publicsuffix or https://ci.debian.net/packages/p/python-publicsuffix2/testing/amd64/67223488/
Index: python-publicsuffix2-2.20191221/tests_mozilla.py
===================================================================
--- python-publicsuffix2-2.20191221.orig/tests_mozilla.py
+++ python-publicsuffix2-2.20191221/tests_mozilla.py
@@ -132,15 +132,6 @@ class TestPublicSuffixMozilla(unittest.T
def test_get_tld_TLD_with_only_1_wildcard_rule1(self):
assert 'bd' == publicsuffix.get_tld('bd')
- def test_get_tld_TLD_with_only_1_wildcard_rule2(self):
- assert 'c.bd' == publicsuffix.get_tld('c.bd')
-
- def test_get_tld_TLD_with_only_1_wildcard_rule3(self):
- assert 'c.bd' == publicsuffix.get_tld('b.c.bd')
-
- def test_get_tld_TLD_with_only_1_wildcard_rule4(self):
- assert 'c.bd' == publicsuffix.get_tld('a.b.c.bd')
-
def test_get_tld_More_complex_TLD1(self):
assert 'jp' == publicsuffix.get_tld('jp')
@@ -396,15 +387,6 @@ class TestPublicSuffixMozillaStrict(unit
def test_get_tld_TLD_with_only_1_wildcard_rule1(self):
assert 'bd' == publicsuffix.get_tld('bd', strict=True)
- def test_get_tld_TLD_with_only_1_wildcard_rule2(self):
- assert 'c.bd' == publicsuffix.get_tld('c.bd', strict=True)
-
- def test_get_tld_TLD_with_only_1_wildcard_rule3(self):
- assert 'c.bd' == publicsuffix.get_tld('b.c.bd', strict=True)
-
- def test_get_tld_TLD_with_only_1_wildcard_rule4(self):
- assert 'c.bd' == publicsuffix.get_tld('a.b.c.bd', strict=True)
-
def test_get_tld_More_complex_TLD1(self):
assert 'jp' == publicsuffix.get_tld('jp', strict=True)
@@ -663,12 +645,6 @@ class TestPublicSuffixMozillaSld(unittes
def test_get_sld_tld_with_only_1_wildcard_rule2(self):
assert 'c.bd' == publicsuffix.get_sld('c.bd')
- def test_get_sld_tld_with_only_1_wildcard_rule3(self):
- assert 'b.c.bd' == publicsuffix.get_sld('b.c.bd')
-
- def test_get_sld_tld_with_only_1_wildcard_rule4(self):
- assert 'b.c.bd' == publicsuffix.get_sld('a.b.c.bd')
-
def test_get_sld_More_complex_sld1(self):
assert 'jp' == publicsuffix.get_sld('jp')
signature.asc
Description: PGP signature

