Path to this page:
./
textproc/py-json5,
Python implementation of the JSON5 data format
Branch: CURRENT,
Version: 0.10.0,
Package name: py312-json5-0.10.0,
Maintainer: pkgsrc-usersA Python implementation of the JSON5 data format.
Master sites:
Filesize: 47.072 KB
Version history: (Expand)
- (2025-02-04) Updated to version: py312-json5-0.10.0
- (2024-11-18) Updated to version: py312-json5-0.9.28
- (2024-11-11) Updated to version: py312-json5-0.9.25
- (2024-05-08) Updated to version: py311-json5-0.9.25
- (2024-02-20) Updated to version: py311-json5-0.9.17
- (2023-08-26) Package added to pkgsrc.se, version py311-json5-0.9.14 (created)
CVS history: (Expand)
2025-02-04 15:19:25 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-json5: updated to 0.10.0
v0.10.0 (2024-11-25)
GitHub issue 57. Added a JSON5Encoder class that can be overridden to do custom \
encoding of values. This class is vaguely similar to the JSONEncoder class in \
the standard json library, except that it has an encode() method that can be \
overridden to customize any value, not just ones the standard encoder doesn't \
know how to handle. It does also support a default() method that can be used to \
encode things not normally encodable, like the JSONEncoder class. It does not \
support an iterencode method. One could probably be added in the future, \
although exactly how that would work and interact with encode is a little \
unclear.
Restructured the code to use the new encoder class; doing so actually allowed me \
to delete a bunch of tediously duplicative code.
Added a new quote_style argument to dump()/dumps() to control how strings are \
encoded by default. For compatibility with older versions of the json5 library \
and the standard json library, it uses QuoteStyle.ALWAYS_DOUBLE which encodes \
all strings with double quotes all the time. You can also configure it to use \
single quotes all the time (ALWAYS_SINGLE), and to switch between single and \
double when doing so eliminates a need to escape quotes (PREFER_SINGLE and \
PREFER_DOUBLE). This also adds a --quote-style argument to python -m json5.
This release has a fair number of changes, but is intended to be completely \
backwards-compatible. Code without changes should run exactly as it did before.
|
2024-11-18 18:22:24 by Adam Ciarcinski | Files touched by this commit (2) |  |
Log message:
py-json5: updated to 0.9.28
0.9.28
Unknown changes
|
2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862) |
Log message:
py-*: remove unused tool dependency
py-setuptools includes the py-wheel functionality nowadays
|
2024-05-08 11:12:15 by Adam Ciarcinski | Files touched by this commit (3) |  |
Log message:
py-json5: updated to 0.9.25
v0.9.25 (2024-04-12)
GitHub issue 81 Explicitly specify the directory to use for the package in \
pyproject.toml.
v0.9.24 (2024-03-16)
Update GitHub workflow config to remove unnecessary steps and run on pull \
requests as well as commits.
Added note about removing hypothesize in v0.9.23.
No code changes.
v0.9.23 (2024-03-16)
Lots of cleanup:
Removed old code needed for Python2 compatibility.
Removed tests using hypothesize. This ran model-based checks and didn't really \
add anything useful in terms of coverage to the test suite, and it introduced \
dependencies and slowed down the tests significantly. It was a good experiment \
but I think we're better off without it.
Got everything linting cleanly with pylint 3.1 and ruff check using ruff 0.3.3 \
(Note that commit message in 00d73a3 says pylint 3.11, which is a typo).
Code reformatted with ruff format
Added missing tests to bring coverage up to 100%.
Lots of minor code changes as the result of linting and coverage testing, but no \
intentional functional differences.
v0.9.22 (2024-03-06)
Attempt to fix the GitHub CI configuration now that setup.py is gone. Also, test \
on 3.12 instead of 3.11.
No code changes.
v0.9.21 (2024-03-06)
Moved the benchmarks/*.json data files' license information to //LICENSE to \
(hopefully) make the Google linter happy.
v0.9.20 (2024-03-03)
Added json5.__version__ in addition to json5.VERSION.
More packaging modernization (no more setup.{cfg,py} files).
Mark Python3.12 as supported in project.classifiers.
Updated the //run script to use python3.
v0.9.19 (2024-03-03)
Replaced the benchmarking data files that came from chromium.org with three \
files obtained from other datasets on GitHub. Since this repo is vendored into \
the chromium/src repo it was occasionally confusing people who thought the data \
was actually used for non-benchmarking purposes and thus updating it for \
whatever reason.
No code changes.
v0.9.18 (2024-02-29)
Add typing information to the module. This is kind of a big change, but there \
should be no functional differences.
|
2024-02-20 20:33:39 by Adam Ciarcinski | Files touched by this commit (4) |  |
Log message:
py-json5: updated to 0.9.17
v0.9.17 (2024-02-19)
Move from setup.py to pyproject.toml.
No code changes (other than the version increasing).
v0.9.16 (2024-02-19)
Drop Python2 from setup.py
Add minimal packaging instructions to //README.md.
v0.9.15 (2024-02-19)
Merge in Pull request 66 to include the tests and sample file in a source \
distribution.
|
2023-08-26 13:50:44 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-json5: added version 0.9.14
A Python implementation of the JSON5 data format.
|