Your message dated Thu, 05 Nov 2020 15:03:35 +0000
with message-id <e1kagnx-000ibh...@fasolo.debian.org>
and subject line Bug#973018: fixed in python-etelemetry 0.2.0-4
has caused the Debian Bug report #973018,
regarding python-etelemetry's autopkg tests are failing with python3.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 ow...@bugs.debian.org
immediately.)
--
973018: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973018
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-etelemetry
Version: 0.2.0-3
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9
=================================== FAILURES ===================================
_______________________________ test_get_project _______________________________
def test_get_project():
repo = "invalidrepo"
with pytest.raises(ValueError):
get_project(repo)
repo = "github/hub"
> res = get_project(repo)
test_client.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
../client.py:59: in get_project
return res.json(encoding="utf-8")
/usr/lib/python3/dist-packages/requests/models.py:889: in json
return complexjson.loads(
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
s = '{"version":"2.14.2"}', cls = <class 'json.decoder.JSONDecoder'>
object_hook = None, parse_float = None, parse_int = None, parse_constant = None
object_pairs_hook = None, kw = {'encoding': 'utf-8'}
def loads(s, *, cls=None, object_hook=None, parse_float=None,
parse_int=None, parse_constant=None, object_pairs_hook=None, **kw):
"""Deserialize ``s`` (a ``str``, ``bytes`` or ``bytearray`` instance
containing a JSON document) to a Python object.
``object_hook`` is an optional function that will be called with the
result of any object literal decode (a ``dict``). The return value of
``object_hook`` will be used instead of the ``dict``. This feature
can be used to implement custom decoders (e.g. JSON-RPC class hinting).
``object_pairs_hook`` is an optional function that will be called with
the
result of any object literal decoded with an ordered list of pairs. The
return value of ``object_pairs_hook`` will be used instead of the
``dict``.
This feature can be used to implement custom decoders. If
``object_hook``
is also defined, the ``object_pairs_hook`` takes priority.
``parse_float``, if specified, will be called with the string
of every JSON float to be decoded. By default this is equivalent to
float(num_str). This can be used to use another datatype or parser
for JSON floats (e.g. decimal.Decimal).
``parse_int``, if specified, will be called with the string
of every JSON int to be decoded. By default this is equivalent to
int(num_str). This can be used to use another datatype or parser
for JSON integers (e.g. float).
``parse_constant``, if specified, will be called with one of the
following strings: -Infinity, Infinity, NaN.
This can be used to raise an exception if invalid JSON numbers
are encountered.
To use a custom ``JSONDecoder`` subclass, specify it with the ``cls``
kwarg; otherwise ``JSONDecoder`` is used.
"""
if isinstance(s, str):
if s.startswith('\ufeff'):
raise JSONDecodeError("Unexpected UTF-8 BOM (decode using
utf-8-sig)",
s, 0)
else:
if not isinstance(s, (bytes, bytearray)):
raise TypeError(f'the JSON object must be str, bytes or
bytearray, '
f'not {s.__class__.__name__}')
s = s.decode(detect_encoding(s), 'surrogatepass')
if (cls is None and object_hook is None and
parse_int is None and parse_float is None and
parse_constant is None and object_pairs_hook is None and not
kw):
return _default_decoder.decode(s)
if cls is None:
cls = JSONDecoder
if object_hook is not None:
kw['object_hook'] = object_hook
if object_pairs_hook is not None:
kw['object_pairs_hook'] = object_pairs_hook
if parse_float is not None:
kw['parse_float'] = parse_float
if parse_int is not None:
kw['parse_int'] = parse_int
if parse_constant is not None:
kw['parse_constant'] = parse_constant
> return cls(**kw).decode(s)
E TypeError: __init__() got an unexpected keyword argument 'encoding'
/usr/lib/python3.9/json/__init__.py:359: TypeError
_____________________________ test_check_available _____________________________
def test_check_available():
repo = "invalidrepo"
res = check_available_version(repo, "0.1.0")
assert res is None
repo = "github/hub"
res = check_available_version(repo, "0.1.0")
> assert "version" in res
E TypeError: argument of type 'NoneType' is not iterable
test_client.py:49: TypeError
====================== 2 failed, 2 passed in 1.42 seconds ======================
--- End Message ---
--- Begin Message ---
Source: python-etelemetry
Source-Version: 0.2.0-4
Done: Nilesh Patra <npatra...@gmail.com>
We believe that the bug you reported is fixed in the latest version of
python-etelemetry, 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 973...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nilesh Patra <npatra...@gmail.com> (supplier of updated python-etelemetry
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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 05 Nov 2020 18:31:30 +0530
Source: python-etelemetry
Architecture: source
Version: 0.2.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Nilesh Patra <npatra...@gmail.com>
Closes: 973018
Changes:
python-etelemetry (0.2.0-4) unstable; urgency=medium
.
* Team upload.
* Fix python3.9 incompatibility (Closes: #973018)
* compat: 13
Checksums-Sha1:
b6ab26106735d5def679df24d80a42b72c21a5e8 2232 python-etelemetry_0.2.0-4.dsc
67853e924165b94e3fa19059a51627ca85ba5c97 3488
python-etelemetry_0.2.0-4.debian.tar.xz
effd58f6d586d891dd8e031fd98478b31854a1c5 6557
python-etelemetry_0.2.0-4_amd64.buildinfo
Checksums-Sha256:
fc13b0962c8cfa407560fb469d5d858fae94dc4e16ffbd659bea5375f77cfaa0 2232
python-etelemetry_0.2.0-4.dsc
957bbd5ba5fdec2963b8997316698a16e30f213918efb1afce9494260c847574 3488
python-etelemetry_0.2.0-4.debian.tar.xz
6ae3ed28c852b1953f4911d17cbe6c903f2778da708fa3e9c24e9ac24207fa21 6557
python-etelemetry_0.2.0-4_amd64.buildinfo
Files:
21a1147f08f0930caebf14b6a4586a6f 2232 python optional
python-etelemetry_0.2.0-4.dsc
09118f13a41f927487d3867e5e02e3e5 3488 python optional
python-etelemetry_0.2.0-4.debian.tar.xz
448ac7e51d2a93b90a01c224dec20358 6557 python optional
python-etelemetry_0.2.0-4_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEEPpmlJvXcwMu/HO6mALrnSzQzafEFAl+kD0UUHG5wYXRyYTk3
NEBnbWFpbC5jb20ACgkQALrnSzQzafGgqhAAqjy7rDdtUb6f6hVMvxDLWOI7THSb
G0L7TqcRlKjwvd/ZwWUDWDi7p7J6KAA3+oaHaTMd+A333UCc3x3DuCytGt7pvtAM
PGcvKkvarB9kPHMt146hG5y0+lDDBfo9zJPdT51BMGuQ4LCHuZAuNeMDntYmzOyU
w6jzxrZ2N+Ni8P5wOkjWtDzUBK9v0i0lUlDYs4ysDWZ3Fd7zjXGaQZP8Gy69pQ8l
IN1XlG0WMrYbksV9nnRDJghp2u4MFB2YssbfeRugz7ijZYrOLqYwxzCjfjzbOV6c
R2e6b+5PUPbyyowQsaadKi/w7FkTsfiGxAJbUs6Z8mohwhK9GpAQ/zcwW/nYyesW
B8TOG+5Vm9bgAZaWDh+GmVWzhZ1ITzSkK2aYDvt6LW2kgNd9f9NBiqXp9o/iI6hT
aW1LwDcML2Y87CbGB8x8BKnXcFcVRlS5v4ES9DOPtJyaX+jP8SmH+lE+T9V+WQBv
csgWKX5+7skSMCWB9nbW8dr38stzs8hblGRh0WQjRLJ5OXAc1eWUHZYYLU1/SCWT
XtKAxkQT3zZ1+R1KHghiRh74o8kSi1FEM3iEz5KngsOgScJhONJ+B2zoFNcnH9Qz
2jWinAfX4s9g7TgQa+PE+GK+XTlaL24dO0t5SlX8Nx1EVIcEKuAg18yRAz+70Cvb
Of6WpmPXqNZ5FWU=
=dalq
-----END PGP SIGNATURE-----
--- End Message ---