Created attachment 236349 [details] patch orjson is a fast, correct JSON library for Python. It benchmarks as the fastest Python library for JSON and is more correct than the standard json library or other third-party libraries. It serializes dataclass, datetime, numpy, and UUID instances natively. WWW: https://github.com/ijl/orjson WWW: https://pypi.org/project/orjson/
Your port is giving this issue: ====> Running Q/A tests (stage-qa) Error: 'lib/python3.9/site-packages/orjson/__pycache__/__init__.cpython-39.pyc' is referring to /wrkdirs/usr/ports/devel/py-orjson/work-py39/stage *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-orjson
Created attachment 236505 [details] patch
Good job! Committed!
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c478823be816b3a4ca019da2abbc320b06149f57 commit c478823be816b3a4ca019da2abbc320b06149f57 Author: Rozhuk Ivan <rozhuk.im@gmail.com> AuthorDate: 2022-09-04 02:34:57 +0000 Commit: Neel Chauhan <nc@FreeBSD.org> CommitDate: 2022-09-12 16:27:02 +0000 devel/py-orjson: add 3.8.0 PR: 266213 devel/py-orjson/Makefile (new) | 92 +++++++++++++++++++++++++++++++++++++++++ devel/py-orjson/distinfo (new) | 59 ++++++++++++++++++++++++++ devel/py-orjson/pkg-descr (new) | 7 ++++ 3 files changed, 158 insertions(+)