33 Commits

Author SHA256 Message Date
5c8b1cdbaf Accepting request 1307693 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1307693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-json5?expand=0&rev=15
2025-09-29 14:37:09 +00:00
ced4d5947d Accepting request 1307662 from home:glaubitz:branches:devel:languages:python
- Update to 0.12.1
  * Fix #94, where objects returned from a custom encoder were
    not being indented properly.

OBS-URL: https://build.opensuse.org/request/show/1307662
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-json5?expand=0&rev=31
2025-09-29 08:59:13 +00:00
158633de62 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
50b372d41d Accepting request 1283956 from home:crameleon:branches:devel:languages:python
update to 0.12.0

OBS-URL: https://build.opensuse.org/request/show/1283956
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
f56bcc70eb 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
115f651b01 - 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
20d9f7290d 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
55f63b6605 - 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
b6f79c9478 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
88cba38aab - 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
d6e6d1295b 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
af1c02b259 - 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
1ce0159845 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
2f88f281f6 - 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
78dccf4094 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
6bf043ee32 - 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
710d38c993 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
23a00e07f0 - 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
6eefd4d838 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
f2e3bcaab8 - 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
689945cb0c 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
9b275c676e 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
fe208c5d8c 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
99ee8b2305 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
8e7de2a1b4 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
ecb8cf8523 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
1b665c23bf 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
f3c3889222 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
35089fb15a 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
a02bdce395 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
f4bd4cae9d 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
c203080279 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
dc0c15fec7 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