14
0

23 Commits

Author SHA256 Message Date
1c74efaf20 - Drop unneeded Requires on six.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=43
2025-01-20 05:06:43 +00:00
4ab4741efc Accepting request 1092085 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092085
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=41
2023-06-11 09:00:21 +00:00
770a37297e - update to 2.0.0:
* Add a generic `register_preserialisation_callback` mechanism,
    which allows users to teach canonicaljson how to JSON-encode custom
    types.
  * Remove support for serialising `frozendict` instances. Use
    the new `register_preserialisation_callback` mechanism to replace
    this functionality if needed.
  * Remove support for `simplejson` and the
    `set_json_library`alternative json libraries.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=39
2023-05-29 16:34:58 +00:00
688b49efdc Accepting request 1068329 from home:darix:apps
- Update to 1.6.5
  - Use a property to define JsonLibrary by @DMRobertson in #57

OBS-URL: https://build.opensuse.org/request/show/1068329
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=34
2023-03-01 07:36:05 +00:00
295e81883b - Don't switch off tests completely just skip the failing ones.
- And frozendict works on 3.11 (just slower).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=32
2023-02-21 13:32:36 +00:00
e08b5cbc71 Accepting request 1066830 from home:darix:apps
- disable python 3.11 until frozendict supports it

OBS-URL: https://build.opensuse.org/request/show/1066830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=31
2023-02-21 11:39:46 +00:00
ae3d8b9c43 Accepting request 1037301 from home:darix:apps
- Update to 1.6.4
  - Remove unused setuptools_scm build requirement.
  - Properly package the canonicaljson module (#52)
- switch to pyproject build

- Update to 1.6.2
- Update to 1.6.0

OBS-URL: https://build.opensuse.org/request/show/1037301
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=29
2022-11-22 19:28:29 +00:00
08238dabfb Accepting request 981294 from home:darix:apps
- add BR/Requires for typing_extension. new in 1.6.2

OBS-URL: https://build.opensuse.org/request/show/981294
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=27
2022-06-08 14:31:22 +00:00
a93d2b4fda Accepting request 981279 from home:darix:apps
- Update to 1.6.2 
  - Add type annotations (#49).
  - 1.6.2 is a rerelease of 1.6.1 with the version numbers fixed in
    the tarball.

OBS-URL: https://build.opensuse.org/request/show/981279
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=25
2022-06-08 10:15:03 +00:00
70447cca01 Accepting request 981191 from home:darix:apps
- Update to 1.6.0 
  - Make frozendict import conditional. by @BURG3R5 in #46

1.6.1 is blocked by https://github.com/matrix-org/python-canonicaljson/issues/51

OBS-URL: https://build.opensuse.org/request/show/981191
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=24
2022-06-07 20:52:47 +00:00
65b546e647 - Bump required version of frozendict to work with Python 3.10
(gh#matrix-org/python-canonicaljson#45).
- Clean up SPEC.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=22
2022-05-11 10:04:20 +00:00
8fa7a6bb6b Accepting request 944835 from home:darix:apps
- Update to 1.5.0
  - Add code to handle frozendict implementations using c-extension
  - Add tests for Python 3.10

OBS-URL: https://build.opensuse.org/request/show/944835
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=21
2022-01-08 10:47:36 +00:00
5195318fc3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=19 2021-04-29 18:34:50 +00:00
4f96f0dfec OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=17 2021-04-21 07:00:56 +00:00
e19a3647fd exclude tests on older SLE+Leap due to
# ImportError: cannot import name inf

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=16
2021-04-21 06:51:05 +00:00
Tomáš Chvátal
6663721341 Accepting request 833101 from home:darix:apps
- Update to 1.4.0: 
  - Fix producing non-standard JSON for Infinity, -Infinity, and
    NaN. This could cause errors when encoding objects into
    canonical JSON that previously used to work, but were
    incompatible with JSON implementations in other languages.
  - Use UTF-8 to fix ASCII encoding errors when data containing
    Unicode was attempted to be pretty-printed.
- Update to 1.3.0:
  - The minimum version of simplejson was bumped to 3.14.0.
  - Obsolete workaround for slow encoding of Unicode characters was
    removed.
  - New APIs were added to iteratively encode JSON.

OBS-URL: https://build.opensuse.org/request/show/833101
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=14
2020-09-09 06:15:45 +00:00
ecaa87c2f8 Accepting request 826553 from home:darix:apps
- Update to 1.2.0:
  - JSON from the standard library is used automatically on PyPy.
  - Support for Python versions which are end-of-lifed was dropped,
    Python >= 3.5 is supported and tested in continuous
    integration.
  - An API to configure the underlying JSON library was added
    (set_json_library).

OBS-URL: https://build.opensuse.org/request/show/826553
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=12
2020-08-14 06:14:37 +00:00
Tomáš Chvátal
650eab8924 - Update to 1.1.4:
* Fix error when encoding non-BMP characters on UCS-2 python builds (fixes issue #12).
- Use same syntax for test multibuild like in other pkgs

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=10
2019-02-28 09:37:39 +00:00
7bee7d375c Accepting request 600156 from home:jengelh:branches:devel:languages:python
- Update descriptions.

OBS-URL: https://build.opensuse.org/request/show/600156
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=8
2018-04-24 19:50:39 +00:00
34098cfaa5 Accepting request 599792 from home:okurz:branches:devel:languages:python
Add missing runtime require; Add package self-test to prevent this in the future :)

OBS-URL: https://build.opensuse.org/request/show/599792
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=6
2018-04-22 20:22:30 +00:00
eef83b39bc Accepting request 599475 from home:okurz:branches:devel:languages:python
Update to 1.1.3

OBS-URL: https://build.opensuse.org/request/show/599475
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=4
2018-04-20 18:11:03 +00:00
3f30ea4ada Add LICENSE and README.rst
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=2
2017-07-13 19:33:15 +00:00
Jan Matejek
698990929c Accepting request 504471 from home:okurz:matrix-synapse
Initial submission, requirement for matrix-synapse, see home:okurz:matrix-synapse

OBS-URL: https://build.opensuse.org/request/show/504471
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-canonicaljson?expand=0&rev=1
2017-06-19 11:53:22 +00:00