14
0
forked from pool/python-ujson

25 Commits

Author SHA256 Message Date
f1b75adf6a - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=53
2025-06-12 05:10:08 +00:00
919a964ec0 - update to 5.10.0:
* Add support for Python 3.13 (#628) @hugovk

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=51
2024-06-13 15:43:15 +00:00
7e49689a76 Accepting request 1137111 from home:alarrosa:branches:devel:languages:python
Add bugzilla reference

  * Fix buffer overflows (CVE-2021-45958, bsc#1194261) (#519) @JustAnotherArchivist

OBS-URL: https://build.opensuse.org/request/show/1137111
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=49
2024-01-06 13:09:19 +00:00
5c75b1f595 - update to 5.9.0:
* Raise TypeError if toDict() returns a non-dict instead of
    silently converting it to null (#615) @eltoder
  * Use lowercase strings for bool dict keys (#614) @eltoder
  * Deploy to PyPI using trusted publishing (#603) @hugovk
  * Replace PyPy3.8 wheel with PyPy3.10 (#602) @hugovk
  * Speed-up and cleanup objToJSON (#615) @eltoder
  * Use lowercase strings for bool dict keys (#614) @eltoder
- Update to version 5.6.0
  * Make PEP 384 compliant
- reactivate Python 2 build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=47
2023-12-13 10:15:28 +00:00
34742190ff Accepting request 1099399 from home:ecsos:python
- %{?sle15_python_module_pythons} must at begnning to work.

OBS-URL: https://build.opensuse.org/request/show/1099399
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=45
2023-07-19 11:13:30 +00:00
fff15de46b Accepting request 1097768 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1097768
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=43
2023-07-10 15:31:29 +00:00
5c2d051513 Accepting request 1092163 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092163
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=40
2023-06-11 11:28:49 +00:00
1fbc7c56ca - update to 5.7.0:
* Support ujson.loads(bytearray(...)) and other bytes-like
    objects.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=38
2023-03-27 10:04:43 +00:00
7ed064f6cd Accepting request 1041271 from home:yarunachalam:branches:devel:languages:python
- Update to version 5.6.0 
  * Added
  Update vendored double-conversion to 3.2.1 (#570) @joemarshall
  * Fixed
  Fix len integer overflow issue (#567) @marioga

OBS-URL: https://build.opensuse.org/request/show/1041271
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=36
2022-12-08 11:51:32 +00:00
db36439407 Accepting request 1004363 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1004363
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=34
2022-09-19 07:37:08 +00:00
a801bb98df - update to 5.4.0 (CVE-2022-31116, bsc#1201255, CVE-2022-31117, bsc#1201254):
* 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
  * Fix memory leak on encoding errors when the buffer was resized
  * Integer parsing: always detect overflows
  * Fix handling of surrogates on encoding

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=32
2022-07-08 11:58:48 +00:00
ecc0d8fce2 Accepting request 979169 from home:gosipyan:branches:devel:languages:python
- update to version 5.3.0
  * Test Python 3.11 beta (#539) @hugovk
  * Benchmark refactor - argparse CLI (#533) @Erotemic
  * 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
- Release 5.2.0
  * Support parsing NaN, Infinity and -Infinity (#514) @Erotemic
  * Support dynamically linking against system double-conversion library (#508) @musicinmybrain
  * Add env var to control stripping debug info (#507) @musicinmybrain
  * Add JSONDecodeError (#498) @JustAnotherArchivist
  * Fix buffer overflows (CVE-2021-45958) (#519) @JustAnotherArchivist
  * Upgrade Black to fix Click (#515) @hugovk
  * simplify exception handling on integer overflow (#510) @RouquinBlanc
  * Remove dead code that used to handle the separate int type in Python 2 (#509) @JustAnotherArchivist
  * Fix exceptions on encoding list or dict elements and non-overflow errors on int handling getting silenced (#505) @JustAnotherArchivist
- Release 5.1.0
  * Strip debugging symbols from Linux binaries (#493) @bwoodsend
- Release 5.0.0
  * Use cibuildwheel to build wheels (#491) @bwoodsend
  * Drop support for soon-EOL Python 3.6 (#490) @hugovk
  * Install Twine to upload to PyPI (#492) @hugovk
- Remove python-ujson-system-double-conversion.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/979169
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=30
2022-05-25 12:24:16 +00:00
243d9d8f83 Accepting request 939939 from home:bnavigator:python-rpm-macros
- update to 4.3.0
  * Enable Windows on ARM64 target (#488) @nsait-linaro
- Release 4.2.0
  * Add a default keyword argument to dumps (#470) @garenchan
  * Add support for Python 3.10 (#472) @hugovk
  * Build 32-bit wheels for Windows (#481) @hugovk
  * Build PyPy3 wheels for manylinux (#475) @hugovk
  * Build wheels for musl aarch64 (aka ARM) Linux
    (musllinux_1_1_aarch64) (#478) @bwoodsend
  * Build wheels for musl Linux (musllinux_1_1_x86_64) (#476)
    @bwoodsend
  * Use declarative setup metadata (#477) @hugovk
  * Wheel building updates (#473) @hugovk
  * Rename master to main (#471) @hugovk
  * Replace README.rst with Markdown (#479) @hugovk
- Release 4.1.0
  * Add gcov coverage testing for C code (#457) @bwoodsend
  * Test Python 3.10-dev (#454) @hugovk
  * Remove unused variable (#459) @hugovk
  * Remove explicit handling of manylinux platform tag (#452)
    @bwoodsend
  * dconv no longer uses global instances of
    StringToDoubleConverter and (#469) @das-intensity
  * Switch shebang for the manylinux-wheels script (#465)
    @bwoodsend
  * Fix typos in error message (#449) @filipsalomonsson
- refresh python-ujson-system-double-conversion.patch
- Update requirements: removes unmaintained blist

OBS-URL: https://build.opensuse.org/request/show/939939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=29
2021-12-11 23:51:56 +00:00
11ee84eda4 - update to 4.0.2:
* Travis CI: Test on 3.9 final, remove 3.8
  * Toward matching Python standard library output for float
  * Fix errors on reading long decimal floats
  * Fix #429: Make empty dict/list indented serialization match stdlib json
  * Fix dealing with None types

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=27
2021-02-01 18:20:26 +00:00
549ac51857 - update to 4.0.1:
* Fix UnicodeDecodeError on arm64/aarch64
  * Add support for Python 3.9
  * Drop support for EOL Python 3.5
  * Make PEP 384 compliant

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=25
2020-11-26 08:36:34 +00:00
712e4009cd - Update to 3.1.0:
* PEP 489 Multi Phase Init support (#418) @WillAyd
  * PyPy3 test fixes (#413) @mgorny

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=23
2020-08-03 05:25:10 +00:00
1fa7a29c7a - update to 3.0.0:
* Build Windows, macOS and manylinux wheels on CI and deploy to PyPI
  * Breaking change: New reject_bytes option to raise on bytes,
   defaults to True to align with json library. Set to False for
   old behaviour (#266) @elelay
  * Breaking change: Add an allow_nan keyword argument to dumps,
  defaults to True to align with json library. Set to False for old
  behaviour (#327) @segfault
  Specify setuptools_scm config in pyproject.toml (#399) @BenjaminSchubert
  * Remove python 2.x support

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=21
2020-06-14 09:38:13 +00:00
Tomáš Chvátal
2eca1a05e2 Accepting request 789345 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/789345
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=19
2020-03-28 18:06:24 +00:00
Tomáš Chvátal
75b21ef012 Accepting request 785388 from home:bnavigator:branches:devel:languages:python
- update to version 2.0.2
  Fix serialization issue (#382)
- reactivate Python 2 build 

Upstream still supports Python 2.7 and apparently it is needed eg.
by python-python-jsonrpc-server. See discussion in SR #785149

OBS-URL: https://build.opensuse.org/request/show/785388
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=17
2020-03-16 05:43:08 +00:00
Tomáš Chvátal
8f8424f2ad Accepting request 783435 from home:pgajdos:python
- version update to 2.0.1
  Added
    Include license file in manifest (#288) @kszucs
    added "static" to C functions, where possible (#238) @WGH-
    bring back benchmark introduction (#234) @rdpate
    Add syntax highlighting to README (#255) @adamchainz
    Test on new Travis CPUs (#350) @hugovk
    Test on GitHub Actions (#348) @hugovk
    Test on Python 3.9-dev to avoid surprises (#349) @hugovk
    Use Release Drafter to draft releases (#365) @hugovk
    Deploy from GitHub Actions instead of Travis CI (#364) @hugovk
    Autodeploy to PyPI from Travis CI (#357) @hugovk
    Lint with pre-commit: Black, isort, Flake8 (#354) @hugovk
  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 (eb7d894) @Jahaja
    Reduce default buffer on stack size (#281) @ncopa
    Update ultrajsondec.c (#260) @markpiekarz
    Indent dict values (#217) @orivej
    Test with pytest (#363) @hugovk
    Less Travis (#361) @hugovk
    Update links (#356) @hugovk
    Tests: Remove unused, unmaintained blist (#362) @hugovk
    Only deploy sdist from Travis CI (#359) @hugovk
  Removed
    Drop EOL Python 2.5-2.6, 3.2-3.4 and add 3.7-3.8 (#298) @hugovk
    Remove serialization of date/datetime objects (50181f0) @Jahaja
    Remove double_precision encoding option and precise_float decoding option (eb7d894) @Jahaja
    Remove generic serialization of objects/iterables (53f85b1) @Jahaja
    Remove support for __json__ method on str (5f98f01) @Jahaja
    Remove blist tests (3a6ba52) @Jahaja

OBS-URL: https://build.opensuse.org/request/show/783435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=15
2020-03-10 14:38:08 +00:00
Tomáš Chvátal
9d1d0bc42a Accepting request 702493 from home:jayvdb:django
- Apply six patches from Gentoo:
  * ujson-1.35-fix-for-overflowing-long.patch
  * ujson-1.35-fix-ordering-of-orderdict.patch
  * ujson-1.35-sort_keys-segfault.patch
  * ujson-1.35-standard-handling-of-none.patch
  * ujson-1.35-test-depricationwarning.patch
  * ujson-1.35-use-static-where-possible.patch

OBS-URL: https://build.opensuse.org/request/show/702493
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=13
2019-05-12 15:27:06 +00:00
Tomáš Chvátal
3540a5ffd0 - Do not depend on unittest2 it is not needed:
* no-unittest2.patch
- Really execute the tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=11
2018-08-10 11:16:17 +00:00
Todd R
4118f8c8fd Accepting request 491262 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version
- Fix source URL
- Run tests
- Add do_not_remove_build_directory_manually.patch
  This avoids deleting build directories that the single-spec macro system needs.

OBS-URL: https://build.opensuse.org/request/show/491262
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=9
2017-04-26 14:35:08 +00:00
d009a1e1b7 Accepting request 446683 from home:jengelh:branches:devel:languages:python
- Replace filler words in description

OBS-URL: https://build.opensuse.org/request/show/446683
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=3
2016-12-16 13:20:24 +00:00
Thomas Bechtold
6c276e01ff Accepting request 446652 from home:tbechtold:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/446652
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ujson?expand=0&rev=1
2016-12-16 11:21:34 +00:00