[MacPorts] #71807: py-orjson: orjson at 3.10.14 requires rustc 1.82
MacPorts
noreply at macports.org
Mon Jan 13 00:54:28 UTC 2025
#71807: py-orjson: orjson at 3.10.14 requires rustc 1.82
------------------------+------------------------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords: mountainlion elcapitan
Port: py-orjson |
------------------------+------------------------------------
Comment (by tobypeterson):
Thanks for the info. It looks like `glances` does not require `orjson`.
Comment from glances source:
{{{
# Prefer faster libs for JSON (de)serialization
# Preference Order: orjson > ujson > json (builtin)
}}}
Perhaps glances should switch to `ujson`, or not specify a json dependency
at all, since it can use the builtin json library. Of course, given how
MacPorts handles python libraries, it'll still end up using orjson/ujson
if they're installed for some other reason.
I see that glances also has an optional dependency on `pydantic` - it's
also rust-based so will presumably break at some point for the same
reason.
--
Ticket URL: <https://trac.macports.org/ticket/71807#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list