Hi, here's the missing patch, sorry, my email had a snafu.
D. -- Daniel Silverstone http://www.digital-scurf.org/ PGP mail accepted and encouraged. Key Id: 3CCE BABE 206C 3B69
diff -Nru pycountry-1.8+ds1/debian/changelog pycountry-1.8+ds1/debian/changelog --- pycountry-1.8+ds1/debian/changelog 2014-08-27 00:21:20.000000000 +0100 +++ pycountry-1.8+ds1/debian/changelog 2017-01-28 23:28:00.000000000 +0000 @@ -1,3 +1,10 @@ +pycountry (1.8+ds1-0.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add 01-disable-failing-asserts.patch (Closes: #821892) + + -- Daniel Silverstone <dsilv...@digital-scurf.org> Sat, 28 Jan 2017 23:27:30 +0000 + pycountry (1.8+ds1-0.1) unstable; urgency=medium * New upstream release diff -Nru pycountry-1.8+ds1/debian/patches/02-disable-failing-asserts.patch pycountry-1.8+ds1/debian/patches/02-disable-failing-asserts.patch --- pycountry-1.8+ds1/debian/patches/02-disable-failing-asserts.patch 1970-01-01 01:00:00.000000000 +0100 +++ pycountry-1.8+ds1/debian/patches/02-disable-failing-asserts.patch 2017-01-28 23:31:34.000000000 +0000 @@ -0,0 +1,52 @@ +Description: Disable failing asserts + iso-codes has long moved on beyond that which pycountry knows. + This means the count of countries, subdivisions, etc are out of + date. Rather than risk an FTBFS when iso-codes moves on once more + simply comment out the specific asserts, leaving the rest of the + testing intact. +Author: Daniel Silverstone <dsilv...@digital-scurf.org> +Origin: other +Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=821892 +Forwarded: no +Reviewed-by: Jonathan Wiltshire <j...@debian.org> +Last-Update: 2017-02-28 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/src/pycountry/tests/test_general.py ++++ b/src/pycountry/tests/test_general.py +@@ -25,7 +25,7 @@ + + + def test_subdivisions_directly_accessible(): +- assert len(pycountry.subdivisions) == 4847 ++ #assert len(pycountry.subdivisions) == 4847 + assert isinstance(list(pycountry.subdivisions)[0], pycountry.db.Data) + + de_st = pycountry.subdivisions.get(code='DE-ST') +@@ -51,7 +51,7 @@ + + + def test_scripts(): +- assert len(pycountry.scripts) == 169 ++ #assert len(pycountry.scripts) == 169 + assert isinstance(list(pycountry.scripts)[0], pycountry.db.Data) + + latin = pycountry.scripts.get(name='Latin') +@@ -61,7 +61,7 @@ + + + def test_currencies(): +- assert len(pycountry.currencies) == 182 ++ #assert len(pycountry.currencies) == 182 + assert isinstance(list(pycountry.currencies)[0], pycountry.db.Data) + + argentine_peso = pycountry.currencies.get(letter='ARS') +@@ -71,7 +71,7 @@ + + + def test_languages(): +- assert len(pycountry.languages) == 487 ++ #assert len(pycountry.languages) == 487 + assert isinstance(list(pycountry.languages)[0], pycountry.db.Data) + + aragonese = pycountry.languages.get(alpha2='an') diff -Nru pycountry-1.8+ds1/debian/patches/series pycountry-1.8+ds1/debian/patches/series --- pycountry-1.8+ds1/debian/patches/series 2014-07-09 16:49:47.000000000 +0100 +++ pycountry-1.8+ds1/debian/patches/series 2017-01-28 23:26:49.000000000 +0000 @@ -1,2 +1,3 @@ 00-use_system_iso-codes.patch 01-prevent_logger_warning.patch +02-disable-failing-asserts.patch