Skip to content

Commit 7157c09

Browse files
dprankeChromium LUCI CQ
authored andcommitted
Roll //third_party/pyjson5 from v0.9.10 to v0.9.13.
There was one minor code change between these two versions -- [GitHub issue #60](dpranke/pyjson5#60) for a Python2 compatibility fix -- and few changes to non-code files (README.md, setup.py, and ios-simulator.json). Change-Id: I8516fbc6e2af82501da6b0671b142c3a212629d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4348412 Commit-Queue: Dirk Pranke <[email protected]> Reviewed-by: Sylvain Defresne <[email protected]> Cr-Commit-Position: refs/heads/main@{#1118717}
1 parent 82e0c09 commit 7157c09

6 files changed

Lines changed: 22 additions & 7 deletions

File tree

‎third_party/pyjson5/README.chromium‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Name: pyjson5
22
Short Name: pyjson5
33
URL: https://github.com/dpranke/pyjson5
4-
Version: 0.9.10
5-
Date: August 8 2022
6-
Revision: e28f7b981aebc9b909ac561fdbc3b3ba4db8d516
4+
Version: 0.9.13
5+
Date: March 16 2023
6+
Revision: 25ca192ef962ddb2c2680ce0c22ef81f9999b0e2
77
License: Apache 2.0
88
License File: src/LICENSE
99
Security Critical: No

‎third_party/pyjson5/src/README.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@ To run the tests, setup a venv and install the required dependencies with
6161

6262
## Version History / Release Notes
6363

64+
* v0.9.13 (2023-03-16)
65+
* [GitHub PR #64](https://github.com/dpranke/pyjson5/pull/64)
66+
Remove a field from one of the JSON benchmark files to
67+
reduce confusion in Chromium.
68+
* No code changes.
69+
* v0.9.12 (2023-01-02)
70+
* Fix GitHub Actions config file to no longer test against
71+
Python 3.6 or 3.7. For now we will only test against an
72+
"oldest" release (3.8 in this case) and a "current"
73+
release (3.11 in this case).
74+
* v0.9.11 (2023-01-02)
75+
* [GitHub issue #60](https://github.com/dpranke/pyjson5/issues/60)
76+
Fixed minor Python2 compatibility issue by referring to
77+
`float("inf")` instead of `math.inf`.
6478
* v0.9.10 (2022-08-18)
6579
* [GitHub issue #58](https://github.com/dpranke/pyjson5/issues/58)
6680
Updated the //README.md to be clear that parsing arbitrary JS

‎third_party/pyjson5/src/benchmarks/ios-simulator.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
],
66
"xcode version": "8.0",
77
"gn_args": [
8-
"additional_target_cpus=[\"x86\"]",
98
"goma_dir=\"$(goma_dir)\"",
109
"is_component_build=false",
1110
"is_debug=true",

‎third_party/pyjson5/src/json5/lib.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,12 @@ def _dumps(obj, skipkeys, ensure_ascii, check_circular, allow_nan, indent,
264264
s = u'false'
265265
elif obj is None:
266266
s = u'null'
267-
elif obj == math.inf:
267+
elif obj == float('inf'):
268268
if allow_nan:
269269
s = u'Infinity'
270270
else:
271271
raise ValueError()
272-
elif obj == -math.inf:
272+
elif obj == float('-inf'):
273273
if allow_nan:
274274
s = u'-Infinity'
275275
else:

‎third_party/pyjson5/src/json5/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
VERSION = '0.9.10'
15+
VERSION = '0.9.13'

‎third_party/pyjson5/src/setup.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,7 @@
5959
'Programming Language :: Python :: 3',
6060
'Programming Language :: Python :: 3.8',
6161
'Programming Language :: Python :: 3.9',
62+
'Programming Language :: Python :: 3.10',
63+
'Programming Language :: Python :: 3.11',
6264
],
6365
)

0 commit comments

Comments
 (0)