The NetBSD Project

CVS log for pkgsrc/textproc/py-json5/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-json5

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Oct 23 13:15:25 2026 UTC (3 weeks, 2 days ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
py-json5: updated to 0.17.3

v0.17.3 (2026-10-09)

Bump the indirect dependency on urllib3 to 2.8.0 to pick up a security fix.

v0.17.2 (2026-10-09)

Commit, then release :(.

v0.17.1 (2026-10-09)

I screwed up the release and published a package from my dev fork rather than the main repo as v0.17.0; the package should be fine, but for reproducibility purposes I needed to redo it and get the tags right.

v0.17.0 (2026-10-09)

Use a packaged version of glop, rather than relying on it being checked out alongside this repo. This should make the package properly self-contained, and now we can enforce that the grammar is up-to-date in presubmit.
Rework the project dependencies. As before, the module still has no runtime dependencies. However, we will now only support doing most development on Python 3.11 or newer; older versions will only support running the tests. This means the dev venv config will only install the dev packages in that newer environment; this should make Dependabot happier.
Rework how the //run script works; the previous pylint and mypy checks have been moved into the checks command, which will now run all of the static analyzers, not just ruff check. The script also now consistently supports -f/--failfast across the commands, not just during tests.
There are no code changes in this release other than bumping the version numbers.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jul 5 10:17:52 2026 UTC (4 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
py-json5: updated to 0.15.0

0.15.0 (2026-06-19)

Fix 113, where parsing of signed hexadecimal literals such as -0x1f and +0xff was raising a ValueError instead of being allowed.
Fix 111, with a slight docstring typo fix/improvement.
upgraded package dependences to their "latest" versions (without changing any direct dependencies and not pulling in anything newer than 30 days old). This resolves some potential security issues in a dev environment that Dependabot was warning about; no effect on the production code since the production library has no dependencies.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Apr 16 13:44:25 2026 UTC (7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -5 lines
py-json5: updated to 0.14.0

0.14.0 (2026-03-27) This is really just a dependency bump release.

No (non-test) code changes.
Upgraded to latest packages for dev dependencies
Silenced a couple of warnings from the latest pylint where it can't deal with both unreachable code and a bad return value.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jan 8 14:27:53 2026 UTC (10 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
py-json5: updated to 0.13.0

0.13.0

No code changes.
Add Python 3.14 to supported version, project config, dependencies
Update dependencies to latest stuff < 2025-12-01
This relaxes the versions specified in pyproject.toml to just use 'newer than' rather than exact matches.
Sets 'uv.tool.exclude-newer' in pyproject.toml to tell uv not to look at packages published within the past 30 days; this will hopefully help prevent dependencies on compromised projects.
Switch to using dependency-groups for 'dev' group.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Aug 13 07:21:58 2025 UTC (15 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
py-json5: updated to 0.12.1

0.12.1

Fix 94 (bad indentation for custom encoders)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 14 12:27:08 2025 UTC (19 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
py-json5: updated to 0.12.0

v0.12.0 (2025-04-03)

Roll back pyproject.toml change for licensing so that we can still build the package on 3.8.
Upgrade devenv package dependencies to latest versions; they now need Python 3.9 or newer, though json5 itself still supports 3.8.

v0.11.0 (2025-04-01)

Add a couple examples to the documentation and run doctest over them.
Fix a typing issue in dump and dumps with the cls argument; turns out mypy was right and I was wrong and I didn't realize it :).
Introduce a new parse method that can be used to iterate through a string, extracting multiple values.
Add a new consume_trailing parameter to load/loads/parse that specifies whether to keep parsing after a valid object is reached. By default, this is True and the string must only contain trailing whitespace. If set to False, parsing will stop when a valid object is reached.
Add a new start parameter to load/loads/parse to specify the zero-based offset to start parsing the string or file from.
GitHub issue 60. Fix a bug where we were attempting to allow '--4' as a valid number.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Feb 4 14:19:25 2025 UTC (21 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
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.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Nov 18 17:22:24 2024 UTC (23 months, 4 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -4 lines
py-json5: updated to 0.9.28

0.9.28
Unknown changes

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Nov 11 07:29:04 2024 UTC (2 years ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -2 lines
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed May 8 09:12:15 2024 UTC (2 years, 6 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
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.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Feb 20 19:33:39 2024 UTC (2 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +11 -4 lines
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.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 26 11:50:44 2023 UTC (3 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
py-json5: added version 0.9.14

A Python implementation of the JSON5 data format.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>