Skip to content

Commit a664e21

Browse files
github-actions[bot]actions-usermistercrunch
authored
chore(🦾): bump python simplejson 3.17.3 -> 3.19.2 (apache#27757)
Co-authored-by: GitHub Action <[email protected]> Co-authored-by: Maxime Beauchemin <[email protected]>
1 parent a23bfed commit a664e21

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ shillelagh[gsheetsapi]==1.2.10
323323
# via apache-superset
324324
shortid==0.1.2
325325
# via apache-superset
326-
simplejson==3.17.3
326+
simplejson==3.19.2
327327
# via apache-superset
328328
six==1.16.0
329329
# via

superset/utils/hashing.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def md5_sha_from_dict(
2929
ignore_nan: bool = False,
3030
default: Optional[Callable[[Any], Any]] = None,
3131
) -> str:
32-
json_data = json.dumps(obj, sort_keys=True, ignore_nan=ignore_nan, default=default)
32+
json_data = json.dumps(
33+
obj, sort_keys=True, ignore_nan=ignore_nan, default=default, allow_nan=True
34+
)
3335

3436
return md5_sha_from_str(json_data)

0 commit comments

Comments
 (0)