Package: src:pyhamtools Version: 0.7.5-1 Severity: serious Tags: sid bullseye User: debian-pyt...@lists.debian.org Usertags: python3.9
[...] autopkgtest [01:09:28]: test test: [----------------------- 240.98586185281698 {'morning_dawn': datetime.datetime(2020, 11, 23, 6, 25, 46, 548400, tzinfo=<UTC>), 'sunrise': datetime.datetime(2020, 11, 23, 7, 4, 19, 896518, tzinfo=<UTC>), 'evening_dawn': datetime.datetime(2020, 11, 23, 15, 35, 14, 459930, tzinfo=<UTC>), 'sunset': datetime.datetime(2020, 11, 23, 16, 13, 46, 899807, tzinfo=<UTC>)} {'band': 20, 'mode': 'CW'} Traceback (most recent call last): File "/tmp/autopkgtest-lxc.fabnekl3/downtmp/build.IrN/src/debian/tests/test", line 14, in <module> my_lookuplib = LookupLib(lookuptype="countryfile", filename="test/fixtures/cty.plist") File "/usr/lib/python3/dist-packages/pyhamtools/lookuplib.py", line 113, in __init__ self._load_countryfile(cty_file=self._lib_filename) File "/usr/lib/python3/dist-packages/pyhamtools/lookuplib.py", line 1040, in _load_countryfile cty_dict = self._parse_country_file(cty_file, country_mapping_filename) File "/usr/lib/python3/dist-packages/pyhamtools/lookuplib.py", line 1429, in _parse_country_file mapping = json.loads(f.read(),encoding='UTF-8') File "/usr/lib/python3.9/json/__init__.py", line 359, in loads return cls(**kw).decode(s) TypeError: __init__() got an unexpected keyword argument 'encoding' autopkgtest [01:09:29]: test test: -----------------------] autopkgtest [01:09:29]: test test: - - - - - - - - - - results - - - - - - - - - - test FAIL non-zero exit status 1 autopkgtest [01:09:29]: test test: - - - - - - - - - - stderr - - - - - - - - - - Traceback (most recent call last): File "/tmp/autopkgtest-lxc.fabnekl3/downtmp/build.IrN/src/debian/tests/test", line 14, in <module> my_lookuplib = LookupLib(lookuptype="countryfile", filename="test/fixtures/cty.plist") File "/usr/lib/python3/dist-packages/pyhamtools/lookuplib.py", line 113, in __init__ self._load_countryfile(cty_file=self._lib_filename) File "/usr/lib/python3/dist-packages/pyhamtools/lookuplib.py", line 1040, in _load_countryfile cty_dict = self._parse_country_file(cty_file, country_mapping_filename) File "/usr/lib/python3/dist-packages/pyhamtools/lookuplib.py", line 1429, in _parse_country_file mapping = json.loads(f.read(),encoding='UTF-8') File "/usr/lib/python3.9/json/__init__.py", line 359, in loads return cls(**kw).decode(s) TypeError: __init__() got an unexpected keyword argument 'encoding' autopkgtest [01:09:29]: @@@@@@@@@@@@@@@@@@@@ summary test FAIL non-zero exit status 1