[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#975531: marked as done (pyhamtools's autopkg tests fail with Python 3.9)



Your message dated Mon, 23 Nov 2020 22:51:43 +0000
with message-id <E1khKgR-0003rL-MV@fasolo.debian.org>
and subject line Bug#975531: fixed in pyhamtools 0.7.6-1
has caused the Debian Bug report #975531,
regarding pyhamtools's autopkg tests fail with Python 3.9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
975531: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975531
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:pyhamtools
Version: 0.7.5-1
Severity: serious
Tags: sid bullseye
User: debian-python@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

--- End Message ---
--- Begin Message ---
Source: pyhamtools
Source-Version: 0.7.6-1
Done: Christoph Berg <myon@debian.org>

We believe that the bug you reported is fixed in the latest version of
pyhamtools, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 975531@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <myon@debian.org> (supplier of updated pyhamtools package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 23 Nov 2020 22:24:39 +0100
Source: pyhamtools
Architecture: source
Version: 0.7.6-1
Distribution: unstable
Urgency: low
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Closes: 975531
Changes:
 pyhamtools (0.7.6-1) unstable; urgency=low
 .
   [ Debian Janitor ]
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
     Repository-Browse.
   * Update standards version to 4.5.0, no changes needed.
 .
   [ Christoph Berg ]
   * New upstream version.
   * Python 3.9 removed the json.loads(encoding) keyword argument and the old
     plistlib API. (Closes: #975531)
Checksums-Sha1:
 71ef7c5d0ab40ceb1f8fc50f8404bd8f4d058d6b 2149 pyhamtools_0.7.6-1.dsc
 6f92965e1ca1c499bf786a27f8e6653f9fe380d4 5499676 pyhamtools_0.7.6.orig.tar.gz
 d20154f36aaca76927c89ca37b023b499a9c5f58 3712 pyhamtools_0.7.6-1.debian.tar.xz
Checksums-Sha256:
 9ca2148b525b3e801b3300a4da987633bee0da7d1050b0c378fef167b394c7d9 2149 pyhamtools_0.7.6-1.dsc
 118083b2b2612313f2df20d98d88e6afe24d04758dbc590ae82c455dc29458b9 5499676 pyhamtools_0.7.6.orig.tar.gz
 8adee93ea687690b59fffced5960a2dba813ef34395ce61f9104bc930b4768ee 3712 pyhamtools_0.7.6-1.debian.tar.xz
Files:
 1f96eb975ed921ecc99d9efeee664be2 2149 python optional pyhamtools_0.7.6-1.dsc
 a28435e494b6b420be247c0f7d94ee6d 5499676 python optional pyhamtools_0.7.6.orig.tar.gz
 3d6a0bee9dc118afc665fddeb103e46e 3712 python optional pyhamtools_0.7.6-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAl+8N9oACgkQTFprqxLS
p65lkg//XXZng5j4xUxMWox+5XkGRspugvpguTP3x9IbMobZz7a37Huq6bDa0Kv6
SvzqQe22rtsxSCsur0SzI/lJI/Mr12p6mY28Rcf6m/YuLJg/woNvb573d8gLNd3l
3GNmCulATdZDC2t6iRXQoXEuFu6c2KA+6TYc97L1AP+G7jfMyKZuIH0tDFu8vqIO
/EbLDtDdS5f5ldj4/34loa1zrOCD/l4+sX4brnn3hUn4d/OhxyNGhoeoblCcytd7
sjASTRp0mSHqY+Mbh7Ur1tVDEX8b5tphk9yYwONPhQxo+xTrq5WCJhMpPBxa6xnA
chhI8reg0eYUsW0z15B35NTU2Fid8P7wwqmZT+PKA6q8IQxB0GZwNqGeh9v2Ap9u
Si2edYCYr0F2n7l7vEvB+A8dqSkZQ8JPdpkUMEz7hIntSCJ0eWQ9PAMePpJqVBtU
kpldqI8p6VF+omDUMbf98I2aB+97bUG/gdQWSA/BX6yAiHKo5O7892dYbkMTcG5R
ltqp72NFRZ7J4I5p42RarB5sao/dxy3rPCc5kbYu20uKSr7KSImMizeynnX4votK
SEr7uei0pBPqOXMf11Ir//vW1/mW0wAPb5ZciPHBurmGuWRlTHdJYv3ql/l2hxFP
OIT4DjJ8Is/Ny8usHomlK/av8gX2fYx18PncEbqJp8GRpz+epVs=
=etVL
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: