Commit Graph

31 Commits

Author SHA256 Message Date
be20b90344 Accepting request 1284020 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1284020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=14
2025-06-10 07:06:55 +00:00
a6480bec03 update to 0.12.0
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=29
2025-06-09 08:26:42 +00:00
e1e66f6a44 Accepting request 1223992 from devel:languages:python
- update to 0.9.28:
  * Fix GitHub CI to install uv so ./run tests works properly.
  * Mark Python3.13 as supported in package metadata.
  * Update dev package dependencies
  * Fix typo in //README.md
  * GitHub issue #82 Add support for the strict parameter to
    load()/loads().
  * Significantly rework the infra and the run script to be
    contemporary.

OBS-URL: https://build.opensuse.org/request/show/1223992
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=13
2024-11-14 15:09:04 +00:00
eb59476ac4 - update to 0.9.28:
* Fix GitHub CI to install uv so ./run tests works properly.
  * Mark Python3.13 as supported in package metadata.
  * Update dev package dependencies
  * Fix typo in //README.md
  * GitHub issue #82 Add support for the strict parameter to
    load()/loads().
  * Significantly rework the infra and the run script to be
    contemporary.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=27
2024-11-13 15:23:01 +00:00
06807329f3 Accepting request 1167722 from devel:languages:python
- update to 0.9.25:
  * Explicitly specify the directory to use for the package in
    pyproject.toml.

OBS-URL: https://build.opensuse.org/request/show/1167722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=12
2024-04-15 18:17:56 +00:00
74145bb0b4 - update to 0.9.25:
* Explicitly specify the directory to use for the package in
    pyproject.toml.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=25
2024-04-15 06:16:44 +00:00
c89aee233f Accepting request 1161553 from devel:languages:python
- update to 0.9.24:
  * drop python2
  * switch to pyproject.toml
  * add typing
  * format with ruff

OBS-URL: https://build.opensuse.org/request/show/1161553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=11
2024-03-26 18:26:21 +00:00
f60ad495cc - update to 0.9.24:
* drop python2
  * switch to pyproject.toml
  * add typing
  * format with ruff

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=23
2024-03-25 20:19:39 +00:00
497c80a48d Accepting request 1129222 from devel:languages:python
- update to 0.9.14:
  * Handle `+Infinity` as well as `-Infinity` and `Infinity`.

  * No code changes.
  * fix GitHub actions

OBS-URL: https://build.opensuse.org/request/show/1129222
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=10
2023-11-27 21:44:58 +00:00
e18755ef56 - update to 0.9.14:
* Handle `+Infinity` as well as `-Infinity` and `Infinity`.
  * No code changes.
  * fix GitHub actions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=21
2023-11-27 19:05:44 +00:00
b17cb76c11 Accepting request 1074504 from devel:languages:python
- update to 0.9.13:
  * Remove a field from one of the JSON benchmark files to
    reduce confusion in Chromium.
  * No code changes.

OBS-URL: https://build.opensuse.org/request/show/1074504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=9
2023-03-27 16:16:13 +00:00
1613ba688c - update to 0.9.13:
* Remove a field from one of the JSON benchmark files to
    reduce confusion in Chromium.
  * No code changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=19
2023-03-26 19:22:56 +00:00
420f927cd7 Accepting request 1055991 from devel:languages:python
- update to 0.9.12:
  * fix dump error on python 2
  * fix GitHub actions

OBS-URL: https://build.opensuse.org/request/show/1055991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=8
2023-01-05 14:00:39 +00:00
6099070d3c - update to 0.9.12:
* fix dump error on python 2
  * fix GitHub actions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=17
2023-01-04 20:00:07 +00:00
5fa564c46b Accepting request 1005760 from devel:languages:python
- update to 0.9.10:
  * Updated the //README.md to be clear that parsing arbitrary JS
    code may not work.
  * Fixed serialization for objects that subclass `int` or `float`:
    Previously we would use the objects __str__ implementation, but
    that might result in an illegal JSON5 value if the object had
    customized __str__ to return something illegal. Instead,
    we follow the lead of the `JSON` module and call `int.__repr__`
    or `float.__repr__` directly.
  * While I was at it, I added tests for dumps(-inf) and dumps(nan)
    when those were supposed to be disallowed by `allow_nan=False`.

OBS-URL: https://build.opensuse.org/request/show/1005760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=7
2022-09-25 13:35:29 +00:00
0f7c8e176a - update to 0.9.10:
* Updated the //README.md to be clear that parsing arbitrary JS
    code may not work.
  * Fixed serialization for objects that subclass `int` or `float`:
    Previously we would use the objects __str__ implementation, but
    that might result in an illegal JSON5 value if the object had
    customized __str__ to return something illegal. Instead,
    we follow the lead of the `JSON` module and call `int.__repr__`
    or `float.__repr__` directly.
  * While I was at it, I added tests for dumps(-inf) and dumps(nan)
    when those were supposed to be disallowed by `allow_nan=False`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=15
