SHA256
1
0
forked from pool/python-json5

15 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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