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

Bug#964497: Info received (ITP: python-jsonrpc-server -- JSON-RPC is a stateless, light-weight remote procedure call (RPC) protocol)



Hi Pablo,

* Pablo Mestre <pmdcuba@gmail.com> [2020-11-05 22:38]:

El 11/1/20 a las 2:44 PM, Otto Kekäläinen escribió:
Hello!


Pablo Mestre:

Please check out
https://salsa.debian.org/python-team/packages/python-jsonrpc-server/-/pipelines
and submit MR at
https://salsa.debian.org/python-team/packages/python-jsonrpc-server/-/merge_requests
if you have fixes for the failing CI.

- Otto

It is a bit rare that this error appears again[1].

Previously it had been fixed with a patch [2] and the addition of
python3-ujson by Jochen Sprickerhof

Well previously we where using python3-ujson 1.35 but in the meantime version 4.0.1 was uploaded to unstable.

Looking at

https://salsa.debian.org/python-team/packages/python-jsonrpc-server/-/jobs/1126139

The error is:

TypeError: datetime.datetime(2019, 1, 1, 1, 1, 1) is not JSON serializable

which you can reproduce easily (and sounds right).

On the other hand jsonrpc requers an old ujson:

https://salsa.debian.org/python-team/packages/python-jsonrpc-server/-/blob/debian/master/setup.py#L37

Consider talking to upstream about the reasoning behind it.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature


Reply to: