The NetBSD Project

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Nov 4 13:39:01 2026 UTC (11 days, 16 hours ago) by adam
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +2 -2 lines
py-ujson: updated to 6.1.0

6.1.0
No functional changes, only in binary wheels released to PyPI

Revision 1.31: download - view: text, markup, annotated - select for diffs
Mon Sep 7 07:27:36 2026 UTC (2 months, 1 week ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -4 lines
py-ujson: updated to 6.0.0

6.0.0

Changed

Assorted cleanup refactors

Removed

Reduce bytes-like support to only bytes and bytearray

Fixed

Allow default handler to handle bytes
Update build dependencies to avoid warning about missing [tool.setuptools_scm] section
Tighten UTF-8 validation for ujson.loads()-ing strings from bytes
Fix memory leak when the default() handler returns non-serialisable objects until its recursion limit is hit

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jun 21 08:02:36 2026 UTC (4 months, 3 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -5 lines
py-ujson: update to 5.13.0.

Security fix release.

Added

    Create manylinux2014 wheels (#745) @hugovk
    Add support for Python 3.15 (#742) @hugovk
    Disable global interpreter lock for freethreading (#737) @bwoodsend
    Re-enable building GraalPy wheels on macOS arm64 (#733) @timfel

Changed

    Move metadata from setup.cfg to pyproject.toml (#736) @hugovk

Fixed

    Tighten UTF-8 validation for ujson.dumps(b"...", reject_bytes=False) (169eaf3) @bwoodsend
    Replace generated version.h with macro (#735) @hugovk

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed May 6 08:37:55 2026 UTC (6 months, 1 week ago) by adam
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
py-ujson: updated to 5.12.1

5.12.1

Fixed

Fix encoding ref leak with non-English character
Fix memory leak when ujson.dump() is unable to write to its file

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Mar 30 08:11:50 2026 UTC (7 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -1 lines
py-ujson: do not install weird file out of package specific PYSITELIB

Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Mar 12 05:13:51 2026 UTC (8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -3 lines
py-ujson: updated to 5.12.0

5.12.0

Added

Update license field
Build wheels for GraalPy

Changed

Drop support for Python 3.9

Fixed

Fix buffer overflow/infinite loop from indent handling
Remove upper bound of setuptools for PyPy

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Aug 20 20:00:02 2025 UTC (14 months, 3 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -3 lines
py-ujson: updated to 5.11.0

5.11.0

Added

Inline type stubs
Add support for Python 3.14
Add support for PyPy3.11
Add Windows ARM64 wheels

Changed

Migrate to src/ layout
Build aarch64 wheels using native runners
Drop support for EOL Python 3.8
Drop support for EOL PyPy3.8-PyPy3.10

Fixed

fix(ujson.loads): raises a JSONDecodeError instead of SystemError when parsing a nested json string
Pin setuptools < 72.2 to fix build on PyPy
Update README.md example to match actual output

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Apr 13 12:29:15 2025 UTC (19 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -4 lines
py-ujson: fix for setuptools>=78

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Feb 2 10:38:04 2025 UTC (21 months, 1 week ago) by he
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +1 -2 lines
lang/python and a number of python packages: re-do atomic64.mk issue.

Evidently, python 3.13 brought in the need to support 64-bit atomics.
This means that python extension packages built with C needs to
use mk/atomic64.mk to make -latomic available on the required 32-bit
ports.  Sadly, there is no reliable way to detect in the .mk files
whether the package is using C (or C++), so this change adds an
unconditional include of mk/atomic64.mk when the python version is
equal to or larger than 3.13 for packages using egg.mk or wheel.mk.

This undoes the individual package Makefile inclusions of mk/atomic64.mk
that I've added over the last few days.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Jan 26 15:44:36 2025 UTC (21 months, 2 weeks ago) by he
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -1 lines
textproc/py-ujson: use atomic64.mk to fix build on macppc w/python3.13.

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

py-setuptools includes the py-wheel functionality nowadays

Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue May 14 13:09:34 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.20: preferred, colored
Changes since revision 1.20: +2 -2 lines
py-ujson: updated to 5.10.0

5.10.0

Added

Add support for Python 3.13

Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Dec 11 16:57:49 2023 UTC (2 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +6 -10 lines
py-ujson: updated to 5.9.0

5.9.0

Added

Deploy to PyPI using trusted publishing
Replace PyPy3.8 wheel with PyPy3.10

Changed

Speed-up and cleanup objToJSON
Use lowercase strings for bool dict keys

Fixed

Fix typos found by codespell
Fix undefined behavior in Buffer_AppendLongUnchecked

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jun 12 10:09:34 2023 UTC (3 years, 5 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
py-ujson: updated to 5.8.0

5.8.0

Added

Build wheel for Python 3.12 beta (built against 3.12.0b2)

Changed

Drop support for Python 3.7

Fixed

Include BSD-3-Clause and TCL license text

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Jan 11 12:05:24 2023 UTC (3 years, 10 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
py-ujson: updated to 5.7.0

5.7.0

Added

Support ujson.loads(bytearray(...)) and other bytes-like objects.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Dec 6 08:12:11 2022 UTC (3 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
py-ujson: updated to 5.6.0

5.6.0

Added

Update vendored double-conversion to 3.2.1

Fixed

Fix len integer overflow issue

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Sep 19 07:57:43 2022 UTC (4 years, 1 month ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
py-ujson: updated to 5.5.0

5.5.0

Added

Add support for Python 3.11 and PyPy3.9
Add separators encoding parameter

Fixed

Fix encoding of infinity

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Jul 2 07:57:29 2022 UTC (4 years, 4 months ago) by adam
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
py-ujson: updated to 5.4.0

5.4.0

Added

Add support for arbitrary size integers

Fixed

CVE-2022-31116:
Replace wchar_t string decoding implementation with a uint32_t-based one
Fix handling of surrogates on decoding
CVE-2022-31117: Potential double free of buffer during string decoding @JustAnotherArchivist
Fix memory leak on encoding errors when the buffer was resized
Integer parsing: always detect overflows
Fix handling of surrogates on encoding

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed May 18 21:52:39 2022 UTC (4 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -2 lines
py-ujson: update to 5.3.0.

Fix test target.

Changes:

Added

    Test Python 3.11 beta (#539) @hugovk

Changed

    Benchmark refactor - argparse CLI (#533) @Erotemic

Fixed

    Fix segmentation faults when errors occur while handling unserialisable objects (#531) @JustAnotherArchivist
    Fix segmentation fault when an exception is raised while converting a dict key to a string (#526) @JustAnotherArchivist
    Fix memory leak dumping on non-string dict keys (#521) @JustAnotherArchivist
    Fix ref counting on repeated default function calls (#524) @JustAnotherArchivist
    Remove redundant wheel dependency from pyproject.toml (#535) @hugovk

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Apr 6 09:24:43 2022 UTC (4 years, 7 months ago) by adam
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -3 lines
py-ujson: updated to 5.2.0

5.2.0

Added

Support parsing NaN, Infinity and -Infinity
Support dynamically linking against system double-conversion library
Add env var to control stripping debug info
Add JSONDecodeError

Fixed

Fix buffer overflows (CVE-2021-45958)
Upgrade Black to fix Click
simplify exception handling on integer overflow
Remove dead code that used to handle the separate int type in Python 2
Fix exceptions on encoding list or dict elements and non-overflow errors on int handling getting silenced

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Jan 4 20:55:08 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jan 3 07:51:15 2022 UTC (4 years, 10 months ago) by adam
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -2 lines
py-ujson: updated to 5.1.0

5.1.0

Changed

Strip debugging symbols from Linux binaries


5.0.0

Added

Use cibuildwheel to build wheels

Removed

Drop support for soon-EOL Python 3.6

Fixed

Install Twine to upload to PyPI

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Nov 22 18:34:57 2021 UTC (4 years, 11 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
py-ujson: updated to 4.3.0

4.3.0:
Added
Enable Windows on ARM64 target

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Oct 2 18:33:50 2021 UTC (5 years, 1 month ago) by adam
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
py-ujson: updated to 4.2.0

4.2.0

Added

Add a default keyword argument to dumps
Add support for Python 3.10
Build 32-bit wheels for Windows
Build PyPy3 wheels for manylinux
Build wheels for musl aarch64 (aka ARM) Linux (musllinux_1_1_aarch64)
Build wheels for musl Linux (musllinux_1_1_x86_64)

Changed

Use declarative setup metadata
Wheel building updates
Rename master to main
Replace README.rst with Markdown

Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Aug 25 07:27:46 2021 UTC (5 years, 2 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
py-ujson: updated to 4.1.0

4.1.0

Added

Add gcov coverage testing for C code
Test Python 3.10-dev

Changed

Remove unused variable
Remove explicit handling of manylinux platform tag

Fixed

dconv no longer uses global instances of StringToDoubleConverter and
Switch shebang for the manylinux-wheels script
Fix typos in error message

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jan 25 14:23:59 2021 UTC (5 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
py-ujson: updated to 4.0.2

4.0.2

Changed

Travis CI: Test on 3.9 final, remove 3.8
Toward matching Python standard library output for float

Fixed

Fix errors on reading long decimal floats
Fix 429: Make empty dict/list indented serialization match stdlib json
Fix dealing with None types

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Dec 9 09:30:56 2020 UTC (5 years, 11 months ago) by nia
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
Mark packages that fail with Python 2.7

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Nov 7 18:55:32 2020 UTC (6 years ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
py-ujson: update to 4.0.1.

4.0.1

Fixed

    Fix UnicodeDecodeError on arm64/aarch64 (#435) @hugovk

4.0.0


Added

    Add support for Python 3.9 (#430) @hugovk
    Build wheels for Python 3.9 (#431) @hugovk

Removed

    Drop support for EOL Python 3.5 (#424) @hugovk

Fixed

    Fix indent and add test case (#426) @chenhan1218
    Update code samples in README (#427) @verhovsky


3.2.0

Added

    Make PEP 384 compliant (#417) @tekknolagi
    Build and deploy aarch64 wheels (#422) @geoffreyblake


3.1.0


Added

    PEP 489 Multi Phase Init support (#418) @WillAyd

Fixed

    PyPy3 test fixes (#413) @mgorny

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Mar 30 13:11:01 2020 UTC (6 years, 7 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
py-ujson: updated to 2.0.3

2.0.3:
Changed
Drop legacy distutils in setup.py
Update benchmarking

Fixed
Decrease dict key reference
Remove double_precision and precise_float from help text

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Mar 15 22:45:25 2020 UTC (6 years, 8 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -2 lines
py-ujson: updated to 2.0.2

2.0.2:
Fix "�� is not JSON serializable" on Python 3

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Mar 12 16:32:31 2020 UTC (6 years, 8 months ago) by adam
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -2 lines
py-ujson: updated to 2.0.1

2.0.1

Fixed
Fix Windows build and test Python 3.5-3.8 on Windows


2.0.0

Added
Include license file in manifest
added "static" to C functions, where possible
bring back benchmark introduction
Add syntax highlighting to README
Test on new Travis CPUs
Test on GitHub Actions
Test on Python 3.9-dev to avoid surprises
Use Release Drafter to draft releases
Deploy from GitHub Actions instead of Travis CI
Autodeploy to PyPI from Travis CI
Lint with pre-commit: Black, isort, Flake8

Changed
Use Google's double-conversion lib to fix floating-point precision when converting doubles to and from strings, improves double encoding by 4-5x
Reduce default buffer on stack size
Update ultrajsondec.c
Indent dict values
Test with pytest
Less Travis
Update links
Tests: Remove unused, unmaintained blist
Only deploy sdist from Travis CI

Removed
Drop EOL Python 2.5-2.6, 3.2-3.4 and add 3.7-3.8
Remove serialization of date/datetime objects
Remove double_precision encoding option and precise_float decoding option
Remove generic serialization of objects/iterables
Remove support for __json__ method on str
Remove blist tests

Fixed
Fix for sort_keys bug and a typo
Fix for overflowing long causing invalid JSON
Following std JSON handling of None dict key
Fix for incorrect order when using OrderedDict
Fix reference counting bug for dict values
Fix a couple of memory leaks.
Correct JSON decoding implementation to die on trailing commas in Objects
fixup dconv_wrapper linkage
Fix Warning: 'classifiers' should be a list, got type 'filter'
Remove redundant license parameter
do not forcefully remove the build directory manually
Merged pull request to fix memory leak.
http -> https

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jun 24 07:18:11 2017 UTC (9 years, 4 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with
bindings for Python 2.5+ and 3.

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>