Skip to content

Commit

Permalink
Update orjson to resolve segmentation fault during JSON serialisation (
Browse files Browse the repository at this point in the history
…#88119)

Home Assistant uses orjson 3.8.5 that contains an issue[1] on musl libc
platforms that causes a segmentation fault.  This particularly affect
Home Assistant container installations reported in #87283 and #87522.

This updates the version to 3.8.6 that resolves the segmentation
fault during json serialisation.

[1] ijl/orjson#335
  • Loading branch information
mgjbroadbent authored Feb 14, 2023
1 parent a149d67 commit 568e0ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ ifaddr==0.1.7
janus==1.0.0
jinja2==3.1.2
lru-dict==1.1.8
orjson==3.8.5
orjson==3.8.6
paho-mqtt==1.6.1
pillow==9.4.0
pip>=21.0,<23.1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ dependencies = [
"cryptography==39.0.1",
# pyOpenSSL 23.0.0 is required to work with cryptography 39+
"pyOpenSSL==23.0.0",
"orjson==3.8.5",
"orjson==3.8.6",
"pip>=21.0,<23.1",
"python-slugify==4.0.1",
"pyyaml==6.0",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ lru-dict==1.1.8
PyJWT==2.5.0
cryptography==39.0.1
pyOpenSSL==23.0.0
orjson==3.8.5
orjson==3.8.6
pip>=21.0,<23.1
python-slugify==4.0.1
pyyaml==6.0
Expand Down

0 comments on commit 568e0ae

Please sign in to comment.