2022-09-24 10:55:08 +00:00
b07e50fa73 Accepting request 979749 from devel:languages:python
- update to 0.9.8:
  * Fixed error reporting in some cases due to how parsing was handling
    nested rules in the grammar - previously the reported location for
    the error could be far away from the point where it actually happened.
  * Fixed behavior of `default` fn in `dump` and `dumps`. Previously
    we didn't require the function to return a string, and so we could
    end up returning something that wasn't actually valid. This change
    now matches the behavior in the `json` module.

OBS-URL: https://build.opensuse.org/request/show/979749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=6
2022-05-30 10:44:07 +00:00
fba20e86f1 - update to 0.9.8:
* Fixed error reporting in some cases due to how parsing was handling
    nested rules in the grammar - previously the reported location for
    the error could be far away from the point where it actually happened.
  * Fixed behavior of `default` fn in `dump` and `dumps`. Previously
    we didn't require the function to return a string, and so we could
    end up returning something that wasn't actually valid. This change
    now matches the behavior in the `json` module.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=13
2022-05-29 20:18:50 +00:00
a7b7b23bd8 Accepting request 923471 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/923471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=5
2021-10-26 18:13:34 +00:00
8e3ea8a5b2 Accepting request 923313 from home:schubi2
- Added BuildRequires:  alts

OBS-URL: https://build.opensuse.org/request/show/923313
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=12
2021-10-06 09:48:45 +00:00
3c2981636a Accepting request 922604 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/922604
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=11
2021-10-03 17:49:36 +00:00
a574f01dc9 Accepting request 920172 from devel:languages:python
revert

OBS-URL: https://build.opensuse.org/request/show/920172
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=10
2021-09-19 17:32:29 +00:00
c931021909 Accepting request 919838 from home:schubi2
- Use libalternatives instead of update-alternatives.

OBS-URL: https://build.opensuse.org/request/show/919838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=9
2021-09-17 20:43:30 +00:00
5e62962de5 Accepting request 901357 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/901357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=4
2021-06-23 15:38:10 +00:00
cc597acad7 Accepting request 901300 from home:polslinux:branches:devel:languages:python
- Update to 0.9.6
  * Bump development status classifier to 5 - Production/Stable
  * Bump the tested Python versions to 2.7, 3.8 and 3.9
  * GitHub issue #46 Fix incorrect serialization of custom subtypes
  * Make it possible to run the tests if hypothesis isn't installed.
  * Miscellaneous non-source cleanups in the repo

OBS-URL: https://build.opensuse.org/request/show/901300
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=7
2021-06-22 15:20:34 +00:00
cc151247d8 Accepting request 808779 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/808779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=3
2020-05-26 15:48:56 +00:00
Tomáš Chvátal
c3a7c63f84 Accepting request 808767 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/808767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=5
2020-05-25 13:31:35 +00:00
ed9f34449c Accepting request 794585 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/794585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=2
2020-04-16 21:05:38 +00:00
Tomáš Chvátal
a7fc267773 Accepting request 794581 from home:pgajdos:python
- version update to 0.9.4
  * v0.9.4 (2020-03-26)
    * [GitHub pull #38](https://github.com/dpranke/pyjson5/pull/38)
      Fix from fredrik@fornwall.net for dumps() crashing when passed
      an empty string as a key in an object.
  * v0.9.3 (2020-03-17)
    * [GitHub pull #35](https://github.com/dpranke/pyjson5/pull/35)
      Fix from pastelmind@ for dump() not passing the right args to dumps().
    * Fix from p.skouzos@novafutur.com to remove the tests directory from
      the setup call, making the package a bit smaller.
  * v0.9.2 (2020-03-02)
    * [GitHub pull #34](https://github.com/dpranke/pyjson5/pull/34)
      Fix from roosephu@ for a badly formatted nested list.
  * v0.9.1 (2020-02-09)
    * [GitHub issue #33](https://github.com/dpranke/pyjson5/issues/33):
       Fix stray trailing comma when dumping an object with an invalid key.
  * v0.9.0 (2020-01-30)
    * [GitHub issue #29](https://github.com/dpranke/pyjson5/issues/29):
       Fix an issue where objects keys that started with a reserved
       word were incorrectly quoted.
    * [GitHub issue #30](https://github.com/dpranke/pyjson5/issues/30):
       Fix an issue where dumps() incorrectly thought a data structure
       was cyclic in some cases.
    * [GitHub issue #32](https://github.com/dpranke/pyjson5/issues/32):
       Allow for non-string keys in dicts passed to ``dump()``/``dumps()``.
       Add an ``allow_duplicate_keys=False`` to prevent possible
       ill-formed JSON that might result.

OBS-URL: https://build.opensuse.org/request/show/794581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=3
2020-04-16 12:10:46 +00:00
731e7ee559 Accepting request 719461 from devel:languages:python
A Python implementation of the JSON5 data format

Required by the latest version of jupyter-jupyterlab-server

OBS-URL: https://build.opensuse.org/request/show/719461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=1
2019-07-29 15:31:08 +00:00
Todd R
23b8f950f8 Accepting request 719460 from home:TheBlackCat:branches:devel:languages:python:jupyter
A Python implementation of the JSON5 data format

Required by the latest version of jupyter-jupyterlab-server

OBS-URL: https://build.opensuse.org/request/show/719460
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=1
2019-07-29 03:08:04 +00:00