Leon Anavi
8fa14064ef
python3-msgspec: Upgrade 0.21.1 -> 0.22.0
...
Upgrade to release 0.22.0:
- BREAKING: Setting gc=False on a struct type that has a weakref
slot, whether from weakref=True or from a base class, now raises
ValueError. On CPython 3.12 and later the weakref slot is stored
in a pre-header in front of the instance, so releasing an instance
of a gc=False type with that slot corrupted memory, in most builds
crashing the interpreter outright. The combination worked on 3.10
and 3.11, and the restriction applies there as well, so that the
same class definition behaves the same way on every supported
version.
- Add frozendict support on Python 3.15+.
- Support passing a callable as decimal_format to
msgspec.json.Encoder and msgspec.msgpack.Encoder for custom
Decimal encoding.
- Support Literal[True] and Literal[False] types.
- Publish CPython 3.15 wheels, including freethreaded builds.
- Publish Linux riscv64 wheels.
- Support the PyEmscripten (Pyodide) platform.
- Fix handling of PEP 695 type parameter syntax (class Foo[T]) and
of types.GenericAlias instances in type annotations.
- Fix NameError when creating a Struct with an unquoted forward
reference on Python 3.14.
- Fix a crash on incorrect typing.ClassVar annotations (#1097 ).
- Fix an AttributeError when converting to a Struct type defined in
a namespace without a __name__ (#1072 ).
- Fix overriding an inherited field alias back to the field's own
name.
- Raise ValidationError instead of SystemError when convert receives
an out-of-range int for a float target (#1162 ).
- Report raw rather than the misleading any as the expected type
when a non-Raw value is given for a Raw field in convert, and
therefore in yaml.decode and toml.decode.
- Fix an empty expected-type name in validation errors for a
required Raw field in a TypedDict, or a Raw field with a
default_factory on a dataclass or an attrs class.
- Correct the error messages for out-of-range Meta length bounds.
- Fix a reference leak when decoding msgpack Ext payloads.
- Fix backing type declaration of Ext.code.
- Fix a reference leak in msgspec.to_builtins, and therefore in
yaml.encode, for array_like=True structs.
- Fix reference leaks in typenode_collect_literal,
Meta.__rich_repr__, ms_decode_bigint, and Encoder.__init__.
- Fix msgspec.inspect.type_info and msgspec.json.schema crashing
on mixed-type Literals such as Literal[1, None].
- Place null last in the anyOf generated for optional unions in
JSON schemas.
- Fix minItems in the JSON schema for array_like=True structs whose
fields are all optional.
- Use [] or "" rather than a Python set or bytearray object as the
JSON schema default for Struct fields with a set or bytearray
default_factory.
- Preserve JSON Schema metadata and string constraints in
propertyNames for annotated dictionary key types.
- Fix msgspec.json.encode raising TypeError for a dict keyed by a
plain enum.Enum with str values.
- Fix missing GC traversal and clearing of some module state
members.
- Ensure an exception is always set on allocation failures.
- Fix compilation warnings on Python 3.15.
- Report the leading argument of the encode and decode functions
and methods as positional-only in inspect.signature and the
rendered docs, matching runtime behavior.
- Add overloads to the Meta type stub, so type checkers reject
mixing gt with ge or lt with le.
- Many type stub improvements and fixes.
- Document the differences between msgspec.structs.asdict/astuple
and msgspec.to_builtins.
- Document that omit_defaults ignores fields with a custom
default_factory.
- Fix the msgspec.json.decode docstring to say dec_hook should
raise NotImplementedError for unsupported types, not TypeError.
- msgspec moved to the msgspec GitHub organization.
- documentation now lives at msgspec.dev.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com >
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com >
2026-10-01 09:27:50 -07:00
..
2026-07-20 23:08:10 -07:00
2026-09-12 16:52:15 -07:00
2026-08-04 23:47:55 -07:00
2026-09-03 13:23:12 -07:00
2026-08-04 23:47:55 -07:00
2026-09-22 11:36:16 -07:00
2026-07-12 17:39:43 -07:00
2026-09-12 16:52:16 -07:00
2026-09-22 11:36:16 -07:00
2026-08-13 23:09:51 -07:00
2026-09-12 16:52:16 -07:00
2026-08-29 21:43:04 -07:00
2026-08-16 16:21:50 -07:00
2026-07-16 21:14:57 -07:00
2026-08-27 23:33:14 -07:00
2026-09-21 08:13:56 -07:00
2026-07-08 23:34:15 -07:00
2026-07-21 11:35:04 -07:00
2026-07-09 09:11:52 -07:00
2026-09-22 11:36:16 -07:00
2026-07-19 18:57:37 -07:00
2026-08-13 23:09:51 -07:00
2026-07-09 09:11:52 -07:00
2026-07-16 21:14:53 -07:00
2026-09-22 11:36:16 -07:00
2026-08-04 10:47:40 -07:00
2026-09-22 11:36:20 -07:00
2026-07-09 09:11:53 -07:00
2026-08-17 17:14:24 -07:00
2026-09-24 21:56:18 -07:00
2026-08-29 21:43:04 -07:00
2026-09-12 16:52:16 -07:00
2026-07-09 09:11:53 -07:00
2026-07-21 11:35:04 -07:00
2026-08-29 21:43:06 -07:00
2026-09-22 11:36:17 -07:00
2026-08-29 21:43:05 -07:00
2026-09-22 11:36:18 -07:00
2026-07-10 15:08:45 -07:00
2026-07-19 18:57:37 -07:00
2026-07-09 09:11:53 -07:00
2026-09-22 11:36:18 -07:00
2026-09-22 11:36:18 -07:00
2026-09-22 11:36:18 -07:00
2026-09-22 11:36:18 -07:00
2026-08-29 21:43:05 -07:00
2026-07-08 11:05:07 -07:00
2026-08-29 21:43:05 -07:00
2026-07-10 15:08:46 -07:00
2026-09-04 17:10:37 -07:00
2026-07-22 02:01:51 -07:00
2026-09-04 17:10:37 -07:00
2026-08-24 12:14:07 -07:00
2026-08-03 22:57:39 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-19 14:27:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:49 -07:00
2026-07-16 21:14:55 -07:00
2026-09-27 17:09:49 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-05 09:06:42 -07:00
2026-07-16 21:14:54 -07:00
2026-09-27 17:09:49 -07:00
2026-09-21 08:13:54 -07:00
2026-09-04 17:10:37 -07:00
2026-08-10 12:03:55 -07:00
2026-09-29 06:49:21 -07:00
2026-09-21 08:13:54 -07:00
2026-08-26 10:26:44 -07:00
2026-08-13 13:01:36 -07:00
2026-08-10 12:03:56 -07:00
2026-07-20 22:35:47 -07:00
2026-09-04 17:10:37 -07:00
2026-08-10 12:03:55 -07:00
2026-08-27 23:33:13 -07:00
2026-09-22 11:36:19 -07:00
2026-09-27 17:09:49 -07:00
2026-08-10 12:03:56 -07:00
2026-08-26 10:26:44 -07:00
2026-07-28 22:48:28 -07:00
2026-08-29 21:43:04 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:49 -07:00
2026-08-10 12:03:56 -07:00
2026-09-04 17:10:37 -07:00
2026-08-04 00:03:48 -07:00
2026-09-04 17:10:37 -07:00
2026-07-22 11:47:21 -07:00
2026-08-13 13:01:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-21 08:13:54 -07:00
2026-08-19 14:27:56 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-29 09:57:21 -07:00
2026-07-16 21:14:56 -07:00
2026-08-13 13:01:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:50 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:50 -07:00
2026-09-21 08:13:54 -07:00
2026-09-22 11:36:15 -07:00
2026-08-26 01:43:11 -07:00
2026-07-20 22:35:47 -07:00
2026-09-27 17:09:50 -07:00
2026-08-13 13:01:37 -07:00
2026-07-20 22:35:47 -07:00
2026-09-29 07:59:04 -07:00
2026-07-16 21:14:56 -07:00
2026-08-10 12:03:57 -07:00
2026-09-22 11:36:19 -07:00
2026-08-04 23:47:55 -07:00
2026-09-04 17:10:37 -07:00
2026-09-21 08:13:54 -07:00
2026-08-19 14:27:40 -07:00
2026-08-13 13:01:37 -07:00
2026-09-27 17:09:50 -07:00
2026-09-22 11:36:16 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-28 22:48:20 -07:00
2026-07-28 22:48:21 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:50 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:38 -07:00
2026-09-04 17:10:37 -07:00
2026-08-04 18:01:15 -07:00
2026-08-04 18:01:16 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:50 -07:00
2026-09-12 16:52:16 -07:00
2026-08-03 22:57:40 -07:00
2026-09-04 17:10:37 -07:00
2026-09-22 11:36:16 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-03 07:30:33 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-26 10:26:44 -07:00
2026-09-21 08:13:54 -07:00
2026-08-13 13:01:38 -07:00
2026-08-26 10:26:44 -07:00
2026-08-13 23:09:51 -07:00
2026-08-16 16:21:41 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:39 -07:00
2026-08-19 14:27:42 -07:00
2026-09-12 16:52:16 -07:00
2026-08-13 13:01:39 -07:00
2026-09-27 12:55:51 -07:00
2026-08-29 21:43:04 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:51 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:40 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:38 -07:00
2026-08-13 13:01:40 -07:00
2026-09-21 08:13:54 -07:00
2026-08-19 14:27:42 -07:00
2026-09-12 16:52:16 -07:00
2026-07-20 22:35:47 -07:00
2026-09-27 17:09:51 -07:00
2026-09-21 08:13:54 -07:00
2026-09-21 08:13:54 -07:00
2026-09-04 17:10:37 -07:00
2026-09-03 07:30:34 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:51 -07:00
2026-08-27 23:33:14 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:51 -07:00
2026-09-21 08:13:54 -07:00
2026-07-22 02:01:51 -07:00
2026-09-04 17:10:37 -07:00
2026-09-21 08:13:56 -07:00
2026-08-20 11:10:53 -07:00
2026-07-08 23:34:15 -07:00
2026-08-26 10:26:45 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:41 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:38 -07:00
2026-09-27 17:09:51 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:42 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-21 11:35:04 -07:00
2026-09-04 17:10:37 -07:00
2026-09-03 07:30:34 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:42 -07:00
2026-08-13 13:01:43 -07:00
2026-08-19 14:27:44 -07:00
2026-09-04 17:10:37 -07:00
2026-07-09 09:11:52 -07:00
2026-09-22 11:36:16 -07:00
2026-09-04 17:10:38 -07:00
2026-09-04 17:10:37 -07:00
2026-09-03 07:30:34 -07:00
2026-08-13 13:01:43 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-20 22:35:47 -07:00
2026-07-19 18:57:37 -07:00
2026-09-21 08:13:54 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:43 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:44 -07:00
2026-08-22 18:50:03 -07:00
2026-08-19 14:27:45 -07:00
2026-09-04 17:10:37 -07:00
2026-09-05 09:06:42 -07:00
2026-09-03 07:30:34 -07:00
2026-08-19 14:27:45 -07:00
2026-08-02 09:18:03 -07:00
2026-09-03 07:30:35 -07:00
2026-10-01 09:27:50 -07:00
2026-07-20 22:35:47 -07:00
2026-09-04 17:10:37 -07:00
2026-09-22 11:36:20 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-22 11:36:16 -07:00
2026-09-27 17:09:51 -07:00
2026-09-04 17:10:37 -07:00
2026-08-10 12:03:55 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-09 09:11:52 -07:00
2026-09-04 17:10:37 -07:00
2026-09-05 09:06:42 -07:00
2026-09-02 11:48:54 -07:00
2026-09-02 11:48:54 -07:00
2026-07-20 22:35:47 -07:00
2026-09-05 09:06:42 -07:00
2026-09-27 17:09:52 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:52 -07:00
2026-09-22 11:36:16 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-10 12:01:51 -07:00
2026-09-27 17:09:52 -07:00
2026-09-04 17:10:37 -07:00
2026-09-29 07:59:03 -07:00
2026-09-22 11:36:20 -07:00
2026-10-01 09:27:50 -07:00
2026-08-26 01:43:11 -07:00
2026-07-22 11:52:18 -07:00
2026-07-20 22:35:47 -07:00
2026-09-21 08:13:54 -07:00
2026-08-16 16:22:06 -07:00
2026-09-04 17:10:37 -07:00
2026-08-19 14:27:46 -07:00
2026-09-21 08:13:54 -07:00
2026-07-20 23:08:11 -07:00
2026-09-27 17:09:52 -07:00
2026-07-29 22:10:00 -07:00
2026-08-22 18:50:03 -07:00
2026-08-13 13:01:46 -07:00
2026-09-27 17:09:52 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-19 14:27:47 -07:00
2026-07-22 11:52:18 -07:00
2026-09-22 11:36:20 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:47 -07:00
2026-08-13 13:01:47 -07:00
2026-08-13 13:01:47 -07:00
2026-09-29 07:59:03 -07:00
2026-09-24 21:56:18 -07:00
2026-09-24 21:56:18 -07:00
2026-09-04 17:10:37 -07:00
2026-08-27 23:33:13 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:48 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-12 16:52:16 -07:00
2026-09-04 17:10:37 -07:00
2026-09-22 11:36:17 -07:00
2026-09-21 08:13:54 -07:00
2026-09-21 08:13:54 -07:00
2026-08-22 18:50:03 -07:00
2026-09-04 17:10:37 -07:00
2026-09-21 08:13:54 -07:00
2026-09-22 11:36:17 -07:00
2026-07-09 09:11:53 -07:00
2026-08-13 13:01:48 -07:00
2026-09-04 17:10:37 -07:00
2026-09-21 08:13:54 -07:00
2026-08-13 13:01:48 -07:00
2026-08-13 13:01:49 -07:00
2026-07-20 22:35:47 -07:00
2026-08-14 16:06:42 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-28 22:48:21 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-29 22:09:59 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-21 11:35:04 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:49 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-10 12:03:58 -07:00
2026-08-13 13:01:49 -07:00
2026-09-22 11:36:17 -07:00
2026-09-21 08:13:54 -07:00
2026-09-27 12:55:51 -07:00
2026-09-22 11:36:18 -07:00
2026-09-02 11:48:54 -07:00
2026-08-29 21:43:05 -07:00
2026-08-03 22:57:41 -07:00
2026-09-04 17:10:37 -07:00
2026-08-03 22:57:42 -07:00
2026-09-03 07:30:35 -07:00
2026-08-26 10:26:45 -07:00
2026-09-04 17:10:37 -07:00
2026-08-10 12:03:55 -07:00
2026-09-03 07:30:35 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-16 16:22:01 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:50 -07:00
2026-09-22 11:36:20 -07:00
2026-09-22 11:36:20 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-09 09:11:53 -07:00
2026-08-29 23:00:19 -07:00
2026-09-21 08:13:54 -07:00
2026-08-13 13:01:50 -07:00
2026-08-13 13:01:50 -07:00
2026-07-28 22:48:18 -07:00
2026-09-04 17:10:37 -07:00
2026-08-22 18:50:03 -07:00
2026-08-29 23:00:19 -07:00
2026-09-20 23:23:59 -07:00
2026-09-22 11:36:18 -07:00
2026-09-04 17:10:37 -07:00
2026-09-22 11:36:18 -07:00
2026-09-21 08:13:54 -07:00
2026-07-20 22:35:47 -07:00
2026-09-27 17:09:53 -07:00
2026-08-19 14:27:49 -07:00
2026-09-04 17:10:37 -07:00
2026-08-19 14:27:50 -07:00
2026-08-19 14:27:50 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-19 14:27:50 -07:00
2026-08-26 10:26:46 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:52 -07:00
2026-09-04 17:10:37 -07:00
2026-08-13 13:01:51 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-10 12:03:57 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-07-22 11:52:19 -07:00
2026-08-13 13:01:51 -07:00
2026-09-27 17:09:52 -07:00
2026-09-03 07:30:36 -07:00
2026-07-28 22:48:18 -07:00
2026-07-20 22:35:47 -07:00
2026-09-22 11:36:18 -07:00
2026-08-19 14:27:52 -07:00
2026-09-21 08:13:54 -07:00
2026-08-03 22:57:42 -07:00
2026-08-26 10:26:42 -07:00
2026-09-21 08:13:54 -07:00
2026-09-22 11:36:18 -07:00
2026-07-28 22:48:18 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-29 21:43:05 -07:00
2026-09-22 11:36:20 -07:00
2026-07-08 11:05:06 -07:00
2026-07-28 22:48:28 -07:00
2026-08-13 13:01:52 -07:00
2026-08-24 12:14:08 -07:00
2026-09-04 17:10:37 -07:00
2026-07-08 11:05:07 -07:00
2026-07-31 11:00:10 -07:00
2026-09-04 17:10:37 -07:00
2026-07-20 22:35:47 -07:00
2026-08-26 10:26:46 -07:00
2026-09-04 17:10:37 -07:00
2026-09-29 06:49:21 -07:00
2026-09-03 13:23:12 -07:00
2026-08-24 12:14:07 -07:00
2026-09-04 17:10:37 -07:00
2026-08-20 11:10:53 -07:00
2026-09-21 08:13:54 -07:00
2026-08-24 12:14:07 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-03 07:30:36 -07:00
2026-08-16 16:22:29 -07:00
2026-09-04 17:10:37 -07:00
2026-07-08 11:05:06 -07:00
2026-08-13 13:01:53 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-08-26 10:26:46 -07:00
2026-09-04 17:10:37 -07:00
2026-09-03 07:30:36 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-20 23:23:59 -07:00
2026-08-13 13:01:53 -07:00
2026-09-11 22:47:20 -07:00