Package: pycountry / 20.7.3+ds1-1
Metadata
Package | Version | Patches format |
---|---|---|
pycountry | 20.7.3+ds1-1 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
00 use_system_iso codes.patch | (download) |
src/pycountry/__init__.py |
18 9 + 9 - 0 ! |
use system-wide iso-codes |
01 prevent_logger_warning.patch | (download) |
src/pycountry/db.py |
10 10 + 0 - 0 ! |
--- |
02 disable failing asserts.patch | (download) |
src/pycountry/tests/test_general.py |
8 4 + 4 - 0 ! |
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. |
03 fix pkg resources.patch | (download) |
src/pycountry/__init__.py |
2 1 + 1 - 0 ! |
skip use of pkg-resources pkg-resources only works once the package has been installed and breaks in-place testing. Stub out the offending tests and fix the handling of the error from pkg-resources. |
1